A2A Client MCP Server
Enables interaction with a Coder Agent to generate code based on natural language instructions, as shown in the example where it creates a Python function for calculating Fibonacci sequences.
Supports running the MCP server in a Docker container, allowing for containerized deployment with proper environment configuration.
Enables installation and management of the A2A Client MCP Server through the npm package manager, supporting global installation or direct execution with npx.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@A2A Client MCP Server ask the agent to summarize this document about climate change"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: agentloop
Installation
# Install globally
npm install -g a2a-client-mcp-server
# Or run directly with npx
npx a2a-client-mcp-serverConfiguration
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
npm run build
npm link{
"mcpServers": {
"a2a-client": {
"command": "npx",
"args": ["-y", "a2a-client-mcp-server"],
"env": {
"A2A_ENDPOINT_URL": "http://localhost:41241"
}
}
}
}Docker
Build the Docker image:
docker build -t a2a-client-mcp-server .Configure Claude Desktop:
{
"mcpServers": {
"a2a-client": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2A_ENDPOINT_URL",
"a2a-client-mcp-server"
],
"env": {
"A2A_ENDPOINT_URL": "http://localhost:41241"
}
}
}
}Available Tools
a2a_send_task
Send a task to an A2A agent
message(string): Message to send to the agenttaskId(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 agenttaskId(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 agenta2a://tasks: List of recent A2A tasks
Example Usage
This example shows how to use A2A Client MCP Server to interact with a Coder Agent:
First, let me explore what A2A agent we're connected to.
I'll use the a2a_agent_info tool to check the agent details.
The agent provides a coding service that can generate files based on natural language instructions. Let's create a simple Python script.
I'll use the a2a_send_task tool to send a request:
Task: "Create a Python function that calculates the Fibonacci sequence"
Now I can check the task status using a2a_get_task with the task ID from the previous response.
The agent has created the requested Python code. I can now retrieve and use this code in my project.Development
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run watchLicense
MIT
Available Tools
5 toolsa2a_agent_infoC
Get information about the connected A2A agents
Inputs: agentId.
a2a_cancel_taskC
Cancel a running task
Inputs: taskId (required), agentId (required).
a2a_get_taskC
Get the current state of a task
Inputs: taskId (required), agentId (required).
a2a_send_taskC
Send a task to an A2A agent
Inputs: message (required), taskId, agentId.
a2a_send_task_subscribeB
Send a task and subscribe to updates (streaming)
Inputs: message (required), taskId, agentId, maxUpdates.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: a2a_agent_info retrieves agent metadata, a2a_send_task initiates a task, a2a_send_task_subscribe adds streaming, a2a_get_task checks status, and a2a_cancel_task stops execution. No overlap exists—the descriptions and names make the boundaries unambiguous.
All tools follow a consistent 'a2a_verb_noun' pattern with snake_case, using clear verbs like get, send, and cancel. This predictable naming helps agents easily understand and select the right tool for each operation.
With 5 tools, this server is well-scoped for managing A2A agent tasks. It covers core operations (info, send, get, cancel) plus an advanced streaming option, avoiding bloat while providing essential functionality for the domain.
The toolset covers the basic task lifecycle (send, monitor, cancel) and agent discovery, with a2a_send_task_subscribe adding streaming for real-time updates. A minor gap is the lack of tools for listing or managing multiple tasks or agents beyond basic info, but agents can work around this with the provided tools.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP Server for an Agent Task Marketplace
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides agent-powered tools, each using an LLM agent loop to iteratively call FlowMCP schema tools to solve complex problems. It can be mounted as Express middleware and supports A2A protocol for agent-to-agent communication.26 npmMIT
- AlicenseNot gradedqualityCmaintenanceMCP server that enables AI agents to run a deterministic orchestration loop with decomposition, subagent execution, and review feedback across multiple LLM backends.60MIT
- AlicenseAqualityDmaintenanceMCP server for multi-agent AI systems providing mailbox messaging, A2A task delegation, resource coordination, and a web dashboard.2114 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables agents to dynamically switch between multiple AI models (OpenAI, Anthropic, Google, etc.) with unified protocol-driven configuration and capability discovery.Apache 2.0