Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Comparison

MCP vs A2A: tools for agents vs agents talking to agents

MCP connects one agent to tools and data, A2A lets separate agents hand off tasks. Compared on purpose, discovery, transport and long-running work.

By Checked
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On this page
  • MCP

    Connects an AI application to tools, data and prompts that MCP servers expose, so one agent can do more.

  • A2A

    Lets independent agents find each other, hand over tasks and return results, without sharing their internals.

MCP vs A2A: tools for agents vs agents talking to agents: summary
MCPA2A
ConnectsAn agent to tools, resources and promptsAn agent to another agent
The other sideA server whose tools the model calls directlyAn opaque agent with its own model, tools and memory
DiscoveryClient lists tools, resources and prompts from each serverAgent Card JSON, often at /.well-known/agent-card.json
Unit of workA tool call or a resource readA task with messages and output artifacts
TransportJSON-RPC 2.0 over stdio or Streamable HTTPJSON-RPC, gRPC or HTTP+JSON bindings
Long-running workProgress notifications; the Tasks extension (beta) adds polling and durable task handlesTask states, SSE streaming and push notifications
HomeAgentic AI Foundation (Linux Foundation)Agentic AI Foundation since August 2026; Apache 2.0

MCP and A2A work at different layers, so most teams need one or the other first, and only some need both. MCP connects an agent to tools and data: a database, an issue tracker, a folder of files. A2A connects an agent to another agent that someone else built and runs, so it can ask for work and get results back. If you are giving your own agent new abilities, you want MCP; if your agent has to delegate to an agent across a team or company boundary, you want A2A.

The A2A project describes the split itself: “A2A connects the agents to each other; MCP connects each agent to its own tools.” Both now sit in the Agentic AI Foundation, which A2A joined as a hosted project in August 2026. Facts on this page were checked against both specifications on 25 November 2026.

Pick MCP when

Your agent needs to reach a system it cannot otherwise touch. An MCP server wraps that system as tools the model can call, resources the application can read and prompts users can pick, and any MCP host can use it: Claude Code, Cursor, ChatGPT or your own client. The model sees each tool’s name, description and input schema and decides when to call it, with the host asking the user before sensitive calls.

This is the common case. Most “connect my agent to X” problems are MCP problems, and the MCP explained tutorial is the place to start. If you only need a few tools inside one application, plain function calling may be enough; MCP vs function calling covers that choice.

Pick A2A when

The thing on the other end is an agent, not a tool. It has its own model, prompts and tools that you cannot see, it may take minutes or hours, and it may come back with questions. A2A gives that exchange a shape: the remote agent publishes an Agent Card describing its skills, endpoint and authentication; your agent sends it a task; the task moves through states such as working, input required and completed; and results come back as artifacts, by streaming or by push notification.

Typical cases are agents owned by different companies (a travel agent asking a hotel’s agent to hold a room) or by different teams inside one company, each running on its own stack. The A2A tool page lists the official SDKs, and the glossary entry on Agent2Agent gives the short definition.

Use both when

You run several specialised agents that each need their own tools. The A2A documentation’s example is a car repair shop: a shop manager agent talks to the customer (or the customer’s own agent) over A2A; a mechanic agent uses MCP to reach its diagnostic scanner, repair database and vehicle lift, and uses A2A to order parts from a supplier’s agent. Each protocol does the job it was designed for, and neither replaces the other.

Use neither when

Everything runs inside one application you control. Subagents or your framework’s own handoffs are simpler than putting a protocol between two functions in the same process, and they are easier to debug. Reach for A2A when an agent crosses an ownership boundary, not before.

Before you commit

  • Write down what is on the other side of each connection: a system you call (MCP) or an agent that decides for itself (A2A).
  • Check authentication early. MCP has its own OAuth-based authorization for remote servers; A2A agents declare their schemes (API keys, OAuth 2.0, OpenID Connect, mutual TLS) in the Agent Card.
  • Treat whatever comes back as untrusted input. A tool result and a remote agent’s reply can both carry injected instructions; see MCP security risks.
  • Plan for long-running work. An A2A task can wait on a human for hours, so store task IDs and handle the input-required state. MCP servers can now run long jobs through the Tasks extension too, which is in beta.

For how agents split work between themselves inside one system, the multi-agent orchestration skill page collects the tutorials. For interactive results inside the chat rather than text, see MCP Apps.

Check your understanding

MCP vs A2A quiz

What MCP and A2A each connect, when to pick one, both or neither, Agent Cards, task states, authentication, untrusted results and long-running work.

7 questions · pass mark 70%

Question 1 of 70 answered
  1. You want your own agent to read and update tickets in your issue tracker. Which protocol fits?

Checked against

Back to top