Claude MCP Config Switcher
@BLTGV
About Claude MCP Config Switcher
Script to easily switch between Claude MCP server configurations on macOS.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Claude MCP Config Switcher?
A command-line tool for macOS that quickly switches between different mcpServers configurations for the Claude desktop application. It lets you define multiple named profiles (e.g., “default”, “staging”, “dev”) and swap the active MCP server block in Claude’s config file without manual editing, then automatically restarts Claude to apply the changes.
How to use Claude MCP Config Switcher?
Install via the quick install command (curl -fsSL … | sh -s -- --install) or manually by running the setup.sh --install script. After installation, create .json profile files in ~/.config/claude/ containing an mcpServers key. Use the command claude-mcp-switch <profile> (or claude-mcp-switch to default to “default”) to switch, claude-mcp-switch -l to list available profiles, and claude-mcp-switch last to revert to the previous configuration.
Key features of Claude MCP Config Switcher
- macOS command-line tool for switching Claude MCP configurations.
- Creates named configuration profiles from JSON files.
- Automatically restarts Claude to apply changes.
- Preserves non-
mcpServerskeys in Claude config. - Backs up previous configuration for easy rollback.
- Lists available and currently loaded profiles.
Use cases of Claude MCP Config Switcher
- Quickly switch between work and personal MCP server setups.
- Toggle development, staging, and production MCP endpoints without manual editing.
- Roll back to a previous configuration after testing new settings.
FAQ from Claude MCP Config Switcher
Does it work on Windows or Linux?
No. The script relies on macOS-specific paths (~/Library/Application Support/Claude/) and commands (killall, open), so it will not work on Windows or Linux.
What dependencies are required?
The jq utility must be installed. It can be installed via brew install jq.
Where are configuration profiles stored?
Profiles are stored as .json files in the ~/.config/claude/ directory. Each file must contain an mcpServers key.
What does the script modify in Claude’s config file?
The script only reads and writes the mcpServers key. Other keys in the target Claude config file are preserved, and other keys in source profile files are ignored.
How do I revert to the previous configuration?
Use the command claude-mcp-switch last. The script saves a backup of the previous mcpServers block into ~/.config/claude/last.json.
More AI & Agents MCP servers
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
Comments