Jcode in Zed: ACP Setup and the mcpServers Fix

Connect Jcode to Zed through ACP, keep your editor’s context servers enabled, and give Jcode its own MCP configuration. If you see ACP mcpServers are not supported yet, start with the version and executable checks below.

Updated 29 October 2026 · ACP session checks: Jcode v0.89.0 and v0.99.1 · macOS arm64

The fix

Update Jcode and point Zed at that executable. Current Jcode accepts the editor’s mcpServers array during session creation. Configure the tools Jcode should use in ~/.jcode/mcp.json or your project’s MCP file.

1. Update Jcode and confirm its location

Open a terminal and check your installation:

jcode --version
jcode update
jcode --version

Compare the result with the official stable release. The current stable version on 29 October is v0.99.1 (7206efd0c). Follow the installation guide if you need to install Jcode first.

On macOS or Linux, find its executable with:

command -v jcode

Copy the resulting path. Check that exact file with --version before using it in Zed. This connects the editor to the installation you just checked.

2. Add Jcode as a custom external agent

Follow Zed’s custom-agent setup: in its Command Palette, run agent: open settings. Open External Agents, choose Add Agent, then Add Custom Agent.

Zed documentation showing the Add Custom Agent path and agent_servers settings
Zed’s official documentation shows the custom-agent settings entry point. Select the image to enlarge.

Merge this entry into the existing agent_servers object in your Zed settings. Preserve the other agents and settings already there.

{
  "agent_servers": {
    "jcode": {
      "type": "custom",
      "command": "jcode",
      "args": ["acp"],
      "env": {}
    }
  }
}

Set command to the full executable path you checked in step 1 when Zed needs an explicit location. For example, replace "jcode" with "/opt/homebrew/bin/jcode" only if that is the path returned on your computer. Keep "args": ["acp"].

3. Start a new Jcode thread

Save the settings, open Zed’s Agent Panel, and select jcode from the agent selector or new-thread menu. Start a fresh thread in your project.

Jcode owns its provider configuration and login. Use the Jcode providers guide to prepare your provider, then choose the model in the Jcode thread. A useful first prompt is:

Reply with Ready. Do not change any files.

Once the reply arrives, continue with a small project task. The session can start while Zed keeps its own context-server configuration.

4. Configure the tools in Jcode’s MCP settings

In the Jcode v0.99.1 ACP implementation, the editor-provided MCP array is accepted during session creation and ignored. Jcode loads its tools from its native MCP configuration. Put the servers you want Jcode to use in one of these locations:

  • ~/.jcode/mcp.json for your user configuration.
  • .jcode/mcp.json or .mcp.json inside the project.

Run these commands from the project directory, replacing YOUR_SERVER with its configured name:

jcode mcp list --json
jcode mcp test YOUR_SERVER

A successful test connects, shows the server’s available tools, and disconnects cleanly. In our current check, the local server exposed echo_proof and completed this connection test in 0.275 seconds. Follow the MCP setup and troubleshooting guide for configuration examples.

Start a fresh Jcode thread after changing its MCP configuration. Keep the editor’s servers configured for Zed and the required agent servers configured for Jcode.

5. Choose the next check from the error

ACP mcpServers are not supported yet

Check the executable named in Zed’s agent_servers.jcode.command. Run that file with --version, update that installation, and create a new thread.

ACP mcpServers must be an array

Check the ACP request in Zed’s logs. This field uses a JSON array, such as [], rather than an object. This protocol field is separate from the named mcpServers object in Jcode’s MCP configuration file.

The session opens but an MCP tool is missing

Run jcode mcp list --json from the same project. Test the named server, check its native Jcode configuration, and open a fresh agent thread.

Use dev: open acp logs in Zed’s Command Palette to inspect the exchange. Look for initialize, then session/new, and a returned sessionId. These are the useful checkpoints for session creation.

The session-creation check

On 29 October, we launched the official v0.89.0 and v0.99.1 executables through their ACP stdio interface. Both returned a sessionId after receiving initialize and session/new with a non-empty mcpServers array. Both also validated the field’s array shape.

Successful ACP session creation on Jcode v0.89.0 and v0.99.1 with non-empty mcpServers arrays
Recorded ACP checks: both releases created a session with a non-empty editor MCP array. Select the image to enlarge.

The original issue #887 reported the failure on v0.75.0. The maintainer linked the correction to PR #889, merged on 12 August 2026.

Jcode maintainer confirms the ACP mcpServers fix in pull request 889
The maintainer confirms the fix and a successful ACP session exchange. Select the image to enlarge.

Continue: Fix a slow MCP startup · Resolve a provider error · Run your first Jcode task