cli
Install, manage and develop MCP servers TypeScript-based implementation.
Documentation
Smithery CLI  
Smithery CLI connects your agents to thousands of skills and MCP servers directly from the command line. To get started, simply run `npx skills add smithery/cli`.
Installation
npm install -g smithery@latestRequires Node.js 20+.
Commands
MCP Servers
smithery mcp search [term] # Search the Smithery registry
smithery mcp add # Add an MCP server connection
smithery mcp list # List your connections
smithery mcp remove # Remove connectionsTools
Interact with tools from MCP servers connected via `smithery mcp`.
smithery tool list [connection] # List tools from your connected MCP servers
smithery tool find [query] # Search tools by name or intent
smithery tool get # Show full details for one tool
smithery tool call [args] # Call a toolSkills
Browse skills on the Smithery Skills Registry and
install them with the upstream installer:
npx skills add # e.g. npx skills add smithery-ai/cliAuth
smithery auth login # Login with Smithery (OAuth)
smithery auth logout # Log out
smithery auth whoami # Check current user
smithery auth token # Mint a service token
smithery auth token --policy '' # Mint a restricted tokenNamespaces
smithery namespace list # List your namespaces
smithery namespace use # Set current namespacePublishing
smithery mcp publish -n # Publish an MCP server URL
smithery mcp publish -n # Publish an MCP bundleExamples
# Search and connect to an MCP server
smithery mcp search "github"
smithery mcp add github --id github
# Find and call tools from your connected MCP servers
smithery tool find "create issue"
smithery tool call github create_issue '{"title":"Bug fix","body":"..."}'
# Browse and install skills
smithery skill search "frontend" --json --page 2
smithery skill add anthropics/frontend-design --agent claude-code
# Publish your MCP server URL
smithery mcp publish https://my-mcp-server.com -n myorg/my-server
# Publish a built MCP bundle
smithery mcp publish ./server.mcpb -n myorg/my-serverDevelopment
git clone https://github.com/smithery-ai/cli
cd cli && pnpm install && pnpm run build
npx . --helpContributing
Contributions welcome! Please submit a Pull Request.
Frequently asked questions
What is cli?
cli is Install, manage and develop MCP servers TypeScript-based implementation.
How do I install cli?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is cli open source?
Yes — it is hosted on GitHub at https://github.com/smithery-ai/cli/ and has 428 stars.
Related MCP tools
A tool that converts OpenAPI specifications to MCP server TypeScript-based implementation.
MCP Server for YouTube API, enabling video management, Shorts creation, and advanced analytics TypeScript-based implementation.
The official TypeScript SDK for Model Context Protocol servers and clients Trusted by 10500+ developers. Trusted by 10500+ developers.
Visual testing tool for MCP servers TypeScript-based implementation. Trusted by 7300+ developers. Trusted by 7300+ developers.
It's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic TypeScript-based implementation.
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices) TypeScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP