mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
Filtering disabled shared servers out of `.mcp.json` (#9457) collapsed "present but disabled" and "absent" into the same output, so a server set `enabled = false` for OpenCode could no longer remain present in Claude Code. `.mcp.json` has no per-server `enabled` field, but settings.json does via `disabledMcpjsonServers`. Keep disabled servers in `.mcp.json` and list them under `disabledMcpjsonServers` (merged with any user-set value). This honors the disabled intent without dropping the server, and covers both shared and Claude Code-native servers.
131 B
131 B