Skip to content

MCP servers list panel is empty in Desktop GUI (v1.15.13) - but all MCPs actually work #30429

@GuofaHuang

Description

@GuofaHuang

Description

English version (recommended for the upstream repo)

Bug: MCP servers list panel is empty in Desktop GUI (v1.15.13) - but all MCPs actually work

Summary

The MCP servers panel in opencode Desktop shows as empty even though every configured MCP server is actually loaded, connected, and fully functional. Verified via the bundled opencode-cli.exe mcp list command: all 9 servers report connected. The same MCP tools are also usable in chat (e.g. office_word_*, pdf_mcp_*, excel_mcp_*), proving the sidecar is healthy. The empty list is a GUI rendering problem, not a configuration or runtime problem.

Environment

  • opencode Desktop version: 1.15.13 (packaged Tauri build)
  • OS: Windows 11 Pro 64-bit (build 26200)
  • Sidecar binary: D:\Program Files\OpenCode\opencode-cli.exe
  • Tauri main process log: %APPDATA%\ai.opencode.desktop\logs\<session>\main.log

Steps to reproduce

  1. Install opencode Desktop 1.15.13 on Windows 11.
  2. Configure one or more MCP servers in ~/.config/opencode/opencode.json (for example office_word, office_powerpoint, pdf_mcp).
  3. Launch opencode Desktop.
  4. Open the MCP servers panel in the UI.

Expected

All configured MCP servers are listed in the panel with their connection status, matching what opencode mcp list reports.

Actual

The MCP servers panel is empty. No entries are shown, no error toast, nothing.

Evidence

1. CLI shows all 9 servers are connected

$ opencode-cli.exe mcp list
  MCP Servers
|
-  V excel_mcp          connected
|      D:\Program Files\MCPs\excel-mcp-server\.venv\Scripts\excel-mcp-server.exe stdio
|
-  V office_powerpoint  connected
|      D:\Program Files\MCPs\Office-PowerPoint-MCP-Server\.venv\Scripts\python.exe D:\Program Files\MCPs\Office-PowerPoint-MCP-Server\ppt_mcp_server.py
|
-  V office_word        connected
|      D:\Program Files\MCPs\Office-Word-MCP-Server\.venv\Scripts\python.exe D:\Program Files\MCPs\Office-Word-MCP-Server\word_mcp_server.py
|
-  V pdf_mcp            connected
|      D:\Program Files\MCPs\pdf-mcp\.venv\Scripts\pdf-mcp.exe
|
-  V windows_mcp        connected
|      D:\Program Files\MCPs\Windows-MCP\.venv\Scripts\windows-mcp.exe
|
-  V mcp_prototype      connected
|      node D:\Program Files\MCPs\mcp-prototype\dist\mcp\index.js
|
-  V codegraph          connected
|      npx --yes @colbymchenry/codegraph serve --mcp
|
-  V cad_mcp            connected
|      D:\Program Files\MCPs\CAD-MCP\.venv\Scripts\python.exe D:\Program Files\MCPs\CAD-MCP\src\server.py
|
-  V freecad_mcp        connected
|      D:\Program Files\MCPs\freecad_mcp\.venv\Scripts\python.exe D:\Program Files\MCPs\freecad_mcp\src\freecad_bridge.py
9 server(s)

2. Sidecar starts cleanly, no MCP errors in any log

main.log of the same session:

[2026-06-02 22:48:36.360] [info]  app starting { version: '1.15.13', packaged: true, onboardingTest: false }
[2026-06-02 22:48:36.416] [info]  tauri migration: already done, skipping
[2026-06-02 22:48:36.517] [info]  sidecar connection started { url: 'http://127.0.0.1:6812' }
[2026-06-02 22:48:36.517] [info]  spawning sidecar { url: 'http://127.0.0.1:6812' }
[2026-06-02 22:48:37.636] [info]  loading task finished
[2026-06-02 22:48:37.927] [info]  awaiting server ready
[2026-06-02 22:48:37.927] [info]  server ready { url: 'http://127.0.0.1:6812' }

server.log of the same session (no MCP errors, only an unrelated Node experimental warning):

[2026-06-02 22:48:36.913] [warn]  (server)  stderr {
  message: '(node:26380) ExperimentalWarning: SQLite is an experimental feature and might change at any time\n' +
    '(Use `OpenCode --trace-warnings ...` to show where the warning was created)'
}

renderer.log of the same session contains only UI resize noise, no MCP-related lines.

The listening socket also confirms the sidecar is up:

Get-NetTCPConnection -State Listen -LocalPort 6812
LocalAddress LocalPort OwningProcess Proc
------------ --------- ------------- ----
127.0.0.1         6812         26380 OpenCode

3. opencode.json is schema-valid

Verified with the official schema using jsonschema.Draft202012Validator. After fixing two issues (a stale model value and using environment instead of env for MCP entries), the validator returns 0 errors. So the config is not the cause, but worth noting in case the GUI has a hidden pre-validation that fails on stale values.

Hypothesis

The Desktop GUI MCP list panel is not rendering any entries. The sidecar and config are healthy (CLI confirms) and the MCP tools work in chat, so the failure is almost certainly in the UI layer that fetches or displays the MCP list. Plausible causes:

  • The panel reads from a cache or endpoint that is never populated on Windows packaged builds.
  • The panel query is made before the sidecar exposes MCP info and is never retried.
  • A frontend store key for the MCP list is incorrectly initialized empty and never refreshed.

Workaround

None for the empty panel itself. All MCP functionality (tools, skills, plugins) still works in chat, so the panel is currently purely cosmetic.

Suggested labels

bug, area: desktop, platform: windows, component: mcp


中文版(备用)

Bug: Desktop 1.15.13 MCP 列表面板为空 — 但 MCP 实际全部正常

摘要

opencode Desktop 的 MCP 列表面板显示,但所有配置的 MCP 服务都已加载、连接、功能正常。通过 opencode-cli.exe mcp list 验证:mcp 全部 connected。聊天里也能正常调用 MCP 工具(如 office_word_*pdf_mcp_*excel_mcp_*),说明 sidecar 是健康的。空列表是 GUI 渲染问题,不是配置或运行时问题。

环境

  • opencode Desktop: 1.15.13(Tauri 打包版)
  • 操作系统: Windows 11 Pro 64-bit (build 26200)
  • Sidecar 二进制: D:\Program Files\OpenCode\opencode-cli.exe
  • Tauri 主进程日志: %APPDATA%\ai.opencode.desktop\logs\<session>\main.log

复现步骤

  1. 在 Windows 11 上安装 opencode Desktop 1.15.13。
  2. ~/.config/opencode/opencode.json 中配置一个或多个 MCP 服务(如 office_wordoffice_powerpointpdf_mcp)。
  3. 启动 opencode Desktop。
  4. 打开 UI 的 MCP 列表面板。

预期

面板中列出所有已配置的 MCP 服务及其连接状态,与 opencode mcp list 的输出一致。

实际

面板完全为空,没有条目、没有错误提示、什么都没有。

证据

(与上方英文版一致)

Plugins

No response

OpenCode version

1.15.13

Steps to reproduce

  1. Install opencode Desktop 1.15.13 on Windows 11.
  2. Configure one or more MCP servers in ~/.config/opencode/opencode.json (for example office_word, office_powerpoint, pdf_mcp).
  3. Launch opencode Desktop.
  4. Open the MCP servers panel in the UI.

Screenshot and/or share link

Image

Operating System

windows11

Terminal

Windows terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions