Manage Claude MCP server profiles and configurations efficiently on macOS with CLI tool
Claude MCP Manager is a command-line tool specifically designed for macOS to define, manage, and switch between different sets of mcpServers
configurations (profiles) for the Claude Desktop application. This tool enables users to easily switch between predefined server setups without manually editing configuration files or restarting applications. By storing profiles in a structured directory and leveraging environment variables for sensitive data, it provides a secure and efficient way to manage AI application connections.
Claude MCP Manager offers several core features that significantly enhance the management of mcpServers
configurations:
Profile Management: Users can create, edit, and switch between named profiles containing lists of server definitions. Profiles are stored in a JSON format, ensuring easy sharing and version control.
Server Definition Management: Servers can be defined as individual .json
files within the servers/
directory. Each file contains details about specific MCP servers, such as their command
, args
, and environment variables like API keys.
Secrets Handling via Environment Variables: Sensitive information is stored in a .env
file under the project's configuration directory. Server definition files can reference these secrets using placeholders like {{ENV:YOUR_API_KEY}}
.
Backup Mechanism: Before applying a new profile, the current mcpServers
block is backed up to a last.json
file within the configuration directory. This allows for easy restoration of previous configurations.
Internally, Claude MCP Manager adheres to the Model Context Protocol (MCP), which provides a standardized way for AI applications like Claude Desktop, Continue, and Cursor to connect to specific data sources and tools. The protocol enables seamless integration between various AI clients and servers through message-passing mechanisms.
The implementation of the MCP architecture within Claude includes:
npx
with specified arguments, allowing dynamic execution on demand.To get started with Claude MCP Manager, follow these installation steps:
Manual Installation:
chmod +x install.sh
./install.sh
Automatic Installation (Recommended):
curl -fsSL https://raw.githubusercontent.com/BLTGV/claude-mcp-manager/main/install.sh | sh
Claude MCP Manager is particularly useful in scenarios where multiple AI applications need to share or rapidly switch between servers. For example:
Claude Desktop is fully compatible with the MCP protocol, supporting seamless integration through predefined profile setups. Other clients like Continue and Cursor also benefit from Claude MCP Manager by allowing users to easily manage their server connections:
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
Claude MCP Manager ensures compatibility and performance across a wide range of AI clients. Below is an overview of its current state:
MCP Protocol Flow Diagram:
graph TB
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
MCP Configuration Sample:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
For advanced users, Claude MCP Manager provides robust security and configuration options:
.env
file to ensure it is not exposed within server definitions.A1: Use the claude-mcp-manager switch-profile
command followed by your profile name. This action will update the current MCP server configuration accordingly.
A2: Yes, you can use Git or any other version control system to track changes in your profiles and server configurations easily.
A3: You can script automation tasks by saving common profile setups into templates and then calling them as needed through the CLI interface.
A4: The tool includes fault-tolerance mechanisms such as retries and logging. Detailed logs are written to the configuration directory, which helps in diagnosing issues.
A5: Currently, Cursor does not support MCP prompts directly; only resources and tools can be managed via MCP. For full integration, consider using Claude Desktop or Continue instead.
If you are interested in contributing to the development of Claude MCP Manager:
Explore the broader MCP ecosystem to discover more tools, resources, and integrations:
By utilizing Claude MCP Manager, AI application developers can significantly simplify the management of complex server configurations while ensuring secure and efficient connections.
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication
Python MCP client for testing servers avoid message limits and customize with API key
Learn how to use MCProto Ruby gem to create and chain MCP servers for custom solutions
Analyze search intent with MCP API for SEO insights and keyword categorization
Discover easy deployment and management of MCP servers with Glutamate platform for Windows Linux Mac