Parent
Related to #10899 and #6719.
What to build
Hot reload V2 MCP server configuration for a loaded Location. Editing mcp.servers, server commands or URLs, environment, headers, disabled state, OAuth settings, or timeouts should reconcile the running MCP runtime without restarting OpenCode.
Current V2 Config detects and publishes the file change, but MCP captures Config once while constructing its Location-scoped service and has no config.updated subscription or reload operation. Credential refresh and dynamic MCP tool/resource notifications are already live; this issue is specifically about server configuration.
Acceptance criteria
Blocked by
None - can start immediately.
Parent
Related to #10899 and #6719.
What to build
Hot reload V2 MCP server configuration for a loaded Location. Editing
mcp.servers, server commands or URLs, environment, headers, disabled state, OAuth settings, or timeouts should reconcile the running MCP runtime without restarting OpenCode.Current V2 Config detects and publishes the file change, but MCP captures Config once while constructing its Location-scoped service and has no
config.updatedsubscription or reload operation. Credential refresh and dynamic MCP tool/resource notifications are already live; this issue is specifically about server configuration.Acceptance criteria
Blocked by
None - can start immediately.