Follow
Subscribe via Email!

Enter your email address to subscribe to this platform and receive notifications of new posts by email.

Model Context Protocol: How AI Connects to Tools and Data

Anthropic introduced the Model Context Protocol in 2024 to standardize how AI applications discover and call external tools, APIs, and data sources.
A dark minimalist background featuring partially cropped light blue text reading Model Context Proto.

Model Context Protocol is an open standard introduced by Anthropic in November 2024 that lets large language models connect to external tools, APIs, and data sources through one shared interface [3, 16]. Before it arrived, developers wrote separate custom connectors for every pairing of an AI application and a backend service, creating what Anthropic called an N×M integration problem [16]. MCP replaces those one-off bridges with a client-server design built on JSON-RPC 2.0 messages, and OpenAI, Google DeepMind, and Microsoft adopted it before Anthropic donated the specification to the Linux Foundation in December 2025 [4, 6, 7, 11].

Model Context Protocol Basics

Model Context Protocol defines a uniform way for AI applications to read files, query databases, and execute software functions without vendor-specific glue code. Engineers David Soria Parra and Justin Spahr-Summers built the specification at Anthropic in late 2024 so frontier models could reach live business data instead of relying only on static training text [3, 11, 16].

InfoWorld writer Simon Bisson wrote that the team behind the protocol compares it to a “USB-C port for AI applications” because one standard port replaces dozens of proprietary cables [11]. Rather than maintaining separate adapters for Slack, GitHub, and Postgres inside every chat app, engineers build one server for each data source and connect any compatible AI tool to it [3, 5]. Alex Albert, Anthropic’s head of Claude relations, told The Verge that teams can integrate the protocol once and “connect to data sources anywhere” [5]. At launch on November 25, 2024, Anthropic shipped the spec with Python and TypeScript SDKs, Claude Desktop support, and pre-built servers for Google Drive, Git, Slack, Postgres, and Puppeteer [3].

Early adopters Block, Apollo, Zed, Replit, Codeium, and Sourcegraph worked with the standard from launch, using Claude 3.5 Sonnet to generate server implementations [3, 5]. Block CTO Dhanji R. Prasanna said in Anthropic’s announcement that “open technologies like the Model Context Protocol are the bridges that connect AI to real-world applications” [3].

Timeline graphic of Model Context Protocol first-year milestones published by Anthropic
Anthropic published this summary of milestones reached during the first year of MCP before donating the protocol to the Linux Foundation. (Credit: Anthropic)

Hosts, Clients, and Servers

Every MCP deployment splits responsibilities among three participants: the MCP host, the MCP client, and the MCP server. The host is the user-facing AI application, such as Claude Desktop, Claude Code, Cursor, or Visual Studio Code, and it creates one dedicated client for each server connection [1, 11, 14].

Inside that host, each MCP client holds a one-to-one channel to its assigned server and passes the server’s capabilities back to the language model [1, 16]. Servers run locally on a developer’s machine or remotely in the cloud, exposing three core primitives that separate model actions from user templates [1, 15]. Tools are executable functions like database queries or API requests, resources supply read-only context such as database schemas or FAQ documents, and prompts hold reusable interaction templates [1, 16].

When a client connects, it calls discovery methods such as tools/list to fetch JSON Schemas and plain-language descriptions for each tool. If a model needs live data mid-conversation, the host directs the client to run tools/call and injects the result into the prompt [1, 16]. Clients can also support an elicitation primitive via elicitation/create so servers can ask users for extra input or approval [1].

Data and Transport Layers

Under the hood, the protocol separates message semantics from network plumbing across a data layer and a transport layer. The data layer formats requests, responses, and notifications in JSON-RPC 2.0, drawing directly from Microsoft’s Language Server Protocol [1, 15].

Local integrations use the stdio transport, which pipes standard input and output streams between processes on one computer with no network overhead. Remote deployments use Streamable HTTP, sending client requests over HTTP POST with optional Server-Sent Events for streaming [1]. InfoWorld reported that Microsoft pairs JSON-RPC traffic with Azure API Management so enterprises can enforce user-level credential controls [11].

Code interface screenshot showing an MCP send_message tool call with off-screen data exfiltration payload
Demonstration from Invariant Labs and Simon Willison showing how a poisoned MCP tool description hides stolen WhatsApp messages past the visible edge. (Credit: Simon Willison’s Weblog)

Remote connections also support bearer tokens, API keys, custom headers, and OAuth 2.1 flows [1, 16]. Clients that want live alerts when a server adds or removes tools can open an opt-in subscriptions/listen stream, while large hosts can load tools progressively instead of stuffing every schema into the model’s prompt upfront [1]. In 2026 benchmarks, Anthropic reported roughly 85 percent lower token use in Claude Code after deferring tool loading whenever descriptions exceed 10 percent of the context window [9].

The July 2026 Stateless Revision

On July 28, 2026, maintainers finalized the 2026-07-28 specification revision, dropping protocol-level session tracking in favor of stateless requests [1, 8]. Anthropic built the first release around local desktop coding tools, so moving servers behind cloud load balancers exposed friction in session supervision [8, 9].

David Soria Parra said during a July 2026 livestream that the update brought the “most substantial changes we have made to the specification, probably since adding authorization,” adding that “a lot of things that made MCP are gone”. Anchored by transport proposal SEP-1442, every request carries protocol version, client identity, and capabilities inside a _meta field, while HTTP headers mirror routing data so load balancers don’t need to inspect JSON-RPC payloads. Maintainers also deprecated sampling, roots, and protocol logging—steering developers to stderr or OpenTelemetry—for at least 12 months, and moved long-running Tasks (SEP-1686) into an optional extension [1, 8, 9, 16].

Anthropic engineer Den Delimarsky said extensions let teams test domain features without bloating the core spec, pointing to MCP Apps [8]. Released on January 26, 2026 on top of mcp-ui, MCP Apps lets servers render sandboxed HTML and JavaScript interfaces inside Claude, ChatGPT, VS Code, Goose, Postman, and MCPJam [9, 16]. Stacklok CEO Craig McLuckie, a co-creator of Kubernetes, told The Register that statelessness gives security teams a familiar control point, though Stacklok warned that 2026-07-28 servers aren’t automatically compatible with legacy clients [8].

Video thumbnail for the Building Agents with MCP workshop featuring Mahesh Murag of Anthropic
Mahesh Murag of Anthropic led the AI Engineer Summit workshop covering MCP server and client architecture. (Credit: AI Engineer)

Why Developers Backed MCP

Software ecosystems had seen earlier tool interfaces—including OpenAI’s 2023 function-calling API, ChatGPT plug-ins, and OpenAPI wrappers—so rapid adoption wasn’t guaranteed [15, 16]. In a March 2025 analysis for Latent Space, editors argued MCP gained traction because it adapted Microsoft’s proven LSP, shipped with 19 reference servers and MCP Inspector, and focused purely on dynamic context after a February 2025 AI Engineer Summit workshop with Barry Zhang and Mahesh Murag drew nearly 300,000 views [15].

Major competitors soon joined. On March 26, 2025, OpenAI CEO Sam Altman posted on X that “people love MCP and we are excited to add support across our products,” starting with the Agents SDK before adding the ChatGPT desktop app, Responses API, and third-party ChatGPT apps in September 2025 [6, 16]. Anthropic chief product officer Mike Krieger welcomed OpenAI on X, and on April 9, 2025, Google DeepMind CEO Demis Hassabis said Gemini models and SDKs would adopt MCP, calling it “rapidly becoming an open standard for the AI agentic era” [6, 7].

Microsoft rolled out support in Copilot Studio, published a Playwright MCP server on GitHub, and integrated the standard into Semantic Kernel, Azure AI Foundry, and the open-source Azure MCP Server for Azure CLI and Azure Monitoring queries [11, 12]. On December 9, 2025, Anthropic donated MCP to the Linux Foundation’s new Agentic AI Foundation with co-founders Block and OpenAI and backers Google, Microsoft, AWS, Cloudflare, and Bloomberg, reporting over 10,000 active public servers and 97 million monthly Python and TypeScript SDK downloads [4, 16].

Thumbnail image for Day 1 of the MCP Dev Summit hosted by the Agentic AI Foundation
Day 1 livestream recording from the 2026 MCP Dev Summit North America in New York. (Credit: Agentic AI Foundation)

Enterprise Gateways

By spring 2026, enterprise engineering teams had moved beyond laptop tests to centralized gateways [9, 10]. Roughly 1,200 attendees gathered at the New York Marriott Marquis on April 2–3, 2026 for the Agentic AI Foundation’s first North America MCP Dev Summit, where Linux Foundation executive director Jim Zemlin said the group had passed 100 members and speakers from AWS, Uber, Docker, Kong, and Solo.io backed gateway-and-registry control planes [9, 16].

Uber engineers Meghana Somasundara and Rush Tehrani described running tens of thousands of weekly agent executions across thousands of internal Thrift, Protobuf, and HTTP endpoints through a Go-based GenAI Gateway that scrubs personal data before prompts reach external models. That gateway pattern resembles service mesh microservice routing, though it inspects model-to-tool traffic rather than backend container calls. In May 2026, Salesforce reported 4.5 million MCP calls on its Headless 360 platform since April, while Amazon principal engineer James Hood outlined internal discovery registries and an open-source agent-sop project [9, 16].

Cloudflare pitched a remote-only model in April 2026 pairing Cloudflare Access for SSO, MFA, and DLP with an AI Gateway and “Code Mode,” which Cloudflare said cuts token overhead by up to 99.9 percent [10]. On November 30, 2026 at AWS re:Invent in Las Vegas, Commvault unveiled the Clumio Model Context Protocol Server with Clumio CloudRecover ThreatDetect for Amazon Elastic Compute Cloud backups, and Commvault executive Poojan Kumar and Omdia analyst Todd Thiemann said the setup feeds agents recovery signals while keeping humans in charge of high-risk actions [13].

How Does MCP Handle Security?

MCP’s specification requires OAuth 2.1 protections, bans token passthrough, and urges human approval prompts, yet researchers say live deployments face prompt-injection and software bugs [1, 2, 14, 16]. In April 2025, Invariant Labs and programmer Simon Willison demonstrated tool poisoning attacks that bury malicious instructions inside tool descriptions that models read but users rarely see [14, 16].

Willison highlighted researcher Elena Cross’s warning on silent “rug pulls,” where an approved tool alters its description days later to steal secrets, and cross-server shadowing, where a rogue server hijacks calls meant for a trusted one. In an Invariant Labs test against whatsapp-mcp, hidden instructions padded stolen chat logs with dozens of spaces so the payload sat off-screen in Cursor’s interface [14]. Software flaws surfaced as well: JFrog disclosed CVE-2025-6514 (CVSS 9.6) in July 2025, a command-execution bug in mcp-remote versions 0.0.5 through 0.1.15 fixed in 0.1.16, and researchers reported CVE-2025-49596 in Anthropic’s unauthenticated MCP Inspector [16].

Thumbnail image for Day 2 of the MCP Dev Summit NYC livestream
Day 2 sessions from the Agentic AI Foundation summit covering production MCP gateways and extensions. (Credit: Agentic AI Foundation)

The 2026-07-28 security guide prohibits passing client tokens unchanged to downstream APIs per RFC 9068 and details defenses against confused-deputy OAuth proxies and SSRF requests aimed at cloud metadata endpoints like 169.254.169.254 [2]. Even so, a May 2026 U.S. National Security Agency report said MCP’s “rapid proliferation has outpaced the development of its security model,” and a preprint study by Maloyan and Namiot—which hasn’t undergone peer review—reported that protocol choices raised attack success rates by 23 to 41 percent across 847 scenarios on their MCPBench suite, before their MCPSec extension cut those rates from 52.8 percent to 12.4 percent [16, 18].

Governance Limits

Analysts and academic teams stress that MCP standardizes tool connectivity, not identity governance or policy enforcement [10, 17, 19]. Forrester researchers said in April 2026 that organizations often mistake MCP for a governance framework when it actually behaves like an RPC transport layer [10].

Peer-reviewed studies back up that separation. In a 2026 paper in ACM Transactions on Software Engineering and Methodology, Hasan and colleagues scanned 1,899 open-source MCP servers—noting that 86 percent of enterprises use MCP-capable models and SDK downloads top 25 million a week—and found eight distinct vulnerability types despite healthy repository metrics, while Hou and co-authors mapped 16 threat scenarios across four server lifecycle phases in the same journal [17, 19]. Arcade.dev CEO Alex Salazar summarized the boundary at the 2026 Dev Summit by separating the model’s reasoning layer from an action layer where authorization and mutation checks live [9].

Because MCP doesn’t enforce network-wide access rules by itself, production stacks pair it with zero trust network defense, which verifies every user, device, and request rather than trusting connections inside a perimeter. Researchers have also detailed serverless MCP servers on AWS Lambda built with FastAPI, FastMCP, and zero-trust checks [20], and PerEXP Teamworks separately covered Google Home MCP server implementations for smart devices.

Sources
  1. WEBSITE Model Context Protocol. (2026, July 28). Architecture overview. Model Context Protocol. [Article Link]
  2. WEBSITE Model Context Protocol. (2026, July 28). Security best practices. Model Context Protocol. [Article Link]
  3. PRESS RELEASE Anthropic. (2024, November 25). Introducing the Model Context Protocol. Anthropic. [Article Link]
  4. PRESS RELEASE Anthropic. (2025, December 9). Donating the Model Context Protocol and establishing the Agentic AI Foundation. Anthropic. [Article Link]
  5. ONLINE NEWS Roth, E. (2024, November 25). Anthropic launches tool to connect AI systems directly to datasets. The Verge. [Article Link]
  6. ONLINE NEWS Wiggers, K. (2025, March 26). OpenAI adopts rival Anthropic’s standard for connecting AI models to data. TechCrunch. [Article Link]
  7. ONLINE NEWS Wiggers, K. (2025, April 9). Google to embrace Anthropic’s standard for connecting AI models to data. TechCrunch. [Article Link]
  8. ONLINE NEWS Jackson, J. (2026, July 23). Model Context Protocol prepares to break with its stateful past. The Register. [Article Link]
  9. ONLINE NEWS Hoblitzell, A. (2026, April 9). AAIF’s MCP Dev Summit: Gateways, gRPC, and observability signal protocol hardening. InfoQ. [Article Link]
  10. ONLINE NEWS Foster, M. (2026, April 22). Cloudflare outlines MCP architecture as enterprises confront security and governance risks. InfoQ. [Article Link]
  11. ONLINE NEWS Bisson, S. (2025, May 1). Using the Model Context Protocol in Azure and beyond. InfoWorld. [Article Link]
  12. ONLINE NEWS Jackson, F. (2025, March 28). OpenAI agents now support rival Anthropic’s protocol. TechRepublic. [Article Link]
  13. ONLINE NEWS Riley, D. (2026, November 30). Commvault adds ransomware detection and AI agent access to Clumio CloudRecover for AWS. SiliconANGLE. [Article Link]
  14. WEBSITE Willison, S. (2025, April 9). Model Context Protocol has prompt injection security problems. Simon Willison’s Weblog. [Article Link]
  15. WEBSITE Latent Space. (2025, March 10). Why MCP won. Latent Space. [Article Link]
  16. WEBSITE Wikipedia. (n.d.). Model Context Protocol. Wikipedia. [Article Link]
  17. ACADEMIC JOURNAL Hasan, M. M., Li, H., Fallahzadeh, E., Rajbahadur, G. K., Adams, B., & Hassan, A. E. (2026). Model Context Protocol (MCP) at first glance: Studying the security and maintainability of MCP servers. ACM Transactions on Software Engineering and Methodology. [Article Link]
  18. PREPRINT Maloyan, N., & Namiot, D. (2026). Breaking the protocol: Security analysis of the Model Context Protocol specification and prompt injection vulnerabilities in tool-integrated LLM agents. arXiv:2601.17549. [Article Link]
  19. ACADEMIC JOURNAL Hou, X., Zhao, Y., Wang, S., & Wang, H. (2026). Model Context Protocol (MCP): Landscape, security threats, and future research directions. ACM Transactions on Software Engineering and Methodology, 35(10), 1–37. [Article Link]
  20. ACADEMIC JOURNAL Doragacharla, V. R. (2026). Deploying Model Context Protocol servers in serverless environments. Journal of International Crisis and Risk Communication Research, 344–353. [Article Link]
Leave a Comment

Related Posts
Total
0
Share