ExMCP.ACP.Adapters.ZCode (ex_mcp v1.3.0)

Copy Markdown View Source

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.