You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP : Change the status of an MCP using the switch #25928
Assume you have multiple disabled mcp servers configured (with enabled: false).
When you try to activate an mcp with the toggle switch the mcp is grey and flips back to disabled mode.
But this is only an optical issue. If you restart OpenCode Desktop with STRG+R the mcp is enabled.
Of course nothing is or should be changed within the setting json.
But when the mcp is enabled the settings should be changed in the ui until openCode is restarted.
Please review these issues and consider whether your report adds new information (e.g., specific to the switch UI element or Windows behavior) before continuing.
#17799: MCP toggling via /mcp command doesn't persist changes — same symptom of toggle appearing to work but reverting after restart #13763: Disabling MCPs doesn't persist across sessions — describes the same behavior with the toggle reverting on restart #18664: MCP server cannot keep off in Mac desktop app — same underlying issue on a different platform
I think the behavior of openCode Desktop should be identical to openCode. Within OpenCode the setting change is not persistant in config file. The OpenCode Desktop Change should not be persistant neither.
Reloading the window doesn't reload the opencode server which is what actually manages MCPs. The toggle does accurately represent the MCP state afaict.
Reloading the window doesn't reload the opencode server which is what actually manages MCPs. The toggle does accurately represent the MCP state afaict.
You are right and wrong the same time. The issue is not the server, which manages the mcps.
The frontend is not showing the corret state of the mcps. Reloading the Frontend is just a way of forcing the frontend to reload the settings form server
Activity
github-actions commentedon May 5, 2026
This issue might be a duplicate of existing issues. Please check:
/mcpcommand doesn't persist changes — same symptom of toggle appearing to work but reverting after restartPlease review these issues and consider whether your report adds new information (e.g., specific to the switch UI element or Windows behavior) before continuing.
ddbd commentedon May 5, 2026
I think the behavior of openCode Desktop should be identical to openCode. Within OpenCode the setting change is not persistant in config file. The OpenCode Desktop Change should not be persistant neither.
But #23862 seems to tbe the fix
Brendonovich commentedon May 6, 2026
Reloading the window doesn't reload the opencode server which is what actually manages MCPs. The toggle does accurately represent the MCP state afaict.
Screen.Recording.2026-05-06.at.3.02.23.pm.mov
ddbd commentedon May 6, 2026
You are right and wrong the same time. The issue is not the server, which manages the mcps.
The frontend is not showing the corret state of the mcps. Reloading the Frontend is just a way of forcing the frontend to reload the settings form server