mcp-mode-switcher
Click on "Deploy 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 deployed
Maintenance
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server for the Discord integration with MCP-compatible applications like Claude Desktop.476MIT
- FlicenseDqualityDmaintenanceA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.11-
- FlicenseNot gradedqualityCmaintenanceAn MCP server that enables Claude Desktop to interact with Discord through a dedicated bot. It allows users to list channels, read message history, and send messages directly from the AI interface.2-
- AlicenseAqualityDmaintenanceAn MCP server that lets Claude Code recall the context of past conversations from any project on demand.537 npm2MIT