mcp-acp-bridge
mcp-acp-bridge
MCPを話す任意のコーディングエージェントの前面に立つACPサーバー。
ブリッジはエージェント用のMCPサーバーをホストし、エディタやクライアントに対してACPを話します。エージェントが行うすべてのツール呼び出しはブリッジを通過するため、ブリッジは各呼び出しを保留し、まずクライアントに承認を求めることができます。これにより、ツール呼び出しを、それを駆動する任意のUIにおける実際の許可プロンプトに変換します。
client (T3 Code, Zed, …) ──ACP──► bridge ──MCP──► agent (agy, claude, codex, …)
│
└─ spawns and supervises the agent processステータス: MCP側は動作します。ACP側はまだ存在しません。
ツールのインターセプトと許可ゲートは、ライブMCPクライアントとしてClaude Codeに対してエンドツーエンドで実装・検証されています。呼び出しはインターセプトされ、保留され、許可または拒否され、拒否は読み取り可能なテキストとしてエージェントに返されます。欠けているのは、それらの保留を実際のクライアントに対する
session/request_permissionに変換するACPサーバーと、エージェントスーパーバイザーです。docs/design.mdを参照してください。
試してみる
npm install
npm test # unit tests, no agent required
npm run test:live # drives the real `claude` CLI against the gateway
npm run test:live denytest:liveは、PATH上に認証済みのclaude CLIが必要です。Claude CodeにセッションごとのMCPエンドポイントを渡し、ツールを呼び出すよう依頼し、インターセプトを表示します。
[tool] requested magic_word
[gate] DENY magic_word {}
[tool] denied magic_word (denied by test policy)
[claude] said: The tool call was denied. The error returned was exactly:
`Error: permission denied: denied by test policy`Related MCP server: agentic-governance-gateway
なぜ
一部のコーディングエージェントは構造化された出力を生成しません。GoogleのAntigravity CLI(agy)がその動機となるケースです。ACPモードがなく(upstream request)、ヘッドレスモードではプレーンテキストを出力し、プロンプトできない許可を自動拒否します。そのため、GUIから駆動するには、TUIをスクレイピングするか、承認を諦めるかのどちらかになります。
このブリッジは第三の道を取ります。エージェントが言うことは無視し、エージェントが行うことをインターセプトします。MCPツール呼び出しはすでに構造化され、観測可能であり、そして重要なことに、すでにインターセプト可能です。MCPサーバーはリスナーではなく、ゲートなのです。
このアプローチはエージェント固有ではありません。MCPサーバーを指定できる任意のエージェントで動作します。
何を見て、何を見ないか
MCPはツールチャネルであり、エージェント出力チャネルではありません。
ACP出力 | ソース | 忠実度 |
| インターセプトされたMCP呼び出し | 正確 |
| インターセプトされた呼び出しごとに1つ | 正確 |
| エージェントの標準出力 | エージェントごと |
ターン境界 | プロセスライフサイクル | 正確 |
エージェントの組み込みのファイルおよびシェルツールはMCPを経由しないため、tool_callを発生させません。これは可視性のギャップであり、正確性のギャップではありません。ワークスペースをチェックポイントするクライアント(T3 Codeはターン境界で差分を取る)は、何が変更されたかを依然として記録します。失われるのはライブのアクションごとの進行状況であり、記録ではありません。
組み込みツールをMCPツールとしてブリッジ経由でルーティングすることで、そのギャップを埋め、セキュリティモデルを常時許可からアクションごとのレビューにアップグレードします。これは計画された強化であり、前提条件ではありません。
MCPリビジョンサポート
現在のリビジョンと今後のリビジョンの両方がサポートされています。ブリッジはMCPトランスポート状態に一切依存しないためです。
リビジョン | ハンドシェイク | セッション |
2025-03-26 |
|
|
2026-07-28 (RC) | なし | 削除済み。リクエストメタデータは |
ACPセッションは、エージェント実行ごとに1つのパススコープのエンドポイントURLによって関連付けられるため、両方のリビジョンは同じように動作します。docs/design.mdを参照してください。
ライセンス
MIT。LICENSEを参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityAmaintenanceMCP server that bridges coding agents (Claude Code, Codex, Gemini CLI) via ACP for pair programming, enabling agents to consult each other as tools.
- Alicense-qualityBmaintenanceAn MCP server that provides a governance layer for coding agents, enforcing policies, validation, and human-in-the-loop for tool calls without requiring an API key.MIT
- AlicenseAqualityAmaintenanceMCP server that enables a coordinator AI agent to spawn, control, and supervise local coding agents with interactive gating for high-risk operations.10381MIT
- Flicense-qualityCmaintenanceMCP server that provides a security gateway for AI agents, enforcing allow/confirm/deny policies on tool calls and requiring human approval for risky operations, with full audit logging.
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/s243a/mcp-acp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server