The Smithery CLI manages Model Context Protocol (MCP) servers by installing, uninstalling, inspecting, and running them, offering client-agnostic server management with configuration options and debugging tools. The Smithery CLI manages
The Smithery CLI is a registry installer and manager for Model Context Protocol (MCP) servers, designed to be client-agnostic. It requires NodeJS version 18 or above.
The CLI is invoked using npx @smithery/cli <command>
.
Key commands include: install
(installs a package with optional --client
and --config
flags), uninstall
(removes a package, specifying the --client
), inspect
(interactively inspects a server), run
(runs a server with optional --config
), and list clients
(lists available AI clients). The --help
flag displays the help message, and --verbose
provides detailed logs.
Examples include installing a server with or without pre-configured data, removing a server, listing clients, inspecting a server, running a server with configuration, showing the help menu, and installing with verbose logging.
Remember to restart your AI client after installing or uninstalling servers. Use the inspect
command for interactive server testing. Run without arguments to see the help menu. Use --verbose
flag for detailed logs when troubleshooting.
smithery-ai/cli
December 22, 2024
March 28, 2025
TypeScript