# `ExMCP.ACP.Adapters.ZCode`
[🔗](https://github.com/azmaveth/ex_mcp/blob/v1.4.0/lib/ex_mcp/acp/adapters/zcode.ex#L1)

ACP adapter for ZCode using `zcode app-server` persistent mode.

Translates between ACP JSON-RPC and ZCode's `app-server` NDJSON protocol
(ZCode Protocol v1). The adapter keeps ZCode app-server as the subprocess
boundary and owns the pure protocol mapping needed to present a stable ACP
surface.

Session-supplied workspace paths and MCP servers are treated as untrusted.
`:workspace_roots` defaults to the adapter working directory. Deployments
may provide `:authorize_workspace` and `:authorize_mcp_server` callbacks.
`:trusted_mcp_servers` accepts exact server maps; `:all` is an explicit
unsafe compatibility escape hatch. Names alone never authorize
caller-controlled connection details.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
