Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JackyWindows/cli

Open more actions menu
 
 

Repository files navigation

Smithery CLI NPM Version

The Smithery registry installer and manager for Model Context Protocol (MCP) servers, designed to be client-agnostic.

Usage

npx @smithery/cli <command>

Available Commands

  • installed - List installed servers (interactive browser)
  • install <server> - Install a server
    • --client <name> - Specify LLM client (e.g. claude)
  • uninstall <server> - Remove an installed server
  • view <server> - Show server details
  • inspect - Interactive server inspection tool

Examples

# Browse installed servers
npx @smithery/cli installed

# Install a server (defaults to --client claude)
npx @smithery/cli install mcp-obsidian

# Install for specific client
npx @smithery/cli install mcp-obsidian --client claude

# View server details
npx @smithery/cli view mcp-obsidian

# Remove a server
npx @smithery/cli uninstall mcp-obsidian

# Inspect installed servers
npx @smithery/cli inspect

Important Notes

  • Remember to restart Claude after uninstalling server
  • Use the inspect command for interactive server testing
  • Run without arguments to see the help menu

Development

This guide will help you get started with developing for @smithery/cli.

Getting Started

  1. Clone the repository:

    git clone https://github.com/smithery-ai/cli
    cd cli
  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build

Development Commands

# List all servers
npx . list

# Get details about a specific server
npx . get <server-id>

# Install a server
npx . install <server-name>

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

Smithery CLI MCP server installer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.9%
  • JavaScript 5.2%
  • Shell 0.9%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.