The Smithery registry installer and manager for Model Context Protocol (MCP) servers, designed to be client-agnostic.
npx @smithery/cli <command>installed- List installed servers (interactive browser)install <server>- Install a server--client <name>- Specify LLM client (e.g. claude)
uninstall <server>- Remove an installed serverview <server>- Show server detailsinspect- Interactive server inspection tool
# Browse installed servers
npx @smithery/cli installed
# Install a server (defaults to --client claude)
npx @smithery/cli install mcp-obsidian
# Install for specific client
npx @smithery/cli install mcp-obsidian --client claude
# View server details
npx @smithery/cli view mcp-obsidian
# Remove a server
npx @smithery/cli uninstall mcp-obsidian
# Inspect installed servers
npx @smithery/cli inspect- Remember to restart Claude after uninstalling server
- Use the
inspectcommand for interactive server testing - Run without arguments to see the help menu
This guide will help you get started with developing for @smithery/cli.
-
Clone the repository:
git clone https://github.com/smithery-ai/cli cd cli -
Install dependencies:
npm install
-
Build the project:
npm run build
# List all servers
npx . list
# Get details about a specific server
npx . get <server-id>
# Install a server
npx . install <server-name>Contributions are welcome! Please feel free to submit a Pull Request.