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
cli: mcp list --standalone never lists configured servers #63723
opencode mcp list --standalone always prints No MCP servers configured, even when the same config lists servers that connect fine through the shared service. --standalone does read the config otherwise: opencode models --standalone returns the providers and models from the same file.
Reproduced with:
global config using the native V2 mcp.servers shape
global config using the V1 flat mcp map
a project opencode.json containing mcp.servers
a temporary HOME whose ~/.config/opencode/opencode.json contained mcp.servers
All four print No MCP servers configured. Against the shared service the same entries are reported as connected.
opencode mcp list --standalone → No MCP servers configured
Expected
--standalone starts a private server that loads the same config, so the configured servers should be listed (pending or connected).
Actual
No MCP servers configured in every directory, for every config shape tried.
Additional context
--standalone is the useful escape hatch when the shared service is unhealthy or on a different version, so this hides the config exactly when it is needed for debugging.
Environment: CLI 2.2.6, running service 2.2.5.
Plugins
-opencode.browser, -opencode.models.dev, plus local OpenChamber plugins (agent-tool, session-title, routed-model)
Thanks for the clear report and for trying several config shapes.
I think this is a duplicate of #54192. MCP requests can read the server list before the config has registered the servers for a location that hasn't been loaded yet, so opencode mcp list prints No MCP servers configured. --standalone starts a fresh private server every time, so it always hits that case. That would explain why you see it in every directory and with every config shape. A comment on #54192 already shows opencode mcp list --standalone printing the same message on 2.2.5 with an mcp.servers config. In the current code, the mcp.list handler still returns the server list without waiting for it to load.
Related issues, ordered from most to least likely to be the same problem:
I'm closing this issue now as a duplicate of #54192. Please add your details there; the CLI 2.2.6 / service 2.2.5 setup and the four config shapes you tried would be useful. If you think this is a different problem, reply here and the issue will reopen.
Activity
opencodejr commentedon Nov 13, 2026
Thanks for the clear report and for trying several config shapes.
I think this is a duplicate of #54192. MCP requests can read the server list before the config has registered the servers for a location that hasn't been loaded yet, so
opencode mcp listprintsNo MCP servers configured.--standalonestarts a fresh private server every time, so it always hits that case. That would explain why you see it in every directory and with every config shape. A comment on #54192 already showsopencode mcp list --standaloneprinting the same message on 2.2.5 with anmcp.serversconfig. In the current code, themcp.listhandler still returns the server list without waiting for it to load.Related issues, ordered from most to least likely to be the same problem:
--standalonecaseopencode plugin listprints "No plugins found" on the first call per cold location #54654: the same race inopencode plugin list(No plugins foundon the first call)I'm closing this issue now as a duplicate of #54192. Please add your details there; the CLI 2.2.6 / service 2.2.5 setup and the four config shapes you tried would be useful. If you think this is a different problem, reply here and the issue will reopen.