mux acp command starts a stdio bridge that any
ACP-compatible editor can spawn as a subprocess.
ACP is the “LSP for agents” and provides session management, tool delegation, and streaming. Mux
uses ACP (not MCP) for its editor bridge.
Zed
Zed has native ACP support and does not require a plugin. Open Settings (Cmd+,) and add:
Using npx (no global install)
Using npx (no global install)
Connect to a remote server
Pass--server-url and --auth-token in args:
mux acp process:
Neovim
Two plugins currently support ACP in Neovim.codecompanion.nvim (recommended)
codecompanion.nvim added ACP support in v17.18. Add the adapter in yourlazy.nvim config:
agentic.nvim
agentic.nvim is a dedicated ACP client. Requires Neovim 0.11 or newer. Add vialazy.nvim:
JetBrains
JetBrains ACP support requires the AI Assistant plugin (2025.3 or newer).- Open the AI Chat tool window
- Click More (
...) then Add Custom Agent - Add the Mux entry to the
acp.jsonthat opens:
ACP is not supported in WSL-backed JetBrains projects.
Flags and environment variables
| Flag | Environment variable | Description |
|---|---|---|
--server-url <url> | MUX_SERVER_URL | URL of a running Mux server |
--auth-token <token> | MUX_SERVER_AUTH_TOKEN | Bearer token for authenticated connections |
--log-file <path> | — | Write ACP logs to a file (useful when your editor hides subprocess stderr) |
--server-url is provided, mux acp first attempts to discover a running server via the
lockfile in ~/.mux/, then starts an in-process server automatically when needed.
Troubleshooting
- Logs hidden by your editor: use
--log-file /tmp/mux-acp.logto capture ACP stderr output. - Connection refused: ensure Mux is running (
mux serveror the desktop app), or omit--server-urlto let ACP auto-start in-process. - Tool calls are not delegated: the editor must advertise filesystem or terminal capabilities,
and the workspace must use
localruntime mode.