ACP: How to connect Cursor CLI to Zed

I’m trying to connect the Cursor CLI client in ACP mode to the Zed editor, but I’m encountering an issue where the editor returns an error: Internal error: “server shut down unexpectedly”.

Zed requires configuration in the following format:

{
      "type": "custom",
      "command": "...",
      "args": [...],
}

I’ve tried using just agent with arguments ["--api-key xxx", "acp"] as the command, as well as running it directly through node:

{
      "type": "custom",
      "command": "C:\\Users\\<user>\\AppData\\Local\\cursor-agent\\versions\\2026.02.27-e7d2ef6\\node.exe",
      "args": [
        "C:\\Users\\<user>\\AppData\\Local\\cursor-agent\\versions\\2026.02.27-e7d2ef6\\index.js",
        "--api-key xxx",
        "acp"
      ]
}

And also with arguments:

--print
--output-format stream-json
--stream-partial-output

Nothing worked

Has anyone managed to get Cursor working in Zed? Can you give me some advice?

I’m not sure how recently this was released but there is a cursor extension in Zed now. I just installed it and I was able to issue an initial prompt which worked. I did first run cursor-agent in the terminal to authenticate.

Yes, indeed, now the cursor plugin can simply be downloaded from the registry.

You can find the Cursor agent in the ACP Registry: Cmd+Shift+P “zed: acp registry”.