@aiagentkarl/a2a-protocol-mcp-server
v0.1.0
Published
JavaScript MCP Server — Google Agent2Agent Protocol bridge for agent discovery and task delegation
Downloads
101
Maintainers
Readme
A2A Protocol MCP Server
MCP server implementing the Google Agent2Agent (A2A) Protocol 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
npm install @aiagentkarl/a2a-protocol-mcp-serverOr run directly with npx:
npx @aiagentkarl/a2a-protocol-mcp-serverConfiguration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"a2a-protocol": {
"command": "npx",
"args": ["-y", "@aiagentkarl/a2a-protocol-mcp-server"]
}
}
}How It Works
- Register agents with their capabilities and endpoints
- Discover agents by searching for specific capabilities
- Send tasks to agents and track their status
- 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.
License
MIT
