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.
Staging sûr pour cet actif
Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.
npx -y tokrepo@latest install b92722d6-71c5-429f-9a32-2e81cfda8021 --target codexStage les fichiers d'abord; l'activation exige la revue du README et du plan staged.
What it is
Smithery CLI is a command-line tool for searching, installing, and managing MCP (Model Context Protocol) servers from Smithery's registry. The registry contains thousands of community-contributed MCP servers covering databases, APIs, developer tools, and cloud services.
The tool targets developers who use MCP-compatible AI clients (Claude Code, Claude Desktop, Cursor) and want to quickly add new tool integrations without manual configuration.
How it saves time or tokens
Manually configuring MCP servers requires finding the right package, setting up environment variables, and editing JSON config files. Smithery CLI automates the entire process: one command searches the registry, installs the server, and configures your MCP client.
How to use
- Install Smithery CLI:
npx @smithery/cli(no global install needed). - Search for servers:
npx @smithery/cli search postgres. - Install a server:
npx @smithery/cli install @smithery/postgres-mcp --client claude.
Example
# Search the Smithery registry
npx @smithery/cli search 'github'
# Install a server for Claude Code
npx @smithery/cli install @smithery/github-mcp --client claude
# List installed servers
npx @smithery/cli list
# Remove a server
npx @smithery/cli uninstall @smithery/github-mcp
Related on TokRepo
- MCP GitHub Integration -- GitHub MCP server for AI code assistants
- MCP PostgreSQL Integration -- PostgreSQL MCP server for database access
Common pitfalls
- Some MCP servers require environment variables (API keys, database URLs). Smithery prompts for these during installation, but verify they are set correctly if the server fails to start.
- The registry is community-contributed. Check server quality and maintenance status before relying on it for production workflows.
- MCP client configuration files differ between Claude Code, Claude Desktop, and Cursor. Smithery handles this, but manual edits may override Smithery-managed entries.
Questions fréquentes
Smithery CLI supports Claude Code, Claude Desktop, Cursor, and other MCP-compatible clients. It automatically writes the correct configuration format for each client.
Yes. The CLI and the registry are free to use. Individual MCP servers may have their own requirements (like API keys for third-party services) but Smithery itself does not charge.
Yes. Smithery accepts community contributions. Publish your MCP server as an npm package and submit it to the Smithery registry for others to discover and install.
Manual configuration requires editing JSON config files, finding correct package names, and setting environment variables by hand. Smithery automates all of these steps with a single install command.
Smithery CLI installs specific versions. To update, re-run the install command which pulls the latest version from the registry. There is no automatic background update mechanism.
Sources citées (3)
- Smithery Official Site— MCP server registry with thousands of servers
- Smithery CLI GitHub— CLI for installing and managing MCP servers
- MCP Official Site— Model Context Protocol specification
En lien sur TokRepo
Source et remerciements
Created by Smithery AI. Licensed under AGPL-3.0.
smithery-cli — ⭐ 630+
Fil de discussion
Actifs similaires
Smithery — MCP Server Registry and Installer
Discover, install, and manage MCP servers from a curated registry. Smithery provides one-command setup for 200+ MCP servers with Claude Code and Cursor integration.
mcp2cli — Turn MCP Servers into CLI Tools, Zero Codegen
Convert any MCP server, OpenAPI spec, or GraphQL endpoint into a full CLI at runtime. Saves 96-99% of tokens wasted on tool schemas every turn.
OpenRouter MCP — One Server for 300+ LLMs in Claude Code
OpenRouter MCP exposes all 300+ OpenRouter models to Claude Code, Cursor, Codex CLI as one MCP server. Switch models per task, BYO routing, no extra SDKs.
WhatsApp MCP Server — Chat with WhatsApp via AI Agents
MCP server connecting Claude and AI agents to your personal WhatsApp. Search contacts, read messages, send replies and media via natural language.