A2A vs MCP: what each protocol does, and how to monitor both

MCP connects an agent to tools. A2A connects an agent to another agent. They solve different problems and most production systems end up using both. A side-by-side comparison, when to reach for each, and what to measure once they are in production.

MCP connects an AI agent to tools. A2A connects an AI agent to another agent. That is the whole difference, and it is why "A2A vs MCP" is not really a contest: they solve different problems, and a production multi-agent system usually ends up using both.

This article covers what each protocol is, a side-by-side comparison, when to use which, and the part most comparisons skip: what changes in production once your agents depend on servers and agents you do not control, and how to monitor both.

The short version

MCP A2A
Stands for Model Context Protocol Agent2Agent protocol
Connects An agent to tools and data An agent to another agent
The other side is A server exposing functions An agent that plans and decides
Unit of work A tool call A task
Typical duration Milliseconds to seconds Seconds to hours
Can ask for more input No, a call returns a result Yes, a task can pause for input
How it describes itself A list of tools, resources and prompts An Agent Card with skills
Started by Anthropic Google, now an open project
What fails A tool errors or is slow A task fails, is rejected, or never finishes

If you remember one line: MCP is how an agent uses something, A2A is how an agent delegates to something.

What MCP is

The Model Context Protocol is an open standard, introduced by Anthropic, for giving an AI agent access to tools and data. It is built on JSON-RPC.

There are two roles. The client is your agent, or the application hosting it. The server exposes capabilities: tools the agent can call, resources it can read, and prompts it can use. The agent asks the server what it offers (tools/list), then calls what it needs (tools/call) and gets a result back.

Two transports cover almost every deployment. stdio runs the server as a local subprocess, which is how a filesystem or git server usually works. Streamable HTTP reaches a remote server over the network, which is how a hosted search or CRM server works.

The important property is that an MCP tool is a function. It has an input schema, it does one thing, and it returns. The intelligence stays in the agent that called it.

What A2A is

The Agent2Agent protocol is an open standard, started at Google and now developed as an open project, for one agent to hand work to another. It reached a stable 1.0 in March 2026.

The remote side is not a function. It is an agent: it has its own model, its own tools and its own judgement. That changes the shape of the protocol in three ways.

  • Agent Cards. A remote agent publishes a card describing itself: its name, version, provider, and the skills it offers. A caller reads the card to decide whether and how to use it.
  • Tasks, not calls. The caller sends a message (SendMessage, or SendStreamingMessage for a stream). The remote agent creates a task, and the task moves through states: submitted, working, then completed, failed, canceled or rejected. (On the wire each is prefixed, as in TASK_STATE_WORKING.)
  • It can pause and ask. A task can stop in an input-required or auth-required state and wait for the caller. A tool call cannot do that; it either returns or errors.

Because a task can run for a long time, the caller often does not wait on the first request. It gets a task id back, then polls (GetTask), subscribes to updates, or receives a push notification when the state changes.

When to use which

Use MCP when you are calling a function:

  • it has a defined input and output;
  • it finishes in one request;
  • you want your own agent to stay in charge of the reasoning.

Search, database queries, file access, sending an email and looking up a customer are all MCP.

Use A2A when you are calling an agent:

  • it decides how to do the work, not just whether it can;
  • it may take minutes or hours, or need to come back with a question;
  • it belongs to another team or another company, and you only know it by its card.

A research agent, a compliance reviewer run by legal, or a vendor's booking agent are all A2A.

A useful test: if you are wrapping a long-running, decision-making agent as one MCP tool with a single huge output, you are using MCP for the job A2A was designed for.

Using both

Most multi-agent systems use both, and the protocols do not overlap.

Orchestrator
├─ MCP -> crm server
├─ MCP -> docs-search server
└─ A2A -> Research Agent
          ├─ MCP -> web-search server
          └─ MCP -> filesystem server

The orchestrator uses MCP for its tools and A2A to delegate. The research agent, on the other side of that A2A call, has MCP servers of its own that the orchestrator never sees.

What changes in production

Both protocols add things your agent depends on and you may not operate. That is where the two start to matter to whoever is on call.

MCP failures are quiet. When a tool errors, the request usually still succeeds: the result comes back with isError set, and the agent reads the error as text and carries on, often to a worse answer. A server that gets slow makes every run that uses it slower without raising anything. And one server is often shared by several agents, so a single degraded server looks like three unrelated agents getting worse.

A2A failures are late. The first request returns working, which looks like success. The task fails ten minutes later, on a poll. If you only look at the call that started it, every A2A call succeeded. A task can also sit waiting for input forever, which is neither a failure nor a success, just a run that never finishes.

A2A agents change underneath you. A remote agent has a version, and its owner ships new ones. When their release changes how it behaves for your inputs, nothing on your side changed, and the only clue is the version on its Agent Card.

Neither tells you what it cost. There is no usage or cost field in either protocol. You know what your own model calls cost. You do not know what the remote agent spent to answer you.

How to monitor both

You monitor both the same way: from the calling side, because that is the only side you always have.

OpenTelemetry has semantic conventions for each protocol. As of November 2026 both are still marked as in development, so attribute names may change, but they are what instrumentation is converging on.

For an MCP client span:

Attribute What it records
mcp.method.name The method, such as tools/call or tools/list
gen_ai.tool.name The tool, for a tool call
server.address, server.port The server it went to
mcp.session.id The session
error.type Set on failure; tool_error when the result has isError

For an A2A client span:

Attribute What it records
a2a.method.name The method, such as SendMessage or GetTask
a2a.task.id The task
a2a.task.state The state the response reported
gen_ai.agent.name, gen_ai.agent.version The remote agent, from its Agent Card
gen_ai.conversation.id The A2A context id
error.type Set on failure

From those, four things are worth measuring for every server and remote agent.

  1. Calls. How much you depend on it.
  2. Failure rate. Counting an MCP result with isError, and counting an A2A task that failed on a later poll against the call that started it, matched by task id.
  3. p95 latency. Per server, per tool, and per calling agent.
  4. Version, for remote agents, with the date it changed.

One trap to know about. An A2A client span carries the remote agent's name in gen_ai.agent.name and its context id in gen_ai.conversation.id. Tools that take those attributes at face value will file your run under the agent you called. Check how yours handles it.

How Agent Ping handles it

Agent Ping reads both conventions on OpenTelemetry ingest, with no SDK to add.

  • Every MCP server and remote agent your agents call is listed under Dependencies, with calls, failure rate and p95 latency, the agents that call it, and for MCP servers a per-tool breakdown. See MCP server monitoring.
  • A failed MCP tool result counts as a failed call, and a late A2A task failure counts against the call that started the task.
  • A remote agent's version is recorded, and the day it changes is marked on its chart.
  • An A2A client span does not rename your run or move it into the remote agent's conversation.
  • For the agents you do run, each gets a run of its own, linked to the agent that called it. See multi-agent observability.

What it does not do is show a dependency's cost, because neither protocol reports one. The dependencies docs cover the limits.

If your agents already export OpenTelemetry traces, point the exporter at Agent Ping and the list fills in from the first trace. The Free plan is enough to see which of your dependencies is the slow one.

What is the difference between A2A and MCP?
MCP (Model Context Protocol) connects an AI agent to tools and data: the agent is the client and an MCP server exposes tools it can call. A2A (Agent2Agent) connects an agent to another agent: the caller sends a message and the remote agent runs a task and reports its state. MCP is how an agent uses something. A2A is how an agent delegates to something that makes its own decisions.
Is A2A a replacement for MCP?
No. They sit at different layers and are designed to be used together. An agent typically uses MCP to reach its own tools and A2A to hand a whole piece of work to another agent, which in turn uses MCP to reach its tools. Choosing one does not remove the need for the other.
When should I use A2A instead of MCP?
Use A2A when the thing you are calling is an agent in its own right: it plans, may take minutes or hours, may come back and ask for more input, and is owned by another team or company. Use MCP when you are calling a function with a defined input and output, such as a search, a database query or a file read. If you find yourself wrapping a long-running, decision-making agent as a single MCP tool, that is the case A2A was designed for.
Can I use A2A and MCP together?
Yes, and most multi-agent systems do. A common shape is an orchestrator that calls its own tools over MCP and delegates to specialist agents over A2A. Each specialist then has its own MCP servers. The two protocols do not overlap, so there is nothing to reconcile.
How do you monitor A2A and MCP calls?
From the calling side, with OpenTelemetry. There are semantic conventions for both protocols: an MCP client span records the method, the tool and the server address, and an A2A client span records the method, the task id, the task state and the remote agent from its Agent Card. Group those spans by server or by remote agent and you have call volume, failure rate and latency for each dependency, including ones you do not operate.
Do A2A or MCP report what a call cost?
No. Neither protocol carries token usage or cost. An MCP server does not tell the client what a tool call cost it, and an A2A task has no usage field. You can price the model calls your own agent made around the call, but a remote agent's spend is visible only if that agent reports it to you some other way.