Skip to content
Welzin
← All posts

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

MCP vs A2A: How AI Agents Talk to Tools - and to Each Other
Image source
Contents

Summarize using AI

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:

  1. 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.
  2. 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.

text
        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:

python
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:

text
{
  "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:

  1. 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.
  2. 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.
  3. The Orchestrator then sends the extracted line items to the Invoice-Reconciler over A2A.
  4. The Invoice-Reconciler reaches down over MCP to the accounting database, runs its matching logic, and streams flagged discrepancies back up.
  5. The Orchestrator composes the final report for the user.
text
   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…UseWhy
Query a database or call an APIMCPAgent-to-tool connection
Read files, run code, use a serviceMCPAgent-to-tool connection
Expose an internal capability so any agent can use itMCPWrap it as a tool once, reuse everywhere
Hand a subtask to a specialist agentA2AAgent-to-agent coordination
Discover what other agents can doA2APeer discovery via Agent Cards
Stream a long-running result back to a callerA2ATask/streaming is a peer interaction
Coordinate agents across org or team boundariesA2AWorks without a shared codebase
Build a single agent with many toolsMCPIt's a tool-integration problem
Build a multi-agent workflowBothA2A 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

Written by Aman Mundra - Founder & CEO, Welzin · Co-founder & CEO, CogNerd · ex-PayPal ML.

Frequently asked questions

What is the difference between MCP and A2A?

MCP (Model Context Protocol) defines how an AI agent connects vertically to tools, data, and applications, so it is the agent-to-tool link. A2A (Agent-to-Agent) defines how agents discover and coordinate with each other as peers, so it is the agent-to-agent link. They are complementary rather than competing: the rule of thumb is that MCP goes down to tools and A2A goes sideways between agents, and both now live under the Linux Foundation.

What is an Agent Card in the A2A protocol?

An Agent Card is the core primitive of A2A: a manifest that advertises what an agent can do, including its name, description, capabilities, endpoint, and whether it streams. Other agents read that card to discover the agent and send it tasks without any bespoke integration or shared codebase. This discoverability is what lets an agent call a peer it has never seen before, which is exactly what is needed when agents span teams, vendors, or company boundaries.

If I am only building a single agent, do I need A2A?

No. If you are 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. The practical guidance is to start with MCP and reach for A2A when you split one agent into a coordinated team.

Can MCP or A2A be locked behind a paywall by one vendor?

No, and that is precisely why they are considered safe to build on. Both are open standards under Linux Foundation governance, with MCP inside the Agentic AI Foundation (AAIF) and A2A in the broader LF agentic ecosystem, backed by multiple vendors including AWS, Google, Microsoft, Anthropic, and OpenAI. Neutral, multi-vendor governance means no single company can pull them behind a paywall. A2A reached v1.0 in April 2026 and is supported by 150+ organizations, while MCP reached 97 million monthly SDK downloads by March 2026.

Tell us the number you want to move.

A metric that’s stuck, a system that needs rescuing, or a build you want scoped - a senior engineer reads every note.

Prefer email? Write to us directly.