mcacp
Bridges any MCP client (like Claude Code, Zed, VS Code) to any ACP coding agent, enabling multi-agent orchestration from a single chat interface.
README
MCACP
Bridge any MCP client to any ACP coding agent.
MCACP is an MCP server that speaks the Agent Client Protocol on behalf of your MCP host. It lets Claude Code, Zed, VS Code, or any MCP-compatible client spawn, manage, and interact with ACP coding agents — turning a single chat window into a multi-agent control plane.
MCP Client (Claude Code, Zed, VS Code, ...)
|
| MCP (stdio)
v
MCACP
|
| ACP (stdio, per agent)
v
Claude Code · Gemini CLI · Codex · Auggie · Copilot · ...
What can you do with this?
Run any ACP agent from any MCP client. You don't need a dedicated IDE plugin for each agent. Install Gemini from Claude Code. Run Codex from Zed. Mix and match.
Compare agents side by side. Give the same task to Claude Code ACP and Gemini CLI in parallel sessions and compare the results.
Build agent-driven pipelines. One agent writes code, another reviews it, a third runs the tests. MCACP handles the lifecycle and permission flow for all of them.
Control permissions interactively. On hosts that support MCP elicitation (Zed), permission requests pop up as interactive forms. On hosts that don't (Claude Code), they fall back to operator mode where the host agent decides.
Resume where you left off. Sessions persist to disk. Shut down, restart, load_session — the agent picks up where it stopped.
Discover and install agents from chat. Browse the ACP registry, install agents, check for upgrades — without leaving your conversation.
Quick start
Install
npm install -g mcacp
Or run directly:
npx mcacp
Add to your MCP client
Claude Code (~/.claude/settings.json):
{
"mcpServers": {
"mcacp": {
"command": "npx",
"args": ["-y", "mcacp"]
}
}
}
Zed (settings.json):
{
"context_servers": {
"mcacp": {
"command": { "path": "npx", "args": ["-y", "mcacp"] }
}
}
}
Then from chat:
"Search for available agents" → registry_search
"Install the Gemini agent" → agent_install
"Initialize it and start a session" → initialize + new_session
"Ask it to refactor auth" → prompt_start + prompt
MCP tools
MCACP exposes 22 tools organized into five groups.
Registry
| Tool | Description |
|---|---|
list_installed_agents |
List locally installed agents |
registry_search |
Search the ACP agent registry |
agent_install |
Install an agent from the registry |
agent_uninstall |
Remove an installed agent |
agent_check_upgrades |
Check for available upgrades |
discover_agents |
Scan editor configs (Zed, JetBrains) for agents |
reload_config |
Reload mcacp.json from disk |
Lifecycle
| Tool | Description |
|---|---|
initialize |
Spawn an agent process and perform the ACP handshake |
shutdown |
Gracefully shut down an agent |
Sessions
| Tool | Description |
|---|---|
new_session |
Create a session with working directory and permission policy |
load_session |
Resume a persisted session |
list_sessions |
List stored sessions for an agent |
close_session |
Close a session (preserved for later resume) |
Interaction
| Tool | Description |
|---|---|
prompt_start |
Send a prompt (returns immediately) |
prompt |
Block until events are available |
prompt_events |
Non-blocking poll for events |
grant_permission |
Resolve a pending permission request (operator mode) |
request_permission |
Send an MCP elicitation to the host for a permission decision |
cancel |
Cancel an in-progress prompt |
set_mode |
Switch agent operating mode |
Status
| Tool | Description |
|---|---|
list_running_agents |
List all agents with status and sessions |
get_agent_status |
Detailed status of a running agent |
set_agent_status |
Set status text for an agent |
Permission policies
Each session can use a different policy:
| Policy | Behavior |
|---|---|
allow_all |
Auto-approve all agent actions |
deny_all |
Block all tool use |
elicit |
Forward as MCP elicitations to the host; falls back to operator if unsupported |
operator |
Queue as events — the host agent decides via grant_permission |
Operator flow
Orchestrator MCACP ACP Agent
| | |
|-- prompt(sessionId, ...) ->| |
| |-- session/prompt --------->|
| |<- request_permission ------|
|<- {pendingPermission: ...} | |
| | |
|-- grant_permission ------->| |
| {toolCallId, optionId} |-- permission outcome ----->|
| |<- prompt result -----------|
|<- {stopReason, updates} | |
Configuration
MCACP looks for mcacp.json in these locations (first found wins):
--configflag orMCACP_CONFIGenv var.mcacp/mcacp.jsonin the current directory~/.config/mcacp/mcacp.json
{
"registries": ["https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json"],
"defaultPermissionPolicy": "elicit",
"agent_servers": {
"my-custom-agent": {
"command": "node",
"args": ["my-agent.js"]
}
}
}
See docs/configuration.md for the full schema.
Building from source
git clone https://github.com/Oortonaut/mcacp.git
cd mcacp
npm install
npm run build
node dist/index.js
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。