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
Desktop: MCP servers appear disconnected when WSL mode is enabled #28159
When using the OpenCode desktop app on Windows with WSL mode enabled, MCP servers configured as 'local' type appear disconnected in the UI, even though they work correctly when using the CLI inside WSL.
Steps to Reproduce
Install OpenCode desktop on Windows
Enable WSL mode in the desktop settings
Configure an MCP server with a local command that references a Linux/WSL executable
Observe that the MCP server shows as disconnected in the desktop status popover
Run the same opencode configuration from the CLI inside WSL — the MCP server connects successfully
Expected Behavior
MCP servers should connect successfully when WSL mode is enabled in the desktop app.
Actual Behavior
MCP servers fail to connect because the sidecar process runs natively on Windows and cannot execute Linux/WSL binaries referenced in MCP commands.
Activity
Brendonovich commentedon May 19, 2026
The old WSL mode is deprecated, there's no setting for it and the utility process cannot run in WSL. Proper WSL integration will be added in #23407