A2A Protocol MCP Server
by AiAgentKarl
README.md
# A2A Protocol MCP Server
MCP server implementing the [Google Agent2Agent (A2A) Protocol](https://github.com/google/A2A) for AI agent discovery and task delegation.
The A2A protocol enables AI agents to communicate with each other regardless of framework or vendor. This server provides a local A2A-compatible directory where agents can register, discover each other by capability, and delegate tasks.
## Tools
| Tool | Description |
|------|-------------|
| `create_agent_card` | Create an A2A-compatible agent card |
| `register_agent` | Register an agent in the local directory |
| `discover_agents` | Search agents by capability |
| `send_task` | Create a task request for a target agent |
| `get_task_status` | Check task status by ID |
| `list_registered_agents` | List all registered agents |
## Installation
```bash
npm install @aiagentkarl/a2a-protocol-mcp-server
```
Or run directly with npx:
```bash
npx @aiagentkarl/a2a-protocol-mcp-server
```
## Configuration
### Claude Desktop
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"a2a-protocol": {
"command": "npx",
"args": ["-y", "@aiagentkarl/a2a-protocol-mcp-server"]
}
}
}
```
## How It Works
1. **Register agents** with their capabilities and endpoints
2. **Discover agents** by searching for specific capabilities
3. **Send tasks** to agents and track their status
4. **Agent cards** follow the A2A protocol format for interoperability
Data is stored locally in `~/.a2a-agents/` as JSON files.
## A2A Protocol
Google's Agent2Agent protocol defines a standard for AI agents to:
- **Discover** each other through agent cards
- **Communicate** via structured task messages
- **Delegate** work across different agent frameworks
This server implements the core discovery and task delegation patterns as MCP tools, making A2A capabilities available to any MCP-compatible AI client.
---
## More MCP Servers by AiAgentKarl
| Category | Servers |
|----------|---------|
| 🔗 Blockchain | [Solana](https://github.com/AiAgentKarl/solana-mcp-server) |
| 🌍 Data | [Weather](https://github.com/AiAgentKarl/weather-mcp-server) · [Germany](https://github.com/AiAgentKarl/germany-mcp-server) · [Agriculture](https://github.com/AiAgentKarl/agriculture-mcp-server) · [Space](https://github.com/AiAgentKarl/space-mcp-server) · [Aviation](https://github.com/AiAgentKarl/aviation-mcp-server) · [EU Companies](https://github.com/AiAgentKarl/eu-company-mcp-server) |
| 🔒 Security | [Cybersecurity](https://github.com/AiAgentKarl/cybersecurity-mcp-server) · [Policy Gateway](https://github.com/AiAgentKarl/agent-policy-gateway-mcp) · [Audit Trail](https://github.com/AiAgentKarl/agent-audit-trail-mcp) |
| 🤖 Agent Infra | [Memory](https://github.com/AiAgentKarl/agent-memory-mcp-server) · [Directory](https://github.com/AiAgentKarl/agent-directory-mcp-server) · [Hub](https://github.com/AiAgentKarl/mcp-appstore-server) · [Reputation](https://github.com/AiAgentKarl/agent-reputation-mcp-server) |
| 🔬 Research | [Academic](https://github.com/AiAgentKarl/crossref-academic-mcp-server) · [LLM Benchmark](https://github.com/AiAgentKarl/llm-benchmark-mcp-server) · [Legal](https://github.com/AiAgentKarl/legal-court-mcp-server) |
[→ Full catalog (40+ servers)](https://github.com/AiAgentKarl)
## License
MIT
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues