AgentFlare

Research · Agent economy · updated 2026-11-20

Model Context Protocol (MCP) Explained

The Model Context Protocol (MCP) is an open standard, introduced by Anthropic in November 2024, that lets AI agents discover and call external tools and data through one interface. It reduces integrations from N×M to N+M and is now stewarded under the Linux Foundation.

Sources88 domains
Concepts6
Reading time7 min
RefreshedWeekly
402 · Pay-per-Crawl$0.02

You're reading the full report — free for humans and search engines. The same content ships as a structured JSON dataset (normalized facts, sources and citation arrays, no HTML parsing) so AI agents can consume it directly — metered per fetch via the open HTTP 402 payment protocol.

⚡ Agents: fetch .data.json · $0.02 → agents: crawlerAutoPrice=true · verify at https://esa.aisa.one/api/v1/access/verify

The Model Context Protocol (MCP) is an open standard and open-source framework that standardizes how AI systems such as LLMs connect to external tools, systems and data sources. Anthropic introduced it in November 2024, and it was created by engineers David Soria Parra and Justin Spahr-Summers. Before MCP, developers often built custom connectors for each tool, and each agent framework wired up tools in its own way. MCP replaces that with a client-server model: agents act as clients, and tools and data sources sit behind servers that expose tools, resources and prompts. Major AI providers, including OpenAI and Google DeepMind, adopted it, and in December 2025 Anthropic donated it to the Agentic AI Foundation under the Linux Foundation. This brief covers the architecture, transports, integration steps, security cautions and common questions.

November 2024Anthropic introduced MCP as an open standardS7 · en.wikipedia.org
December 2025Anthropic donated MCP to the Agentic AI FoundationS7 · en.wikipedia.org
N+MTotal integrations with MCP, versus N×M without itS2 · databricks.com
mcp>=1.19.0,<3mcp Python package range supported by the Agents SDKS4 · openai.github.io

Key concepts

MCP host, client, server
A host is typically an AI agent that talks to an LLM and needs services from MCP servers. For each server the host creates a dedicated client. Servers expose tools and data through the protocol. S7 · en.wikipedia.orgS1 · spaceandstory.co
Tools, resources, prompts
The three capability types a server can expose: tools are executable functions the agent can call, resources are data sources it can read, and prompts are reusable prompt templates it can pull in. S1 · spaceandstory.co
Transport layer
The layer that carries client-server communication, typically stdio for local tools and HTTP/SSE for remote ones. The OpenAI Agents SDK also supports Streamable HTTP servers. S1 · spaceandstory.coS4 · openai.github.io
N×M integration problem
Without a shared protocol, every AI application must integrate directly with every external service, giving N×M integrations. With MCP each client and server implements the protocol once, giving N+M. S2 · databricks.comS7 · en.wikipedia.org
Hosted MCP server tools
A deployment option where the AI service calls or manages a remote MCP server on the model's behalf, such as OpenAI's Responses API with HostedMCPTool or Microsoft Foundry's hosted MCP integration. S4 · openai.github.ioS5 · learn.microsoft.com
MCP Registry
A catalog of published MCP servers. The official MCP Registry is referenced for finding remote servers, and GitHub maintains its own MCP Registry of partner and community servers. S4 · openai.github.ioS8 · docs.github.com

Connecting an MCP server to your own agent code

  1. Handshake with the MCP serverOn startup the client connects to the server over a transport such as Streamable HTTP and completes the protocol handshake.
  2. Fetch the list of toolsAfter the handshake the client asks the server for its tools, including names, descriptions and parameters.
  3. Convert tools to provider formatThe tool definitions are mapped to whatever format your LLM inference provider expects, for example function-style tool definitions.
  4. Supply tools in the inference requestThe converted tools are included in the LLM API call so the model can decide whether to call one.
  5. Route tool calls to the serverIf the response shows the model wanted a tool, the call request is passed to the MCP server.
  6. Return results and loopThe tool result goes into another inference request so the model can choose its next move. If no tool is requested, treat the response as a normal answer.

Architecture and capabilities

MCP defines a standard way for AI agents, acting as clients, to find external tools and data sources, acting as servers, and to connect to them. According to the Wikipedia entry, the protocol distinguishes MCP hosts, clients and servers: a host is typically an AI agent that interacts with an LLM and requires services from one or more MCP servers, and for each server the host creates a dedicated client. A server can expose three kinds of capability: tools, which are executable functions; resources, which are data sources the agent can read; and prompts, which are reusable prompt templates. The client finds available servers, reads their tool descriptions and invokes tools. This separation gives a clean abstraction layer between the agent and its tools. A tool server built once can be used by any MCP-compatible agent, instead of being tied to one framework such as LangChain or Google ADK.

Transports and platform support

S1 describes the transport as typically stdio for local tools and HTTP/SSE for remote ones. The OpenAI Agents Python SDK offers four options: hosted MCP server tools via HostedMCPTool, Streamable HTTP servers via MCPServerStreamableHttp, HTTP with SSE servers via MCPServerSse, and local stdio servers via MCPServerStdio. It supports both major versions of the mcp Python package through the dependency range mcp>=1.19.0,<3, and the installed package version is separate from the protocol version negotiated with a server. With MCP Python SDK v2, the client first sends a server/discover probe and falls back to the legacy initialize handshake for older servers. Microsoft Foundry agents can connect to tools on remote MCP servers using your own endpoint, with AllowedTools limiting which tools are usable. GitHub Copilot supports MCP in Visual Studio Code, Visual Studio, JetBrains IDEs, Xcode and Eclipse, in Copilot CLI, and in the cloud agent.

Security and governance

MCP tools can expose data from the model context and perform actions with the credentials you provide, so the OpenAI Agents SDK documentation advises connecting only to servers you trust and using least-privilege credentials. It also advises keeping access tokens in authorization fields or headers rather than URLs, and requiring approval for sensitive operations. Microsoft's Foundry sample exposes an approval setting on the MCP tool resource and warns that DefaultAzureCredential, while convenient for development, needs careful consideration in production, where a specific credential such as ManagedIdentityCredential is suggested. At the organization level, GitHub lets enterprises enable or disable MCP use through the MCP servers in Copilot policy, which is disabled by default. That policy applies only to users with a Copilot Business or Copilot Enterprise subscription from an organization or enterprise that configures it. GitHub also notes that MCP adds connections to tools and data and does not replace guidance about how the agent should work.

Integration with and without MCP

AspectWithout MCPWith MCP
Integration countN×M separate integrations between tools and clientsN+M, since each client and server implements the protocol once
Tool portabilityA tool built for LangChain does not work with Google ADKA server built once can be discovered and used by any MCP-compatible agent
Tool connectionConnections hardcoded to each external serviceAgents discover and interact with tools and data sources at runtime
Vendor dependenceDuplicated integration work and vendor lock-inReduced vendor lock-in through a shared open standard

Timeline

  1. 2023
    OpenAI's function-calling API and ChatGPT plug-ins addressed similar needs with vendor-specific connectors.en.wikipedia.org
  2. 2024-11
    Anthropic announces MCP as an open standard for connecting AI assistants to data systems.en.wikipedia.org
  3. 2025-12
    Anthropic donates MCP to the Agentic AI Foundation, a Linux Foundation directed fund.en.wikipedia.org
  4. 2025-12
    Anthropic publishes Agent Skills, a companion open standard for task-specific instructions.en.wikipedia.org

Common pitfalls

  • MCP tools can act with the credentials you provide. Connect only to trusted servers, use least-privilege credentials, and require approval for sensitive operations.
  • Do not put access tokens in URLs. Keep them in authorization fields or headers when configuring remote MCP servers.
  • The installed mcp package version is separate from the protocol version negotiated with a server, so upgrading the package does not force the newest protocol version on every connection.
  • GitHub's MCP servers in Copilot policy is disabled by default and does not govern Copilot Free, Pro, Pro+ or Max users.

Key takeaways

  • MCP is an open client-server standard that lets any compatible agent use any compatible tool server, reducing integrations from N×M to N+M.
  • Choose a transport by where tools run: stdio for local processes, Streamable HTTP or HTTP with SSE for remote servers, or hosted MCP tools.
  • Treat MCP servers as privileged code paths: trust only vetted servers, use least-privilege credentials, and require approvals for sensitive actions.

FAQ

What problem does the Model Context Protocol solve?

It removes the need for custom connectors per tool and per agent framework. Each client and server implements the protocol once, so integrations drop from N×M to N+M and tools built once work across MCP-compatible agents.

Which transports does MCP use?

Typically stdio for local tools and HTTP/SSE for remote ones. The OpenAI Agents Python SDK supports stdio, HTTP with SSE, Streamable HTTP, and hosted MCP server tools.

Who created and maintains MCP?

Anthropic introduced it in November 2024, created by engineers David Soria Parra and Justin Spahr-Summers. In December 2025 it was donated to the Agentic AI Foundation, a Linux Foundation directed fund co-founded by Anthropic, Block and OpenAI.

How do I connect an MCP server to my own agent code?

Handshake with the server, fetch its tool list, convert tools to your LLM provider's format, and include them in inference requests. Pass any model tool calls to the server and return results to the model. SDKs such as the OpenAI Agents SDK handle much of this.

How this page is made. Built from the full text of 8 sources found with the AISA Tavily API (advanced search), refreshed weekly. A language model organizes what those sources state into the blocks above; each block links the sources it draws on, and figures that do not appear in the sources are removed.

Sources & citations

  1. Model Context Protocol (MCP): The New Standard for Agent-Tool Integration spaceandstory.co
  2. What is the Model Context Protocol (MCP)? | Databricks databricks.com
  3. Building Intelligent AI Agents with MCP: A Complete Guide to the Model Context Protocol medium.com
  4. Model context protocol (MCP) - OpenAI Agents SDK openai.github.io
  5. Hosted MCP Tools | Microsoft Learn learn.microsoft.com
  6. How to actually use Model Context Protocol seangoedecke.com
  7. Model Context Protocol - Wikipedia en.wikipedia.org
  8. Model Context Protocol (MCP) - GitHub Docs docs.github.com