ai-bridge-mcp
v0.1.0
Published
MCP bridge server for AI-to-AI communication between Claude Code and Copilot CLI
Maintainers
Readme
AI Bridge MCP
An MCP server that enables AI-to-AI communication between coding agents like Claude Code and GitHub Copilot. Both agents connect to this server and gain shared tools for messaging, task delegation, and context sharing.
Quick Start
Automated Setup
# Configure both Claude Code and Copilot at once
npx ai-bridge-mcp setup
# Or configure individually
npx ai-bridge-mcp setup claude
npx ai-bridge-mcp setup copilotManual Setup
Add to your MCP config manually if you prefer.
Claude Code (~/.claude/settings.json):
{
"mcpServers": {
"ai-bridge": {
"command": "npx",
"args": ["-y", "ai-bridge-mcp"]
}
}
}VS Code Copilot (~/.vscode/mcp.json):
{
"servers": {
"ai-bridge": {
"command": "npx",
"args": ["-y", "ai-bridge-mcp"]
}
}
}Copilot CLI (~/.copilot/mcp-config.json):
{
"mcpServers": {
"ai-bridge": {
"command": "npx",
"args": ["-y", "ai-bridge-mcp"]
}
}
}Available Tools
| Tool | Description |
|------|-------------|
| bridge_register | Register yourself as an AI agent on the bridge |
| bridge_send | Send a message to another AI agent |
| bridge_inbox | Read messages sent to you |
| bridge_delegate_task | Delegate a task to another agent |
| bridge_update_task | Update the status of a task assigned to you |
| bridge_tasks | List tasks, optionally filtered by agent or status |
| bridge_agents | See which agents are registered |
| bridge_clear | Clear all bridge data |
How It Works
Both agents connect to the same MCP server. State is stored in ~/.ai-bridge/state.json so multiple server processes (one per agent) share the same data.
Example flow:
- Claude Code registers as
claude-codeand sends a task tocopilot - Copilot checks its inbox, sees the task, and works on it
- Copilot updates the task status and sends results back
- Claude Code reads the results from its inbox
Message Types
context | task | task_result | review | review_result | question | answer | ping | pong
Development
git clone https://github.com/raedlouati/ai-bridge-mcp.git
cd ai-bridge-mcp
npm install
npm run devLicense
MIT
