Repository navigation
Closed as not planned
Closed as not planned
Copy link
Description
Description
Docker-based MCP servers that were working correctly in OpenCode v1.1.6 fail to connect after upgrading to v1.1.7. The MCP server container starts successfully and reports healthy status, but OpenCode cannot establish connection. Tools become unavailable with no error message displayed.
Expected Behavior
Docker-based MCP servers should connect and register tools just as they did in v1.1.6. The server should show all tools available and respond to operations.
Actual Behavior
- MCP server container starts successfully (logs show "Server healthy")
- Container reports model loaded, tools registered
- OpenCode shows no MCP tools available OR connection fails silently
- No explicit error message in OpenCode UI
- Downgrading to v1.1.6 restores functionality immediately
Configuration
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"memory-mcp": {
"type": "local",
"command": [
"docker", "run", "--rm", "-i",
"--name", "memory-mcp",
"-v", "memory-mcp-data:/data",
"-v", "/path/to/project:/project:ro",
"-e", "RECONNECT_TIMEOUT=60",
"ghcr.io/pomazanbohdan/memory-mcp-1file:latest"
],
"enabled": true
}
}
}
Related Issues
- #6909 — MCP timeout after v1.1.1 update (same pattern: MCP fails after version upgrade)
- #829 — Unstable MCP servers, no retry mechanism (OpenCode gives up on connection)
- #731 — MCP hangs without health checks
- #834 — SSE remote servers fail
- oh-my-opencode #493 — MCP detected as
type=remoteinstead oflocalafter reinstall
Additional Context
- Issue appeared immediately after upgrading from v1.1.6 to v1.1.7
- Rolling back to v1.1.6 restores full functionality
- Docker container runs correctly outside OpenCode (tested manually with docker run)
- No changes to configuration between versions
- Similar pattern reported in oh-my-opencode Formatter for Kotlin #493 (MCP detected as type=remote instead of local after reinstall)
OpenCode version
v1.1.7+
Steps to reproduce
- Have a working MCP configuration with Docker-based server (
type: local, command:docker run ...) - Verify MCP works in OpenCode v1.1.6 (all tools available, operations succeed)
- Upgrade OpenCode from v1.1.6 to v1.1.7
- Start a new OpenCode session
- Observe MCP section - server appears disconnected or tools unavailable
Operating System
- OS: Linux (Ubuntu)
- OpenCode Version: v1.1.7 (fails) / v1.1.6 (works)
- MCP Server: Docker container (STDIO transport)
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Jan 13, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
yanosh-k commentedon Jan 14, 2026
I had the same issue and a temp fix, in my case, was to start opencode form the native Bun binary directly (more info the issue: #8434) - in my case this was
/srv/ai/open_code/node_modules/opencode-linux-x64/bin/opencodepomazanbohdan commentedon Jan 14, 2026
#8434
pomazanbohdan commentedon Jan 21, 2026
1.1.28 not work
yanosh-k commentedon Feb 11, 2026
When installing with npm, the issue still persists even in v1.1.57 (the same described here #8434).
jimlyas commentedon Mar 6, 2026
Are there any work around for this when installing using curl command?
github-actions commentedon Jul 6, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.