mcp-mode-switcher
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-mode-switcherSwitch to minimal mode"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Mode Switcher
An MCP server that lets you switch between different MCP configuration profiles directly from inside Claude Desktop.
Why?
Claude Desktop loads MCP servers at startup from claude_desktop_config.json. More MCPs = more tokens used on every message. This tool lets you:
Switch profiles - Toggle between "full", "minimal", "research" modes etc.
Save snapshots - Capture your current setup as a new profile
Auto-backup - Every switch creates a timestamped backup
Unlike CLI tools, this runs as an MCP server - so you can switch modes by just asking Claude: "Switch to minimal mode".
Related MCP server: MCP Tool
Installation
Clone this repo:
git clone https://github.com/YOUR_USERNAME/mcp-mode-switcher.git ~/Projects/mcp-mode-switcher cd ~/Projects/mcp-mode-switcherCreate virtual environment and install dependencies:
python3 -m venv venv source venv/bin/activate pip install mcpCreate the configs directory:
mkdir -p ~/Library/Application\ Support/Claude/configsAdd to your
claude_desktop_config.json:{ "mcpServers": { "mcp-mode-switcher": { "command": "/path/to/mcp-mode-switcher/venv/bin/python", "args": ["/path/to/mcp-mode-switcher/server.py"] } } }Restart Claude Desktop
Tools
Tool | Description |
| Show all available profiles with descriptions and token costs |
| Identify which profile is currently active |
| Switch to a different profile (requires confirmation) |
| Save current config as a new profile |
| View timestamped backup history |
Usage Examples
In Claude Desktop:
"What modes are available?"
"What mode am I in?"
"Switch to minimal mode"
"Save my current setup as 'writing' mode"
"Show me my backups"
File Structure
~/Library/Application Support/Claude/
├── claude_desktop_config.json # Active config (Claude reads this)
├── configs/
│ ├── modes.json # Mode metadata (descriptions, token costs)
│ ├── full.json # Profile: all MCPs
│ ├── minimal.json # Profile: minimal MCPs
│ └── [your-custom-modes].json # Your saved profiles
└── backups/
└── config.YYYY-MM-DD-HHMMSS.json # Auto-backups before each switchCreating Profiles
Option 1: Use the tool
Ask Claude: "Save my current setup as 'research' mode with description 'For deep research work'"
Option 2: Manually
Create a config file in
~/Library/Application Support/Claude/configs/research.jsonAdd metadata to
modes.json:{ "research": { "description": "Research focused - perplexity, zotero, readwise", "token_cost": "~25k tokens" } }
How It Works
Profiles are stored as complete
claude_desktop_config.jsonfiles inconfigs/Switching copies the selected profile to
claude_desktop_config.jsonClaude Desktop is automatically restarted to load the new config
A backup is created before every switch
Requirements
macOS (uses
osascriptandopen -afor restart)Python 3.10+
Claude Desktop
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JasonBates/mcp-mode-switcher'
If you have feedback or need assistance with the MCP directory API, please join our Discord server