# acp-gateway-daemon [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/creverse-ai-lab/agent_gateway  
**GitHub Stars:** 4  
**npm Downloads (last month):** 103  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/acp-gateway-daemon

## Description
Let your coding agent delegate work to Claude Code, Codex and Grok: a local MCP server and Agent Client Protocol (ACP) gateway with persistent sessions, approvals and crash-safe recovery.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "acp-gateway-daemon": {
    "command": "npx",
    "args": ["-y","acp-gateway-daemon"]
  }
}
```

## Documentation

## What acp-gateway-daemon does

The acp-gateway-daemon MCP server acts as a local coordination layer between an orchestrator agent and coding agents available on the same machine. Claude Code, Codex, and Grok are supported as built-in workers. Other locally installed agents can be discovered through the official Agent Client Protocol registry.

The orchestrator can start worker sessions, assign work, select supported configuration such as model or reasoning level, wait for progress, answer worker questions, approve or deny permissions, collect results, and close sessions. A bundled `agent-delegator` skill lets users describe these operations in natural language instead of calling every MCP tool directly.

Typical uses include asking one agent to implement a change while another reviews it, continuing work in an existing worker session, or running a review in a repository snapshot and inspecting the resulting patch before applying it.

## How it works

The daemon keeps ACP provider processes and sessions available for longer-running tasks. A normal delegation flow checks provider availability, opens a session, optionally applies worker configuration, submits the task, waits for completion or interaction, handles permissions or questions, and then retrieves the result.

Sessions record why they stopped. The `agent_acp_session` check action can report whether a stopped session can resume, while `agent_acp_inbox` can show pending approvals, questions, and completed results after a reconnect. Providers that support resume or load can reconnect an idle session when a later prompt arrives.

Permission policies define the worker boundary. `read_only` is intended for analysis and review, `ask` requires orchestrator approval before file changes or commands, and `auto_approve` allows actions within the session boundary granted by the user. The gateway removes its control token, socket path, and Main identity from worker environments and blocks workers from starting the control MCP.

## Setup and configuration

The acp-gateway-daemon package requires Node.js 22 or newer on macOS or Linux. Install it globally with npm, then run `acp-gateway-bootstrap --install-all --refresh-registry --dry-run` to inspect the installation plan. Run the same command without `--dry-run` to install or update the configured agents and gateway components.

The bootstrap process can install registry-listed `npx` and `uvx` packages globally, so review the dry-run targets and versions first. Choose the front-door agent with `--front-door codex`, `--front-door claude`, or `--front-door grok`; non-interactive installation defaults to Codex. The control MCP is registered with that front door, while the read-only guide MCP and skill are installed for discovered agents.

A source installation is also supported: clone the repository, run `npm ci`, run `npm link`, and then use the bootstrap commands. The Claude worker uses the executable named by `CLAUDE_CODE_EXECUTABLE` when set, otherwise it searches for an available Claude executable.

## Tools and capabilities

The acp-gateway-daemon MCP server exposes operations represented by tools including:

- `agent_acp_setup` for checking providers.
- `agent_acp_session_open` and `agent_acp_session` for creating, checking, reusing, and closing sessions.
- `agent_acp_config` for supported worker settings.
- `agent_acp_run` for submitting work.
- `agent_acp_wait` and `agent_acp_poll` for monitoring execution.
- `agent_acp_permission` and `agent_acp_answer` for responding to worker interaction.
- `agent_acp_inbox` for finding pending attention and uncollected results.
- `workspace_diff` for reading changes from snapshot-based review work.

It is designed for local, single-user, single-machine operation rather than a shared remote service.

_Full upstream README: https://allmcps.com/mcp/acp-gateway-daemon/readme_

