[PR #513] [MERGED] Add Option to Disable MCP Servers #9634

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/513
Author: @timoclsn
Created: 6/28/2025
Status: Merged
Merged: 6/28/2025
Merged by: @thdxr

Base: devHead: add-disable-mcp-servers-option


📝 Commits (1)

  • b4ca169 Add option to disable mcp servers

📊 Changes

3 files changed (+20 additions, -0 deletions)

View changed files

📝 packages/opencode/config.schema.json (+8 -0)
📝 packages/opencode/src/config/config.ts (+8 -0)
📝 packages/opencode/src/mcp/index.ts (+4 -0)

📄 Description

Adds the (simple) option to enable/disable MCP servers via the config:

  • Adds a new optional "enabled" key to the config.
  • A missing key means enabled for backwards compatibility.
  • "Disabled" prevents the server from being started.

Closes #512


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/513 **Author:** [@timoclsn](https://github.com/timoclsn) **Created:** 6/28/2025 **Status:** ✅ Merged **Merged:** 6/28/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `add-disable-mcp-servers-option` --- ### 📝 Commits (1) - [`b4ca169`](https://github.com/anomalyco/opencode/commit/b4ca16936db76db2b91dc76eb5f55eff4ce8c490) Add option to disable mcp servers ### 📊 Changes **3 files changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/config.schema.json` (+8 -0) 📝 `packages/opencode/src/config/config.ts` (+8 -0) 📝 `packages/opencode/src/mcp/index.ts` (+4 -0) </details> ### 📄 Description Adds the (simple) option to enable/disable MCP servers via the config: - Adds a new optional "enabled" key to the config. - A missing key means enabled for backwards compatibility. - "Disabled" prevents the server from being started. Closes #512 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:53 -05:00
yindo closed this issue 2026-02-16 18:13:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9634