Skip to main content

View the Smithery CLI on GitHub

The Smithery CLI connects your agents to thousands of skills and MCP servers directly from the command line.

Installation

Requires Node.js 20+.

Examples

Reference

MCP Servers

Tools

Interact with tools from MCP servers connected via smithery mcp.

Skills

Browse and add skills from the Smithery Skills Registry.

Auth

Namespaces

Global Flags

  • --json - Output as JSON (auto-detected in non-TTY environments)
  • --table - Output as table
  • --verbose - Show detailed logs for debugging
  • --help - Show help message

Examples

Important Notes

  • Use auth login to authenticate with Smithery (required for some operations)
  • Remember to restart your AI client after adding or removing servers
  • Use --verbose flag for detailed logs when troubleshooting
  • Use --json flag for machine-readable output
  • mcp publish accepts either a public MCP URL or a local .mcpb bundle