An NPX command to install and list Model Context Protocols from Smithery
npm install @smithery/cliCLI for discovering, installing, and using MCP servers and skills via Smithery. Connect your agents to thousands of skills and MCP servers from the Smithery registry.
``bash`
npm install -g @smithery/cli@latest
Requires Node.js 20+.
`bash`
smithery install
smithery uninstall
smithery list # List installed servers
smithery search [term] # Search the Smithery registry
smithery inspect
smithery run
Options: --client to skip client selection, --config to provide configuration.
Browse and install skills from the Smithery Skills Registry.
`bash
smithery skills search [query] # Search skills
smithery skills install
smithery skills upvote
smithery skills downvote
$3
Discover public namespaces on Smithery.
`bash
smithery namespace search [query] # Search public namespaces (requires login)
`Options:
--limit , --has-skills, --has-servers.$3
Manage cloud-hosted MCP servers via Smithery Connect.
`bash
Namespace context (auto-created on first use)
smithery namespace list # List your namespaces
smithery namespace use # Set current namespace
smithery namespace show # Show current namespaceServer connections
smithery connect add # Add MCP server (--name for display name)
smithery connect list # List connected servers
smithery connect remove # Remove a connectionTools
smithery connect tools [server] # List tools (all or for specific server)
smithery connect search # Fuzzy search tools by intent
smithery connect call [args] # Call a tool (format: server/tool-name)
`$3
`bash
smithery login # Login with Smithery (OAuth)
smithery dev [entry] # Dev server with hot-reload and tunnel
smithery build [entry] # Build for production
smithery playground # Open interactive testing UI
`Examples
`bash
Install a server locally
smithery install exa --client cursorBrowse and install skills
smithery skills search "frontend" --json --page 2 # Paginated results
smithery skills search --namespace anthropics --json # Filter by namespace
smithery skills install anthropics/frontend-design --agent claude-codeReview and vote on skills
smithery skills review list anthropics/frontend-design
smithery skills review add anthropics/frontend-design --up -b "Great for Tailwind components, follows accessibility best practices"
smithery skills review upvote anthropics/frontend-design 550e8400-e29b-41d4-a716-446655440000
smithery skills upvote anthropics/frontend-designDiscover namespaces
smithery namespace search --has-skills # Find namespaces with skillsCloud MCP workflow (works with any MCP server URL)
smithery connect add https://server.smithery.ai/github # Or any MCP server
smithery connect search "create issue"
smithery connect call github/create_issue '{"title":"Bug fix","body":"..."}'Development
smithery dev server.ts --port 3000
smithery build --out dist/server.cjs
`Development
`bash
git clone https://github.com/smithery-ai/cli
cd cli && pnpm install && pnpm run build
npx . --help
``Contributions welcome! Please submit a Pull Request.