MCP vs A2A: what each protocol does
MCP connects an AI agent to its tools and data. A2A connects one agent to another.
MCP and A2A solve different problems. MCP (the Model Context Protocol) connects an AI application to external tools, data and workflows. A2A (the Agent2Agent protocol) connects one agent to another agent. The A2A docs call this “vertical” against “horizontal”: “MCP is vertical. It deepens a single agent.” and “A2A is horizontal. It connects agents across that boundary” (A2A and MCP). They are not rivals: the A2A docs describe using A2A between agents and MCP inside each one.
The two at a glance
| MCP | A2A | |
|---|---|---|
| What it connects | An AI application to tools, data and workflows (MCP introduction) | One agent to another agent (A2A and MCP) |
| The other side is | A server that exposes resources, tools and prompts (architecture) | An independent agent whose internals stay hidden: agents collaborate “without exposing their internal logic, memory, or proprietary tools” (What is A2A) |
| Wire format | JSON-RPC over stdio or Streamable HTTP (transports) | JSON-RPC, gRPC or HTTP+JSON/REST bindings (specification) |
| Long-running work | Tasks extension, opt-in for client and server (MCP Tasks) | Task is a core object with a lifecycle (specification) |
| Work that needs more input | input_required task status (MCP Tasks) |
TASK_STATE_INPUT_REQUIRED and TASK_STATE_AUTH_REQUIRED task states (specification) |
| State | Stateless: “every request is self-contained and carries its own protocol version and capabilities” (architecture) | Stateful tasks, with related tasks grouped by a context ID (key concepts) |
The A2A project wrote the page that describes the two protocols, so read its framing as the A2A side of the story. The MCP cells above come from the MCP spec.
Where each one sits in a system
MCP lives inside an agent. The host application creates one MCP client per server, and each client talks to exactly one server (architecture). The server wraps something concrete such as a database or a ticket tracker. The model asks for a capability and gets a result. For how that compares to a plain API call, see MCP vs API.
A2A lives between agents. A client agent finds a remote agent, sends it a message and gets back either a reply or a task it can follow. The remote agent decides how to do the work, and the client never sees how.
The A2A docs give one worked example, an auto repair shop. A customer talks to a “Shop Manager” agent over A2A. A “Mechanic” agent uses MCP to call a vehicle diagnostic scanner, a repair manual database and a platform lift. The Mechanic then asks a “Parts Supplier” agent, over A2A, whether a part is in stock (A2A and MCP).
user
| A2A
Shop Manager agent
| assigns task
Mechanic agent ---- MCP ---- scanner, manuals, lift
| A2A
Parts Supplier agent
Where they overlap
The line is blurrier than a table suggests, in two places.
Long-running work. The current MCP spec revision says the protocol is stateless, with each request self-contained. Slow operations are handled by the Tasks extension, where a server returns “a durable handle instead of blocking” and the client polls with tasks/get (MCP Tasks). The spec marks it as an extension and notes that “host support varies by client”. A2A has tasks in its core model, with states such as SUBMITTED, WORKING, INPUT_REQUIRED and COMPLETED (specification). If your only need is a slow tool call, MCP Tasks may be enough and you do not need A2A.
Agents as tools. The A2A docs say an A2A server can expose some skills as MCP-compatible resources, best for well-defined, stateless, tool-like skills (A2A and MCP). An agent that behaves like a function can be reached either way. An agent that negotiates, asks follow-up questions or runs for a long time fits A2A better.
Which to use
This table is a rule of thumb built from the differences above. It is not part of either spec.
| Situation | Use | Why |
|---|---|---|
| An agent needs a database, file system or SaaS API | MCP server or a plain function tool | The other side is a capability, not an agent |
| A tool call takes minutes and must survive a disconnect | MCP with the Tasks extension, if your client supports it | The task ID is a durable handle (MCP Tasks) |
| Your agent must delegate to an agent owned by another team or vendor | A2A | The remote agent stays opaque, and tasks, input requests and streaming are built in |
| Several agents run in one codebase and one framework | The framework’s own handoffs | No boundary to bridge; see multi-agent systems and agent orchestration |
| A system with agents across teams, each also using tools | A2A between agents, MCP inside each agent | The pairing the A2A docs describe |
What this means for security and debugging
Each protocol adds a trust boundary. An MCP server can return text that a model reads, which is the entry point for prompt injection and is covered in MCP security. An A2A remote agent is a second model-driven system whose output you also have to treat as untrusted, and AI agent identity covers how agents prove who they are. In both cases, log every call with its inputs, outputs and timing so you can see what crossed the boundary.
Tracing both in HoneyHive
HoneyHive has a guide for tracing MCP servers and clients and a multi-agent tracing and evaluation tutorial built on Google ADK. As of 4 November 2026 its docs index lists no A2A-specific guide (docs index). For the wider practice, see how to trace AI agents and agent observability.
FAQ
What is the difference between MCP and A2A?
MCP connects an AI application to tools, data and workflows. A2A connects one agent to another, independent agent. The A2A docs put it as "A2A is about agents partnering on tasks; MCP is more about agents using capabilities" (A2A and MCP).
Does A2A replace MCP?
No. The A2A docs say "A2A connects the agents to each other; MCP connects each agent to its own tools" and end with "Use both together" (A2A and MCP).
Do I need both MCP and A2A?
Only if your system has both. A single agent that calls tools needs MCP or plain function tools. A2A matters once an agent must hand work to another agent that you do not control or that runs in a different framework.
Can an A2A agent be exposed through MCP?
Sometimes. The A2A docs say an A2A server can expose some skills as MCP-compatible resources, and that this suits well-defined, stateless, tool-like skills (A2A and MCP).