Package Exports
- @mcpm/cli
- @mcpm/cli/lib/cli.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mcpm/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
MCPM CLI
A command-line tool for managing MCP servers in Claude App.
Highlights
- 🚀 Easy Server Management: Add, remove, and manage multiple MCP servers in Claude App with simple commands
- 🔄 Server Status Control: Enable/disable servers and view their status at any time
- 🛠️ Interactive CLI: User-friendly command-line interface with interactive prompts for easy configuration
- 🔌 Self-Integration: Can add MCPM CLI itself as a MCP server with a single command
- 📝 JSON Configuration: Manages servers through Claude's configuration file with proper error handling
TODO
- Add Remote MCP Discovery (A MCPHub for search and recommendation)
- Auto Install MCP Servers For you
- A GUI for MCPM CLI
Installation
npm install -g @mcpm/cli
Usage
> mcpm help
Usage: mcpm [options] [command]
Options:
-V, --version output the version number
-d, --debug enables verbose logging (default: false)
-h, --help display help for command
Commands:
add [options] [name] Add a new MCP server to your Claude App
remove [name] Remove a MCP server from your Claude App
disable [name] Disable an MCP server (moves it from Claude to storage)
enable [name] Enable a disabled MCP server (moves it from storage to Claude)
list [options] List all your MCP servers
mcp Start the MCPM MCP server
restart Restart Claude.app
help [command] display help for command
Disable an MCP server
Moves a server from Claude App to storage, making it temporarily unavailable.
mcpm disable # Interactive mode
mcpm disable <name> # Specify server name
Enable an MCP server
Moves a previously disabled server from storage back to Claude App.
mcpm enable # Interactive mode
mcpm enable <name> # Specify server name
List MCP servers
mcpm list # Shows all configured MCP servers
Configuration
- Active servers are stored in Claude App's configuration
- Disabled servers are stored in
~/.mcpm/*
Development
Publish A new version
GitHub Actions will automatically publish a new version when a new tag is created
git tag v1.4.1
git push origin v1.4.1