opencode
opencode copied to clipboard
MCP servers showing as `disabled`
Description
Seeing previously-working MCP servers showing as disabled, despite "enabled": true being set in opencode.jsonc.
Seems to have been introduced by a change in version 1.1.24 - the MCP servers work correctly in 1.1.23 and below.
I don't see any recent logs in ~/.local/share/opencode/log.
Plugins
Only one custom plugin for analytics.
OpenCode version
1.1.24+
Steps to reproduce
sample of my opencode.jsonc (servers obfuscated with ...)
"mcp": {
"github-mcp": {
"type": "local",
"command": [
"docker",
"run",
"-i",
"--rm",
"-e",
"GITHUB_HOST=...",
"-e",
"GITHUB_API_URL=...",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"enabled": true,
"environment": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_PAT}"
}
},
"gyde-mcp": {
"type": "remote",
"url": "https://.../api/mcp/",
"timeout": 60000,
"enabled": true
},
"codex-mcp": {
"type": "remote",
"url": "https://.../mcp/",
"timeout": 60000,
"enabled": true
},
"jira-mcp": {
"type": "remote",
"url": "https://.../mcp/",
"timeout": 60000,
"enabled": true,
"headers": {
"Authorization": "Token {env:JIRA_PAT}"
}
}
}
Screenshot and/or share link
Operating System
macOS 15.7.2
Terminal
Ghostty