The Model Context Protocol (MCP) is an open standard and open-source framework introduced by Anthropic in November 2024 to standardize the way artificial intelligence systems, particularly large language models (LLMs), integrate and share data with external tools, systems, and data sources.
Overview
MCP provides a standardized interface for AI applications to connect to external systems—analogous to a "USB-C port for AI applications." It enables AI assistants to access data sources (e.g., local files, databases), tools (e.g., search engines, calculators), and workflows (e.g., specialized prompts) through a uniform protocol rather than requiring custom integrations for each combination of AI model and external system.
History
MCP was announced by Anthropic in November 2024 as an open standard. It was created by Anthropic engineers David Soria Parra and Justin Spahr-Summers. The protocol was designed to address the challenge of information silos and legacy systems, where developers previously had to build custom connectors for each data source or tool—a problem Anthropic described as an "N×M" data integration problem.
In December 2025, Anthropic donated MCP to the Agentic AI Foundation (AAIF), a directed fund under the Linux Foundation, co-founded by Anthropic, Block, and OpenAI, with support from other companies.
Following its announcement, the protocol was adopted by major AI providers, including OpenAI and Google DeepMind.
Architecture
MCP distinguishes between three components:
- MCP Hosts: Typically an AI agent or LLM application that initiates connections and requires services from MCP servers.
- MCP Clients: Connectors within the host application, each dedicated to communicating with a specific MCP server.
- MCP Servers: Services that provide context, data, tools, and capabilities to the host.
The protocol uses JSON-RPC 2.0 messages for communication and maintains stateful connections with server and client capability negotiation.
Features
Servers can offer:
- Resources: Context and data for the user or AI model to use
- Prompts: Templated messages and workflows for users
- Tools: Functions for the AI model to execute
Clients may offer:
- Sampling: Server-initiated agentic behaviors and recursive LLM interactions
- Roots: Server-initiated inquiries into URI or filesystem boundaries
- Elicitation: Server-initiated requests for additional information from users
Relationship to LSP
MCP reuses the message-flow ideas of the Language Server Protocol (LSP), which standardized how development tools add support for programming languages. MCP applies a similar concept to standardizing how AI applications integrate with external context and tools.
Security and Trust
The protocol emphasizes user consent and control, data privacy, tool safety, and LLM sampling controls. Key principles include requiring explicit user consent before exposing data, invoking tools, or performing LLM sampling.
Ecosystem Support
MCP is supported across a wide range of clients and servers, including AI assistants like Claude and ChatGPT, development tools like Visual Studio Code and Cursor, and has SDK implementations in TypeScript, Python, Java, Kotlin, C#, Go, PHP, Perl, Ruby, Rust, and Swift.