[PR #5406] feat: add per-project MCP config overrides #11387

Closed
opened 2026-02-16 18:16:13 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5406

State: closed
Merged: Yes


Allow project configs to override the 'enabled' field of MCP servers defined in global config without redefining the full configuration. This enables two patterns:

  • Define MCPs globally, disable per-project
  • Define MCPs globally disabled, enable per-project

Added 'Missing configuration' error when an override references an MCP that has no base config defined.

UI: Right-align MCP status labels in sidebar to match Modified Files.

As discussed in #4525.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5406 **State:** closed **Merged:** Yes --- Allow project configs to override the 'enabled' field of MCP servers defined in global config without redefining the full configuration. This enables two patterns: - Define MCPs globally, disable per-project - Define MCPs globally disabled, enable per-project Added 'Missing configuration' error when an override references an MCP that has no base config defined. UI: Right-align MCP status labels in sidebar to match Modified Files. As discussed in #4525.
yindo added the pull-request label 2026-02-16 18:16:13 -05:00
yindo closed this issue 2026-02-16 18:16:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11387