The Agent Client Protocol (ACP) lets an editor such as Zed or a JetBrains IDE run a coding agent in its own panel. How to connect each harness, what carries over from its terminal app, and how much of the work the editor sees and controls.
Getting connected
| Question | Claude Codechecked at claude-agent-acp 0.90.0 |
|---|---|
| Run it as an ACP agent | Claude Code has no ACP mode of its own; run the adapter The package was formerly
Set |
| Add it to Zed, JetBrains or another editor | The ACP registry lists it as The registry also carries a |
| Signing in | Sign-in reuses Claude Code's own credentials ( Launch with |
Sessions and settings
| Question | Claude Codechecked at claude-agent-acp 0.90.0 |
|---|---|
| Resume, list or fork past sessions | It implements
Subagent child sessions are replayed from their own transcripts when the client declares |
| Switch mode or model from the editor |
The mode is also exposed as a config option, so clients that only use config options can switch it too. |
| Slash commands and skills |
Working with the editor
| Question | Claude Codechecked at claude-agent-acp 0.90.0 |
|---|---|
| Approving tool calls | Whenever Claude Code would prompt, the adapter sends Exiting plan mode is offered as a permission request whose options pick the next mode (auto, accept edits, bypass, or manual). |
| Edits through the editor's buffers | |
| Commands in the editor's terminal | Not supported Commands run in Claude Code's own Bash tool, and the adapter never calls |
| MCP servers from the editor | MCP servers passed in
This describes the ACP host browser flow for MCP OAuth, not downstream MCP URL-mode elicitation. Keep these protocols separate; see docs/research/mcp-elicitation.md. |
| What prompts carry and what streams back | Partly Prompts can carry text, images (base64 or http URL), embedded text resources (added as |
The other direction
| Question | Claude Codechecked at claude-agent-acp 0.90.0 |
|---|---|
| Drive other ACP agents |
Notes and sources
Claude Code, 31 sources
- Claude Code has no native ACP mode; editors run the
claude-agent-acpadapter, which spawns Claude Code through the Claude Agent SDK. - The adapter bundles its own Claude Code build (2.1.296 in adapter 0.90.0), which lags the terminal release; set
CLAUDE_CODE_EXECUTABLEto use your installedclaude. - Settings, CLAUDE.md, hooks, skills and MCP config are read from the same user/project/local sources as the terminal app.
- Remote connectivity, provider relay, cloud handoff and execution lifetime are separately audited on 2026-10-19 in registry/remote.json. ACP answers retain the observed versions recorded here; stdio support does not imply network attachment.