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

250
22

Smithery CLI

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.

Usage

The CLI is invoked using npx @smithery/cli <command>.

Available Commands

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

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.

Important Notes

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.

Repository

SM
smithery-ai

smithery-ai/cli

Created

December 22, 2024

Updated

March 28, 2025

Language

TypeScript

Category

Developer Tools