MCP vs A2A
31 sourced facts · updatedMCP or A2A: what is the difference between the agent protocols?
MCP tells an agent which tool to use. A2A is how agents talk to each other. They are not rivals: in one shopping demo the customer's agent sends an A2A message to the merchant's agent, which finds products with an MCP tool call. Reach for MCP when an agent needs tools and data; reach for A2A when the work is a task handed to another agent. Both are in wide use, but the sources describe a crowded, early field. [1][2][3]
In the knowledge graph: The product search a merchant's agent answers is an MCP tool call; this yard carries the task between the two agents.
The difference between MCP and A2A
| MCP | A2A | |
|---|---|---|
| What it connects | An agent app and the tools on a server. Figma found that in many clients only tools worked. [4] | Agents and other agents. A2A is client-server: for two agents to send tasks to each other, both must act as client and server. [1][5] |
| How the other side is found | Registries and catalogs: Claude, uniquely, searches the MCP registry for a connector when no tool fits, and the sources list aicatalog.json and Agentic Resource Discovery as emerging. [6][7] | Each A2A agent publishes an Agent Card at /.well-known/agent-card.json with its name, capabilities and endpoint, so adding a remote agent is adding a URL. Band's CTO says discovery is not part of A2A itself, so someone has to plan which agent to call. [8][9] |
| Long-running work | MCP Tasks lets a tool call return a handle so a long job can finish in the background; the spec published in November marked it experimental, Curn says most clients do not support it, and it later became generally available. [10][11][12] | Remote agents are a distributed system of non-deterministic services and need ordered delivery, retries, continuity and a mapping of conversation and thread identifiers; chained A2A calls meet REST timeouts. [13][5] |
| Who is trusted | Mostly the user's token: an MCP server usually sees only that token, so it cannot tell whether the user or an agent made the request. [14] | Each side has to be allowed in: in the Band demo one agent can talk to another user's agent only after a contact request is approved by both sides. [15] |
| How it goes wrong | Tool poisoning hides instructions in an MCP tool, for example telling it to send your API keys and tokens, and servers are easy to publish to registries. [16] | Trust between agents: text planted in content, read by one agent and handed to another as an ordinary task, was obeyed by the second agent because it trusted the first. Google's ADK RemoteA2aAgent sends a turn to only one remote agent, so a query needing several agents at once must use the a2a-sdk directly. [17][18] |
| How settled it is | Widely used, with the SDK at 8.3 million downloads per week per Garza, but still changing: a new spec version deprecated a transport a few weeks after Figma settled its architecture. [19][20] | In the sources' own words, MCP and A2A are in wide use, ACP and UCP are out there, and AP2 usage, identity and checkout delegation are still forming. [3] |
When to use MCP
- An agent needs your data or tools: Vanguard exposed migration documentation through MCP and says producer support chats dropped greatly. [21]
- You want access scoped per user: one argument is that an MCP client runs per-user OAuth and scoped tool permissions outside the sandbox, where a CLI or raw curl would put API keys on disk or in environment variables. [22]
- Your problem is context, not connections: LinkedIn says MCP cannot scale past 30-40 tools without hurting performance, so tool lists need meta tools or search, and Anthropic reports more than 85% less context from Tool Search in multi-server setups. [23][24]
When to use A2A
- The work is a task for another party's agent, not a tool call: the caller fetches Agent Cards and routes at run time, so adding a remote agent is adding a URL, not redeploying. [8][1]
- An agent has to buy from another company: the sources describe checkout and mandate protocols (ACP, UCP, AP2) beside A2A, where the owner signs what the agent may do and a merchant asks who authorized it, what it can buy, the maximum amount and how to revoke it. [1][25][26]
- Agents from different parties must talk only with consent: in the Band demo one agent can only talk to another user's agent after a contact request is approved by both sides. [15][5]
Using MCP and A2A together
They sit at different joints of one system. In the shopping demo the customer agent sends an A2A message to the merchant agent, and the merchant agent answers by calling an MCP tool named product search. The agent-protocols map adds ACP and UCP for commerce and AP2 for payment. Security carries across: one researcher got agents at Google and four other organizations to forward injected instructions to other internal agents, which obeyed because they trust each other and MCP servers hold each agent's credentials. [2][1][27]
Is passing instructions between MCP and A2A a new kind of attack?
The sources disagree. One side says it deserves its own name, protocol pivoting: an attacker enters through one protocol such as MCP and uses trust between agents to reach what another protocol such as A2A can do. The other says it is plain indirect prompt injection, and that the malicious text crossing protocols is not required for such attacks to work. [28][29][30][31]