mcp -manager
CLI tool to manage MCP servers in Claude Code
claude mcp add --transport stdio kalinyorgov-mcp-server-manager mcp-manager \ --env CLAUDE_MCP_LOG_LEVEL="Optional: log level (debug, info, warning, error)" \ --env CLAUDE_MCP_BACKUP_DIR="Optional: path to store backups, defaults to user's claude config directory"
How to use
MCP Server Manager is a CLI tool designed to help you manage MCP servers across Claude Desktop and Claude Code. It detects where your MCP server configurations live (desktop, user/global, project, and local scopes) and lets you enable, disable, and toggle individual servers while preserving their configurations. You can view detailed information about each server, including which configuration source it comes from, and you can use the interactive mode to select multiple servers to toggle in one shot. The detector tool helps you understand where servers are defined across different files, so you can resolve conflicts between sources and ensure the desired server is active in your project context.
Once installed, you can list all detected MCP servers with mcp list, drill down into details with mcp list -d, or enter interactive mode via mcp interactive to toggle servers with simple keyboard input. You can filter by application (desktop or code) to focus on a subset of servers, and you can manage project-specific servers by adding or modifying settings within the project configuration files. Changes are backed up automatically before application, so you can revert if something isn’t right.
How to install
Prerequisites:
- Python 3.8+ (the project is Python-based)
- Git
- Access to install or copy the mcp-manager script to your PATH
Installation steps (globally, recommended):
- Clone the repository:
git clone https://github.com/yourusername/mcp-server-manager.git
cd mcp-server-manager
- Install or copy the CLI to a PATH location:
# Automatic installation (if an install.sh is provided)
chmod +x install.sh
./install.sh
# OR manual installation (example):
sudo cp mcp_manager.py /usr/local/bin/mcp-manager
sudo chmod +x /usr/local/bin/mcp-manager
- Verify installation:
mcp-manager --version
- Ensure dependencies are installed (if required by the project):
python3 -m pip install --upgrade pip
# Install any Python dependencies listed in requirements.txt if present
pip install -r requirements.txt
- Start using the tool (examples):
# List all MCP servers in the current context
mcp list
# Enter interactive mode for guided management
mcp interactive
Additional notes
Tips and common considerations:
- The tool preserves server configurations when disabling, storing them in a dedicated section so you can re-enable later without losing setup details.
- Backup files are created automatically before changes; you can locate them in your claude config directory or a path specified via CLAUDE_MCP_BACKUP_DIR.
- If you run into issues where no MCP servers are found, ensure Claude Desktop or Claude Code is installed and check the output of mcp list -d to see which configuration files are being scanned.
- You can manage servers across multiple scopes (Desktop, User/Global, Project, Local). Higher-priority configurations override lower ones.
- For advanced use, you can manually edit the configuration files as long as you keep JSON valid; use mcp list to verify changes afterward.
Related MCP Servers
claude-config-editor
Claude Config Editor is a lightweight web tool that helps you clean and optimize your Claude Code/Desktop config files (.claude.json). Analyze project sizes, bulk delete chat histories, export data for backup, manage servers visually, and speed up Claude—all locally, with auto-backup, no dependencies, and cross-platform support.
claude_autoapprove_mcp
An MCP server to inject auto-approve MCP functionality into Claude Desktop
fegis
Define AI tools in YAML with natural language schemas. All tool usage is automatically stored in Qdrant vector database, enabling semantic search, filtering, and memory retrieval across sessions.
claude-code-vm
Deploy Claude Code and additional tools to a VM for remote development
openapi -proxy
An MCP server that provides tools for exploring large OpenAPI schemas
pagespeed-insights
MCP server for Google PageSpeed Insights API that enables web page performance analysis directly through Claude.