io.github.mdfifty50-boop/a2a-bridge

Registre officiel IA et agents

Agent-to-agent communication bridge for multi-agent systems

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package a2a-bridge-mcp
Claude Code
claude mcp add a2a-bridge -- npx -y a2a-bridge-mcp@0.1.1
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "a2a-bridge": {
            "command": "npx",
            "args": [
                "-y",
                "a2a-bridge-mcp@0.1.1"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. a2a-bridge-mcp
  2. Install
  3. Tools
  4. Resources
  5. Usage Pattern
  6. License

a2a-bridge-mcp

MCP server for agent-to-agent communication -- capability discovery, task delegation, and result aggregation across MCP agents.

MCP connects agents to tools, but not to each other. This server adds a standardized agent-to-agent layer within the MCP protocol -- register agents, discover capabilities, delegate tasks, and broadcast work to multiple agents. Inspired by Google's A2A protocol.

Install

npx a2a-bridge-mcp
Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "a2a-bridge": {
      "command": "npx",
      "args": ["a2a-bridge-mcp"]
    }
  }
}
From source
git clone https://github.com/mdfifty50-boop/a2a-bridge-mcp.git
cd a2a-bridge-mcp
npm install
node src/index.js

Tools

register_agent

Register an agent with capabilities for discovery by other agents.

ParamTypeDefaultDescription
agent_idstringrequiredUnique agent identifier
capabilitiesstring[]requiredCapability strings (e.g. ["code-review", "summarization"])
descriptionstring""Human-readable description
input_schemaobject{}JSON schema for accepted input
output_schemaobject{}JSON schema for produced output
endpointstring""Optional endpoint or transport hint
discover_agents

Find agents matching a capability need with fuzzy text similarity scoring.

ParamTypeDefaultDescription
capability_neededstringrequiredCapability to search for
min_scorenumber0.3Minimum similarity score (0-1)

Returns scored matches sorted by relevance.

delegate_task

Delegate a task to a specific registered agent. Creates a tracked task with status lifecycle.

ParamTypeDefaultDescription
from_agentstringrequiredDelegating agent ID
to_agentstringrequiredTarget agent ID
task_descriptionstringrequiredWhat the target should do
input_dataobject{}Input data for the task
timeout_msnumber30000Timeout in milliseconds

Returns a task_id for tracking.

get_task_result

Get status and result of a delegated task. Also used by executing agents to submit results.

ParamTypeDescription
task_idstringTask ID from delegate_task or broadcast_task
submit_resultobject(Optional) Submit completion result
submit_errorstring(Optional) Submit failure error

Status lifecycle: pending -> running -> completed / failed.

broadcast_task

Send a task to ALL agents matching a capability. Creates individual tracked tasks for each match.

ParamTypeDefaultDescription
from_agentstringrequiredBroadcasting agent ID
capability_neededstringrequiredCapability to match
task_descriptionstringrequiredWhat matched agents should do
input_dataobject{}Input data
min_scorenumber0.3Minimum match score
timeout_msnumber30000Timeout per agent

Returns list of task IDs for aggregation via get_task_result.

get_agent_card

Get an agent's full capability card with schemas, stats, and task history.

ParamTypeDescription
agent_idstringAgent identifier

Returns capabilities, input/output schemas, success rate, and task counts. Inspired by Google A2A agent cards.

list_agents

List all registered agents, optionally filtered by capability.

ParamTypeDefaultDescription
filterstring""Capability keyword to filter by (empty = all)

Resources

URIDescription
a2a://agentsAll registered agents with capabilities and stats

Usage Pattern

1. register_agent    -- each agent registers at startup
2. discover_agents   -- find who can handle a task
3. delegate_task     -- send work to a specific agent
   OR broadcast_task -- send work to all matching agents
4. get_task_result   -- poll for completion or submit results
5. get_agent_card    -- inspect an agent's full profile
6. list_agents       -- overview of the agent network
Multi-agent workflow example
Agent A (orchestrator):
  1. register_agent(agent_id="orchestrator", capabilities=["planning", "coordination"])
  2. discover_agents(capability_needed="code review")
     -> finds Agent B (score: 0.95)
  3. delegate_task(from="orchestrator", to="agent-b", task="Review PR #42")
     -> task_id: "task_1234"
  4. get_task_result(task_id="task_1234")
     -> status: "completed", result: { approved: true, comments: [...] }

Agent B (worker):
  1. register_agent(agent_id="agent-b", capabilities=["code-review", "linting"])
  2. (receives task via external notification or polling)
  3. get_task_result(task_id="task_1234", submit_result={ approved: true })

License

MIT

Questions fréquentes

Qu'est-ce que io.github.mdfifty50-boop/a2a-bridge ?

Agent-to-agent communication bridge for multi-agent systems

Comment installer io.github.mdfifty50-boop/a2a-bridge ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add a2a-bridge -- npx -y a2a-bridge-mcp@0.1.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.mdfifty50-boop/a2a-bridge ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

io.github.mdfifty50-boop/a2a-bridge est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.mdfifty50-boop/a2a-bridge ?

Il est publié par mdfifty50-boop. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.