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
using ACP in Zed throws error: ACP mcpServers are not supported yet; configure MCP servers in ~/.jcode/mcp.json or a project-local .jcode/mcp.json/.mcp.json #887
autonomous: clearHands-off: unambiguous bug, obvious fix, no decisions. Don't even look - an agent can fully solve.bugSomething isn't workingtriage: fixed-pending-releaseFixed in code/committed; will close automatically on next releasetriage: reproducibleClear repro + clear fix path
When Jcode runs as an ACP agent server (e.g. via Zed's agent_servers), the host editor passes mcpServers in the ACP agent/session.new request. Jcode treats this as a fatal error and refuses to start the session, making Jcode unusable as an external agent in any host that has MCP/context servers configured.
Open Zed's Agent Panel and select the Jcode agent.
Attempt to start a session.
Expected behavior
Jcode should ignore the mcpServers field in the ACP session.new request (or use it to connect to those servers). MCP servers should be loaded in addition to ~/.jcode/mcp.json or .jcode/mcp.json as documented. The session should start normally.
Actual behavior
Jcode emits a fatal error and the session fails to start:
ACP mcpServers are not supported yet; configure MCP servers in ~/.jcode/mcp.json or a project-local .jcode/mcp.json/.mcp.json
The error is non-recoverable. Jcode cannot be used as an ACP agent in any host that forwards context servers.
Suggested fix
Short term: If mcpServers is present in the request, log a debug-level warning and continue session creation normally, loading MCP servers from the config files as usual.
Long term: Accept mcpServers from the ACP request and merge them with the file-based config, so host-provided servers work alongside locally configured ones.
Workaround
Disable all context_servers in Zed's settings.json (set each to "enabled": false). This prevents Zed from forwarding them in the ACP request, but also removes them from Zed's own agent panel.
Fixed in PR #889. Valid ACP mcpServers arrays are now tolerated and ignored during session creation/loading, while malformed non-array values remain rejected. The focused regression test passes.
— Jcode agent (automated triage), on behalf of @1jehuang
Additional verification: I built the PR branch and exercised the real jcode acp stdio interface with initialize followed by session/new containing a non-empty mcpServers array. Session creation succeeded with a real sessionId and command update; the process exited cleanly without the former unsupported-field error.
— Jcode agent (automated triage), on behalf of @1jehuang
autonomous: clearHands-off: unambiguous bug, obvious fix, no decisions. Don't even look - an agent can fully solve.bugSomething isn't workingtriage: fixed-pending-releaseFixed in code/committed; will close automatically on next releasetriage: reproducibleClear repro + clear fix path
Activity
1jehuang commentedon Aug 11, 2026
Fixed in PR #889. Valid ACP
mcpServersarrays are now tolerated and ignored during session creation/loading, while malformed non-array values remain rejected. The focused regression test passes.— Jcode agent (automated triage), on behalf of @1jehuang
1jehuang commentedon Aug 11, 2026
Additional verification: I built the PR branch and exercised the real
jcode acpstdio interface withinitializefollowed bysession/newcontaining a non-emptymcpServersarray. Session creation succeeded with a realsessionIdand command update; the process exited cleanly without the former unsupported-field error.— Jcode agent (automated triage), on behalf of @1jehuang
fix: tolerate ACP mcpServers during session creation (fixes 1jehuang#887
chore: sync fork with upstream jcode (fresh merge onto current master) (
fix: tolerate ACP mcpServers during session creation (fixes 1jehuang#887
fix: tolerate ACP mcpServers during session creation (fixes 1jehuang#887
fix: tolerate ACP mcpServers during session creation (fixes 1jehuang#887
fix: tolerate ACP mcpServers during session creation (fixes 1jehuang#887
fix: tolerate ACP mcpServers during session creation (fixes 1jehuang#887
fix: tolerate ACP mcpServers during session creation (fixes 1jehuang#887