[Feature Request] Add "enabled" key to MCP server configuration for conditional activation
Resolved 💬 2 comments Opened Apr 13, 2026 by sammcj Closed May 5, 2026
Bug Description
There seems to be no way to disable MCP servers in config, it would be advantagous to have an "enabled" key (defaults to true if omitted) allowing users to keep their MCP server configuration but only enable it when they want to. Looking through Github others have reported this but the issues have been closed without action e.g. https://github.com/anthropics/claude-code/issues/17921
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.104
- Feedback ID: 57aab95c-ffe7-4ec3-ba0a-17168872ecbc
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/samm/.local/share/claude/versions/2.1.104 (expected in multi-process scenarios)\n at Tc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n at Se6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T11:31:09.826Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗