# Smithery CLI — MCP Server Registry & Installer > Search, install, and manage MCP servers from Smithery's registry of 6,000+ servers. One command to connect any MCP server to Claude, Cursor, or other AI tools. AGPL-3.0. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use ```bash npm install -g @smithery/cli@latest ``` Search and install MCP servers: ```bash smithery mcp search "database" # Search the registry smithery mcp add # Install a server smithery mcp list # List installed servers ``` Install a specific server for Claude: ```bash npx @smithery/cli install mcp-obsidian --client claude ``` --- ## Intro Smithery CLI is the package manager for MCP servers, connecting AI agents to 6,000+ tools and integrations from Smithery's registry. With 630+ GitHub stars and AGPL-3.0 license, it lets you search, install, manage, and publish MCP servers from the command line — think "npm for MCP." One command connects any MCP server to Claude Code, Cursor, or other AI tools. No manual JSON config editing required. Best for: developers who want to discover and install MCP servers without editing `.mcp.json` manually. Works with: Claude Code, Cursor, and other MCP-compatible tools. Setup time: under 1 minute. --- ## Smithery CLI — Command Reference ### Core Commands | Command | Purpose | |---------|---------| | `smithery mcp search ` | Search 6,000+ servers in the registry | | `smithery mcp add ` | Add/install an MCP server connection | | `smithery mcp list` | View all installed server connections | | `smithery mcp remove ` | Remove a server connection | | `smithery skills browse` | Browse available agent skills | | `smithery skills add ` | Install an agent skill | | `smithery publish ` | Publish your own MCP server | ### Quick Install Examples ```bash # Install specific servers npx @smithery/cli install mcp-obsidian --client claude npx @smithery/cli install @anthropic/mcp-github --client cursor npx @smithery/cli install mcp-postgres --client claude # Search by category smithery mcp search "browser automation" smithery mcp search "vector database" smithery mcp search "email" ``` ### How It Works 1. **Registry** — Smithery maintains a curated registry of 6,000+ MCP servers 2. **Search** — Find servers by name, description, or category 3. **Install** — One command adds the server to your AI tool's MCP config 4. **Manage** — List, update, and remove installed connections 5. **Publish** — Share your own MCP servers with the community ### Requirements - Node.js 20+ - An MCP-compatible AI tool (Claude Code, Cursor, etc.) ### FAQ **Q: What is Smithery CLI?** A: A command-line tool for discovering, installing, and managing MCP servers from a registry of 6,000+ servers. Like npm for MCP. **Q: Is it free?** A: Yes, AGPL-3.0 open source. The registry is free to search and install from. **Q: How is this different from editing .mcp.json manually?** A: Smithery handles the config editing for you — search, find, install in one command. No JSON editing. --- ## Source & Thanks > Created by [Smithery AI](https://github.com/smithery-ai). Licensed under AGPL-3.0. > > [smithery-cli](https://github.com/smithery-ai/cli) — ⭐ 630+ --- ## Quick Use ```bash npm install -g @smithery/cli@latest smithery mcp search "database" smithery mcp add ``` --- ## Intro Smithery CLI is a package manager for MCP servers. Search, install, and manage servers from a registry of 6,000+. One command connects any MCP server to Claude Code or Cursor. --- ## Source & Thanks > Created by [Smithery AI](https://github.com/smithery-ai). Licensed under AGPL-3.0. > > [smithery-cli](https://github.com/smithery-ai/cli) — ⭐ 630+ --- Source: https://tokrepo.com/en/workflows/smithery-cli-mcp-server-registry-installer-b92722d6 Author: MCP Hub