WOSS
MCP vs A2A: How AI Agents Talk to Tools - and to Each Other
Aman Mundra · July 4, 2026 · 7 min read · Updated August 27, 2026

Contents
- What problem does each protocol solve?
- What is MCP (Model Context Protocol)?
- What is A2A (Agent-to-Agent)?
- How do MCP and A2A work together? (a worked example)
- When do you use MCP vs A2A?
- How do they fit into the bigger picture?
- Frequently asked
- What is the difference between MCP and A2A?
- Are MCP and A2A competitors?
- Which should I use for my agent project?
- Do I need A2A if I only have one agent?
- Who governs MCP and A2A, and can they be locked behind a paywall?
- References
TL;DR - MCP and A2A are the two open protocols that make multi-agent systems interoperable - and they are complementary, not competing. MCP (Model Context Protocol) defines how an agent connects to tools and data. A2A (Agent-to-Agent) defines how agents discover and collaborate with each other. Both now live under the Linux Foundation. Here's how each works, with examples, and how to use them together.
Updated August 27, 2026 for MCP's 2026-07-28 specification and A2A's move into AAIF as its fifth hosted project.
"Should I use MCP or A2A?" is the wrong question. It's like asking whether to use HTTP or DNS. You use both, for different jobs.
Once you see the split clearly, the entire agentic stack snaps into focus.
What problem does each protocol solve?
An agent needs to do two fundamentally different things:
- Reach outward to tools - query a database, call an API, read a file, run code. That's a vertical connection from an agent down to a capability.
- Coordinate with other agents - hand off a task, stream a partial result, ask a specialist agent for help. That's a horizontal connection between peers.
MCP owns the vertical. A2A owns the horizontal.
Agent <──── A2A ────> Agent (peers coordinating)
│ │
MCP MCP (each reaching down to tools)
│ │
[ tools · data · APIs ] [ tools · data ]
Confuse them and you'll build something brittle. Separate them and you get a clean, interoperable architecture.
What is MCP (Model Context Protocol)?
MCP is the open standard for connecting AI models and agents to tools, data, and applications. The current 2026-07-28 protocol revision made the HTTP core stateless, moved long-running Tasks into an extension, and tightened remote authorization. Current Tier 1 SDKs include TypeScript, Python, Go, and C#.
MCP was donated to the Linux Foundation's Agentic AI Foundation (AAIF) in December 2025. Its protocol and SDKs now evolve under open, multi-vendor governance rather than a single product roadmap.
A minimal MCP server exposing one tool looks like this:
from mcp.server import MCPServer
mcp = MCPServer("weather-tools")
@mcp.tool()
def get_forecast(city: str) -> str:
"""Return the weather forecast for a city."""
# ...call your weather API...
return f"Sunny, 31°C in {city}"
With the current Python SDK installed via uv add "mcp[cli]", run uv run mcp dev server.py to open the server in MCP Inspector. The SDK derives input schema from the type hints and docstring. The same protocol contract can then be consumed by any compatible host; the SDK is an implementation convenience, not the interoperability boundary.
What is A2A (Agent-to-Agent)?
A2A defines how agents discover each other and interact as peers - sharing tasks, streaming results, and coordinating work across organizational boundaries. It reached v1.0 in March 2026, supports multiple protocol bindings, and joined AAIF on August 17, 2026 after its earlier donation by Google to the Linux Foundation.
The core primitive is the Agent Card - a manifest that advertises what an agent can do, so other agents can find and call it:
{
"name": "invoice-reconciler",
"description": "Matches invoices to payments and flags discrepancies",
"version": "1.0.0",
"supportedInterfaces": [
{
"url": "https://agents.example.com/a2a/v1",
"protocolBinding": "HTTP+JSON",
"protocolVersion": "1.0"
}
],
"capabilities": { "streaming": true },
"defaultInputModes": ["application/json", "text/plain"],
"defaultOutputModes": ["application/json"],
"skills": [
{
"id": "reconcile-invoices",
"name": "Invoice reconciliation",
"description": "Match invoices to payments and flag discrepancies",
"tags": ["reconciliation", "finance"]
}
]
}
The public card is conventionally discoverable at /.well-known/agent-card.json. One agent reads another's card, chooses a supported interface, sends a Message, and receives either a direct Message or a tracked Task. Long-running work can stream status and artifact updates or use asynchronous push notifications. The agents do not need a shared codebase, framework, model provider, internal memory format, or tool implementation.
How do MCP and A2A work together? (a worked example)
The two protocols are easiest to understand when you watch them run side by side. Imagine an expense-reporting workflow with three agents:
- an Orchestrator agent that owns the user's request,
- a Receipt-Reader agent that extracts line items from uploaded images, and
- an Invoice-Reconciler agent (the one whose Agent Card we saw above) that matches those line items against payment records.
Here is how a single "reconcile last month's expenses" request flows through the stack:
- The Orchestrator reads the Receipt-Reader's Agent Card and sends it a task over A2A: "parse these 40 receipt images." This is a sideways, agent-to-agent hop.
- Internally, the Receipt-Reader reaches down over MCP to an OCR tool and a storage bucket - tools it owns - to do the actual extraction. The Orchestrator never sees those tools; it only sees the result streamed back over A2A.
- The Orchestrator then sends the extracted line items to the Invoice-Reconciler over A2A.
- The Invoice-Reconciler reaches down over MCP to the accounting database, runs its matching logic, and streams flagged discrepancies back up.
- The Orchestrator composes the final report for the user.
User
│
Orchestrator ──A2A──> Receipt-Reader ──MCP──> [ OCR · storage ]
│
└────────A2A──────> Invoice-Reconciler ──MCP──> [ accounting DB ]
Notice the pattern: every arrow between agents is A2A; every arrow from an agent to a capability is MCP. No agent hard-codes another agent's tools - the Orchestrator doesn't know or care which OCR engine the Receipt-Reader uses. You could swap the Receipt-Reader for a different vendor's agent while keeping the orchestrator's protocol flow stable, provided the replacement preserves the expected skill semantics, authentication, error behavior, and artifact contract. That bounded substitutability is the payoff of keeping the two protocol responsibilities separate.
When do you use MCP vs A2A?
| You want an agent to… | Use | Why |
|---|---|---|
| Query a database or call an API | MCP | Agent-to-tool connection |
| Read files, run code, use a service | MCP | Agent-to-tool connection |
| Expose an internal capability so any agent can use it | MCP | Wrap it as a tool once, reuse everywhere |
| Hand a subtask to a specialist agent | A2A | Agent-to-agent coordination |
| Discover what other agents can do | A2A | Peer discovery via Agent Cards |
| Stream a long-running result back to a caller | A2A | Task/streaming is a peer interaction |
| Coordinate agents across org or team boundaries | A2A | Works without a shared codebase |
| Build a single agent with many tools | MCP | It's a tool-integration problem |
| Build a multi-agent workflow | Both | A2A between agents, MCP under each |
The rule of thumb: MCP goes down, A2A goes sideways.
How do they fit into the bigger picture?
Both protocols are now hosted by the Agentic AI Foundation (AAIF) under the Linux Foundation. They remain separate projects with different protocol responsibilities, but they now share the same neutral foundation. For the full five-project picture, see the AAIF developer guide.
In a cloud-native deployment, this maps cleanly: run your agents on Kubernetes (via a runtime like kagent, which speaks MCP natively), let each agent reach its tools over MCP, and let agents coordinate over A2A. Replaceable protocol boundaries reduce integration lock-in, but they do not eliminate dependencies on schemas, authentication, deployment choices, or vendor-specific behavior. This is the concrete CNCF↔AAIF bridge: CNCF gives you the runtime to run agents; AAIF gives you the standards for how they connect and behave.
Frequently asked
What is the difference between MCP and A2A?
MCP (Model Context Protocol) defines how an AI agent connects to tools, data, and applications - the agent-to-tool link. A2A (Agent-to-Agent) defines how agents discover and coordinate with each other as peers - the agent-to-agent link. They are complementary: MCP goes down to tools, A2A goes sideways between agents.
Are MCP and A2A competitors?
No. They solve different problems and are designed to work together. A multi-agent system typically uses A2A for agents to coordinate and MCP for each agent to reach its own tools and data. Both are governed under the Linux Foundation.
Which should I use for my agent project?
Use MCP if you're connecting a single agent to tools, data, or APIs. Use A2A if you need multiple agents to discover and collaborate with each other. A production system may use both when it genuinely has both boundaries: A2A between peer agents and MCP between an agent and its tools.
Do I need A2A if I only have one agent?
No. If you're building a single agent that connects to tools, databases, and APIs, MCP alone is enough - A2A only earns its place once you have multiple agents that need to discover and delegate to each other. Start with MCP, and reach for A2A when you split one agent into a coordinated team.
Who governs MCP and A2A, and can they be locked behind a paywall?
Both are open standards hosted by the Agentic AI Foundation (AAIF) under the Linux Foundation. That neutral, multi-vendor governance reduces dependence on any single vendor's product roadmap, though engineering teams still need to manage version compatibility, security, and operational risk in their own deployments.
References
- MCP 2026-07-28 release
- MCP Python SDK v2
- A2A v1.0 specification
- A2A joins AAIF's open agentic stack
- AAIF Agent2Agent project page
Written by Aman Mundra - Founder & CEO, Welzin · Co-founder & CEO, CogNerd · ex-PayPal ML.











