# a2a-bridge [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/mdfifty50-boop/a2a-bridge-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 210  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/a2a-bridge

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

## Tools
Capabilities this server exposes over MCP:

- **health_check** — Returns server health, uptime, version, and call stats
- **register_agent** — Register an agent with its capabilities, input/output schemas for discovery by other agents.
- **discover_agents** — Find registered agents matching a capability need. Returns scored results with fuzzy text matching.
- **delegate_task** — Delegate a task to a specific registered agent. Creates a tracked task with status lifecycle (pending -> running -> completed/failed).
- **get_task_result** — Get status/result of a delegated task. Executing agents call this with submit_result or submit_error to report completion.
- **broadcast_task** — Send a task to ALL agents matching a capability. Creates individual tasks for each match for aggregation.
- **get_agent_card** — Get an agent's full capability card — capabilities, schemas, stats. Inspired by Google A2A agent cards.
- **list_agents** — List all registered agents. Optionally filter by a capability keyword.

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

```json
"mcpServers": {
  "a2a-bridge": {
    "command": "npx",
    "args": ["-y","a2a-bridge-mcp"]
  }
}
```

## Documentation

## What the a2a-bridge MCP server does

The a2a-bridge MCP server provides a coordination layer for MCP agents. Agents can publish capability descriptions, search for other agents, send work to a selected agent, or broadcast a task to every agent that meets a capability threshold. The server tracks delegated tasks and supports result or error submission.

Agent registrations include an identifier, capability strings, a human-readable description, optional input and output JSON schemas, and an optional endpoint or transport hint. Other agents can inspect this information through discovery, agent cards, or the complete agent list. The `a2a://agents` resource exposes registered agents together with capabilities and statistics.

## How it works

A typical workflow starts with each participating agent calling `register_agent`. An orchestrator can then call `discover_agents` with a capability description. Discovery uses fuzzy text similarity and returns matching agents with relevance scores; the default minimum score is 0.3.

For targeted work, `delegate_task` creates a tracked task for one registered agent and returns a task ID. `broadcast_task` applies the same pattern to all agents matching a requested capability, creating one task per match. Each task follows a lifecycle from `pending` to `running`, then to `completed` or `failed`.

`get_task_result` retrieves task status and results. An executing agent can also use it to submit a completion object or an error message.

## Setup and configuration

Run the published package with:

```bash
npx a2a-bridge-mcp
```

For Claude Desktop, add an `a2a-bridge` entry that starts the server through `npx`:

```json
{
  "mcpServers": {
    "a2a-bridge": {
      "command": "npx",
      "args": ["a2a-bridge-mcp"]
    }
  }
}
```

You can also clone the repository, install its npm dependencies, and start it with `node src/index.js`. The supplied setup instructions do not define environment variables or additional configuration files.

## Tools and capabilities

The server exposes these tools:

- `register_agent` records an agent and its capability metadata.
- `discover_agents` searches for agents using a capability phrase and score threshold.
- `delegate_task` assigns work to one registered agent with optional input data and timeout.
- `broadcast_task` creates tasks for all matching agents.
- `get_task_result` reads task progress or submits a result or failure.
- `get_agent_card` returns an agent’s capabilities, schemas, statistics, and task counts.
- `list_agents` lists registered agents, optionally filtered by a capability keyword.

## Limitations and notes

The a2a-bridge MCP server does not itself describe how agents execute assigned work or how external notifications are delivered. Workers may need to poll task records or use an outside notification mechanism. Discovery depends on text similarity and the configured minimum score, so capability naming affects which agents are selected. Broadcast operations create separate tracked tasks and use the timeout independently for each matched agent.

The project is released under the MIT license.

_Full upstream README: https://allmcps.com/mcp/a2a-bridge/readme_

