Skip to content

Web UI MCP tab shows '未配置 MCPs' despite MCP being configured and connected #30228

Closed

Description

@q1023884985

Description

In the OpenCode Web UI (v1.15.13), the MCP tab in the server configuration dialog always shows "未配置 MCPs" (No MCPs configured) even when MCP servers are actually configured and connected.

Steps to Reproduce

  1. Configure an MCP server (e.g., browser-cli) in opencode.json (either global ~/.config/opencode/opencode.json or project-level)
  2. Start opencode web
  3. Click the Status button (top-right) → MCP tab

Expected

The MCP tab should display the configured MCP servers (e.g., browser-cli: connected).

Actual

Shows "未配置 MCPs" despite MCP being properly configured.

Evidence

  • GET /mcp?directory=C:\ returns {"browser-cli":{"status":"connected"}}
  • GET /config?directory=C:\ returns the full config including MCP settings
  • The MCP server is actually running and functional (can be used in conversations)

This is purely a UI display bug — the backend correctly loads and connects the MCP servers, but the frontend MCP tab fails to display them.

Environment

  • OpenCode version: v1.15.13
  • OS: Windows
  • Interface: Web UI (opencode web)

Activity

  1. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is the same, please consider closing this one and adding context to an existing issue instead.

  2. Hona commented on Jun 2, 2026

    @Hona
    Member

    Fixed by #30220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions