Smithery CLI logo

Smithery CLI

by smithery-ai

The Smithery CLI is a registry installer and manager for Model Context Protocol (MCP) servers. It's designed to be client-agnostic, allowing you to easily manage servers for various AI clients.

View on GitHub

Last updated: N/A

What is Smithery CLI?

The Smithery CLI is a command-line interface for installing, uninstalling, inspecting, and running Model Context Protocol (MCP) servers. It simplifies the management of servers for different AI clients by providing a unified interface.

How to use Smithery CLI?

Use the npx @smithery/cli <command> command to interact with the CLI. Available commands include install, uninstall, inspect, run, list clients, and list servers. Refer to the README for specific command options and examples.

Key features of Smithery CLI

  • Install and uninstall MCP servers

  • Client-agnostic design

  • Interactive server inspection

  • Server configuration via JSON

  • List available clients and installed servers

Use cases of Smithery CLI

  • Managing servers for AI clients like Claude

  • Installing servers with pre-configured data

  • Troubleshooting server issues with verbose logging

  • Automating server management tasks

  • Testing servers interactively

FAQ from Smithery CLI

How do I install a server?

Use the command npx @smithery/cli install <package> --client <name>.

How do I uninstall a server?

Use the command npx @smithery/cli uninstall <package> --client <name>.

How do I inspect a server?

Use the command npx @smithery/cli inspect <server-id>.

How do I run a server?

Use the command npx @smithery/cli run <server-id> --config <json>.

Why do I need to restart my AI client after installing/uninstalling a server?

Restarting your AI client ensures that the changes made by the Smithery CLI are properly loaded and recognized by the client.