---
title: Your platform exposes internal capabilities to agents. When would you publish something as an MCP server, and when as…
url: https://gurkanozkan.ai/learn/questions/recent-a-agents-01/
markdown: https://gurkanozkan.ai/learn/questions/recent-a-agents-01.md
kind: question
role: Applied LLM
stage: Technical
difficulty: Medium
json: https://gurkanozkan.ai/api/learn/questions/recent-a-agents-01.json
robots: noindex
---

# Your platform exposes internal capabilities to agents. When would you publish something as an MCP server, and when as an A2A agent? Compare what each protocol standardises, how authorisation and long-running work are handled, and the security risks you would plan for.

Applied LLM · Technical · Medium

## Answer

*Model answer, written in a candidate's voice*

### In short

- Publish MCP when the thing being exposed is a capability a host or agent should call directly; publish A2A when the thing being exposed is an independent agent that other agents should delegate work to.
- MCP standardises agent-to-tool access: tools, resources and prompts, with clients listing schemas; A2A standardises agent-to-agent delegation, with agents keeping internals opaque and publishing an Agent Card for skills, endpoints and auth.
- Remote MCP servers should act as OAuth resource servers with scoped tokens, not shared keys; A2A relies on standard web auth declared in the Agent Card.
- A2A models long-running work as tasks with lifecycle states and streaming or push updates; MCP added tasks experimentally in the 2025-11-25 revision and moved them into an extension when the 2026-07-28 revision made the protocol stateless, with state passed as explicit handles rather than sessions.
- Plan for tool-description poisoning, silent definition changes, over-broad tokens, cross-server exfiltration and untrusted remote agents.
- Mitigate with allow-lists, pinned versions, least-privilege scopes, approval for side effects and audit logs.

### In full

I would publish an MCP server when the unit of reuse is a capability: a tool, resource or prompt that a host or agent can discover and call directly, with the host keeping control of orchestration. I would publish an A2A agent when the unit of reuse is a self-contained worker with skills that other agents should delegate to, while keeping its internals opaque. MCP standardises agent-to-tool access, so clients list the server's tools and schemas; A2A standardises agent-to-agent delegation, so agents publish an Agent Card describing skills, endpoints and auth. For authorisation, remote MCP servers should behave as OAuth resource servers that accept scoped tokens issued by an authorisation server, rather than relying on shared keys, while A2A relies on standard web auth declared in the Agent Card. For long-running work, A2A models tasks with lifecycle states and streaming or push updates; MCP added tasks experimentally in the 2025-11-25 revision and moved them into an extension when the 2026-07-28 revision made the protocol stateless, with state passed as explicit handles rather than sessions. The main risks are tool-description poisoning, silent definition changes, over-broad tokens, cross-server exfiltration and untrusted remote agents, so I would use allow-lists, pinned versions, least-privilege scopes, approval for side effects and audit logs.

*Corrected by an independent AI reviewer.*

## What a strong answer covers

- MCP connects one agent or host to tools, resources and prompts (agent-to-tool); A2A connects independent agents that negotiate and delegate tasks (agent-to-agent), each keeping its own internals opaque
- Discovery: MCP clients list a server's tools and schemas; A2A agents publish an Agent Card describing skills, endpoints and auth
- Authorisation: remote MCP servers act as OAuth resource servers with scoped tokens rather than shared keys; A2A relies on standard web auth declared in the Agent Card
- Long-running work: A2A models tasks with lifecycle states and streaming or push updates; MCP added tasks experimentally in its 2025-11-25 revision and moved them into an extension when the 2026-07-28 revision made the protocol stateless (no sessions; state passed as explicit handles)
- Security: tool-description poisoning and silent definition changes, over-broad tokens, cross-server exfiltration, untrusted remote agents; mitigations are allow-lists, pinned versions, least-privilege scopes, approval for side effects and audit logs

## Common mistakes

- Treating MCP and A2A as competing replacements rather than complementary layers
- Assuming the protocol adds capability or security by itself, when the host still decides what the model may see and do

## Follow-ups

- A2A moved to the Linux Foundation in 2025 and MCP to its Agentic AI Foundation in December 2025. Why does neutral governance matter to an enterprise adopting them?
- How would you version and pin a third-party MCP server in production?

## Topic guides

- [Agents and tool use](https://gurkanozkan.ai/learn/topics/agents.md)
- [Building LLM applications](https://gurkanozkan.ai/learn/topics/llm-applications.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
