Mode Switcher
БесплатноНе проверенAn MCP server that lets you switch between different MCP configuration profiles directly from inside Claude Desktop.
Описание
An MCP server that lets you switch between different MCP configuration profiles directly from inside Claude Desktop.
README
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".
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 |
|---|---|
list_modes() |
Show all available profiles with descriptions and token costs |
current_mode() |
Identify which profile is currently active |
switch_mode(mode, confirm) |
Switch to a different profile (requires confirmation) |
save_current_as_mode(name, description?, token_cost?) |
Save current config as a new profile |
list_backups() |
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 switch
Creating 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.json - Add 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.json - Claude 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
Установка Mode Switcher
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/JasonBates/mcp-mode-switcherFAQ
Mode Switcher MCP бесплатный?
Да, Mode Switcher MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Mode Switcher?
Нет, Mode Switcher работает без API-ключей и переменных окружения.
Mode Switcher — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Mode Switcher в Claude Desktop, Claude Code или Cursor?
Открой Mode Switcher на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Mode Switcher with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
