Bridges LLMs with Agent-to-Agent protocol-compatible agents, enabling delegation of complex tasks to specialized externa...
Created byApr 23, 2025
A2A Client MCP Server
An MCP server that acts as a client to the Agent-to-Agent (A2A) protocol, allowing LLMs to interact with A2A agents through the Model Context Protocol (MCP).
Features
Connect to any A2A-compatible agent
Send and receive messages
Track and manage tasks
Support for streaming responses
Query agent capabilities and metadata
Installation
Configuration
Environment Variables
A2A_ENDPOINT_URL: URL of the A2A agent to connect to (default: "http://localhost:41241")
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
NPX
Docker
Build the Docker image:
Configure Claude Desktop:
Available Tools
a2a_send_task
Send a task to an A2A agent
message (string): Message to send to the agent
taskId (string, optional): Task ID (generated if not provided)
a2a_get_task
Get the current state of a task
taskId (string): ID of the task to retrieve
a2a_cancel_task
Cancel a running task
taskId (string): ID of the task to cancel
a2a_send_task_subscribe
Send a task and subscribe to updates (streaming)
message (string): Message to send to the agent
taskId (string, optional): Task ID (generated if not provided)
maxUpdates (number, optional): Maximum updates to receive (default: 10)
a2a_agent_info
Get information about the connected A2A agent
No parameters required
Resources
The server provides access to two MCP resources:
a2a://agent-card: Information about the connected A2A agent
a2a://tasks: List of recent A2A tasks
Example Usage
This example shows how to use A2A Client MCP Server to interact with a Coder Agent:
Development
License
MIT
A2A Client MCP Server
An MCP server that acts as a client to the Agent-to-Agent (A2A) protocol, allowing LLMs to interact with A2A agents through the Model Context Protocol (MCP).
Features
Connect to any A2A-compatible agent
Send and receive messages
Track and manage tasks
Support for streaming responses
Query agent capabilities and metadata
Installation
Configuration
Environment Variables
A2A_ENDPOINT_URL: URL of the A2A agent to connect to (default: "http://localhost:41241")
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
NPX
Docker
Build the Docker image:
Configure Claude Desktop:
Available Tools
a2a_send_task
Send a task to an A2A agent
message (string): Message to send to the agent
taskId (string, optional): Task ID (generated if not provided)
a2a_get_task
Get the current state of a task
taskId (string): ID of the task to retrieve
a2a_cancel_task
Cancel a running task
taskId (string): ID of the task to cancel
a2a_send_task_subscribe
Send a task and subscribe to updates (streaming)
message (string): Message to send to the agent
taskId (string, optional): Task ID (generated if not provided)
maxUpdates (number, optional): Maximum updates to receive (default: 10)
a2a_agent_info
Get information about the connected A2A agent
No parameters required
Resources
The server provides access to two MCP resources:
a2a://agent-card: Information about the connected A2A agent
a2a://tasks: List of recent A2A tasks
Example Usage
This example shows how to use A2A Client MCP Server to interact with a Coder Agent: