Script to easily switch between Claude MCP server configurations on macOS.
Overview
What is Claude MCP Config Switcher?
Claude MCP Config Switcher is a command-line tool designed for macOS that allows users to easily switch between different server configurations for the Claude desktop application.
How to use Claude MCP Config Switcher?
To use the tool, install it via a simple command in the terminal, create configuration JSON files in the specified directory, and use the claude-mcp-switch command to switch between configurations.
Key features of Claude MCP Config Switcher?
- Quick switching between multiple
mcpServersconfigurations. - Automatic restart of the Claude application after switching configurations.
- Backup of the previous configuration for easy rollback.
Use cases of Claude MCP Config Switcher?
- Switching between development and production server configurations.
- Managing different profiles for work and personal use.
- Quickly testing changes in server configurations without manual edits.
FAQ from Claude MCP Config Switcher?
- Is this tool compatible with Windows or Linux?
No, it is specifically designed for macOS.
- How do I create a new configuration?
Create a JSON file in the
~/.config/claude/directory with the requiredmcpServerskey.
- Can I revert to a previous configuration?
Yes, use the command
claude-mcp-switch lastto revert to the last active configuration.