Skip to content

UI MCP panel shows 'No MCPs configured' despite globally configured MCP #30125

@LavBU

Description

@LavBU

Description

Description

The MCP panel in the OpenCode UI displays "No MCPs configured" even though an MCP
server is correctly defined in the global config at ~/.config/opencode/opencode.json
and is actively working.

Config (global)

{
"mcp": {
"mcp_report_server": {
"type": "remote",
"url": "http://host-gateway:8888/sse",
"enabled": true
}
}
}

Expected behavior

The MCP panel should display MCPs configured at the global level.

Actual behavior

The UI panel shows "No MCPs configured", despite the MCP being functional and
actively used by the agent.

Notes

  • The MCP tools are working correctly during sessions.
  • The UI appears to only read MCPs from project-level config, not global config.
  • No project-level opencode.json exists in the working directory.

Plugins

No response

OpenCode version

v1.15.13

Steps to reproduce

Have MCP on global config only. check MCP setting from the web UI

Screenshot and/or share link

No response

Operating System

Docker container - alpine

Terminal

Web server

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