What is MCP? The Model Context Protocol and how to use it
By December 2025, Anthropic counted more than 10,000 active public MCP servers and over 97 million monthly downloads of the MCP SDKs for Python and TypeScript. So what is MCP? MCP, short for Model Context Protocol, is an open standard that lets an AI assistant such as Claude, ChatGPT or Le Chat plug into your tools and data through a single kind of connector. Instead of building a custom integration for every pair of AI app and software, you write an MCP server once and every compatible app can use it. This guide explains what MCP is for in AI, how it works, who uses it, how it differs from an API or RAG, and which risks to watch.
MCP at a glance
| Question | Short answer |
|---|---|
| What does MCP stand for? | Model Context Protocol: a shared set of rules that lets an AI talk to outside tools. |
| Who created it? | Anthropic, the company behind Claude, in November 2024. Since December 2025 it has been run by the Agentic AI Foundation, part of the Linux Foundation. |
| What is it for? | Giving an assistant or agent access to data (files, databases, calendars) and actions (create, send, update). |
| Who supports it? | Claude, ChatGPT, Gemini, Microsoft Copilot, Mistral's Le Chat, Visual Studio Code and Cursor, among others. |
| Does it cost anything? | No, the protocol is open and free. The software you connect keeps its own pricing. |
Why MCP exists
A large language model only knows what it learned in training and what you give it. To read your calendar or query your CRM, it needs a connection. Before MCP, each connection was built separately: when introducing the protocol, Anthropic noted that every new data source required its own custom implementation.
Take 5 assistants and 20 apps: you could need up to 100 connectors. With a shared standard, each app publishes one MCP server and each assistant learns to speak MCP, so 25 builds are enough. That is why the official documentation compares MCP to a USB-C port: one plug for any device.
How MCP works
Three roles: host, client and server
- The host: the AI app you use, for example Claude Desktop or Visual Studio Code.
- The client: a component inside the host that keeps the connection to one server. The host creates one client per server.
- The server: a small program that exposes a tool's data and actions (files, GitHub, a database) in the MCP format.
Messages use the standard JSON-RPC 2.0 format, according to the architecture overview. A server can run on your computer (a local server) or on the vendor's side over the internet (a remote server reached over HTTP, with OAuth recommended for sign-in).
What a server can offer
- Tools: actions the AI can trigger, such as creating a ticket, sending a message or querying a database.
- Resources: context data, such as the contents of a file or a database schema.
- Prompts: ready-made instruction templates offered to the user.
A step-by-step example
- The question: you ask: “Which urgent tickets are open on Project Alpha?”
- Available tools: the app already knows the list of tools on each connected server, with their descriptions.
- Choosing the tool: the model picks the “search tickets” tool from your project tracker's server and fills in the parameters.
- The call: the client sends the call to the server, which queries the software and returns the result.
- The answer: the model reads the answer and writes your summary.
The July 28, 2026 revision of the specification made the protocol stateless: every request carries its own version and capabilities, which makes large remote servers easier to run. It also deprecated sampling, which let a server ask the host app's model for a completion. David Soria Parra, a member of Anthropic's technical staff, told The Register it is probably the biggest change since authorization was added.
Who uses MCP in 2026
| Date | Milestone |
|---|---|
| November 2024 | Anthropic open-sources MCP, with servers for Google Drive, Slack, GitHub, Git, Postgres and Puppeteer. |
| March 2025 | OpenAI announces MCP support across its products, starting with its Agents SDK. |
| April 2025 | Google DeepMind announces MCP support for its Gemini models. |
| September 2025 | Mistral adds more than 20 MCP connectors to Le Chat, including on the free plan. |
| December 2025 | The protocol moves to the Agentic AI Foundation, co-founded by Anthropic, Block and OpenAI. |
| July 2026 | A new, stateless revision of the specification. |
Sources: Anthropic, TechCrunch on OpenAI and Google, Mistral and the foundation announcement; Google, Microsoft, AWS, Cloudflare and Bloomberg also back the foundation. An official registry lists public servers; it is still in preview.
The MCP documentation gives concrete uses: an agent that checks your Google Calendar and Notion, a company chatbot connected to several databases so staff can analyze data in plain English, or a coding assistant that builds a web app from a Figma design.
MCP vs API vs RAG: what's the difference?
| API | RAG | MCP | |
|---|---|---|---|
| What it is | A software product's entry point for other programs | A method that adds document excerpts to the question sent to the model | A shared protocol between AI apps and tools |
| For whom | Developers, one product at a time | Assistants that must rely on a document base | Any compatible AI app |
| Read data | Yes, if you code the call | Yes, from an index prepared in advance | Yes, at the time of the request |
| Take action (create, send) | Yes | No | Yes, through the server's tools |
MCP does not replace APIs: an MCP server usually calls the API of the software it exposes. Nor does it replace RAG: an MCP server can perfectly well give access to a document search engine. MCP is the plug; the API and RAG are what sits behind it.
How to use MCP without coding
- Check that your assistant supports it: Claude, ChatGPT, Le Chat, Visual Studio Code and Cursor speak MCP. The feature is often labeled “connectors”.
- Start from the assistant's directory: its connectors are easier to set up than a random server found online. At Mistral, the directory and custom connectors are included in the free plan.
- Grant the minimum: start with a test account or read-only access, and decline any permission the task does not need.
- Test with a simple question: for example “summarize the last five messages in the project channel”, then check against the original tool.
- Keep approvals on: let the assistant ask before it sends, edits or deletes anything.
To build your own workflows, see our guide on how to build an AI agent and our page on no code.
MCP security risks
Connecting an AI to your tools hands it your permissions. The OWASP guide, from the leading application security project, notes in February 2026 that MCP servers act with delegated user permissions and chain tool calls, so a flaw has more impact than in a traditional API.
- Tool poisoning: in April 2025, Invariant Labs showed that a tool description could hide instructions that users cannot see but the model reads. In their demo, a simple addition tool made the AI read and send the user's SSH key.
- Local servers: they run on your machine with your privileges. The official best practices require apps offering one-click installation to show the exact command and get your approval.
- Software flaws: in July 2025, JFrog disclosed a critical flaw (CVE-2025-6514) in mcp-remote (versions 0.0.5 to 0.1.15), a widely used connection tool, that let a malicious server run commands. It has been fixed since version 0.1.16.
- Access tokens: a server should only accept tokens issued for it. The specification forbids passing them through unchanged to other services, but nothing guarantees every published server follows the rule.
- Undeclared access: an employee who connects an assistant to company email without telling anyone creates access nobody monitors. Our page on shadow AI covers this risk.
Good habits: only install servers from known vendors or your assistant's directory, grant minimal permissions and, in a company, keep a list of approved servers.
When you don't need MCP
If you use AI to write, translate or summarize text you paste into the chat, MCP adds nothing. For a fixed automation that always runs the same way, such as a form that creates a customer record, a classic Zapier or Make workflow is more predictable and cheaper. And a developer connecting one app to one service will go faster with a direct API call. MCP shines when an AI has to choose between several tools on its own, as an AI agent does.
Frequently asked questions
What is MCP in AI?
MCP, or Model Context Protocol, is an open standard that connects AI apps to outside tools and data. A compatible assistant can read your files, check a calendar or create a ticket through an MCP server. The official documentation compares it to a USB-C port for AI.
Who created MCP?
Anthropic, the company behind Claude, open-sourced MCP on November 25, 2024. In December 2025 it handed the protocol to the Agentic AI Foundation, a Linux Foundation fund co-founded with Block and OpenAI. No single company owns it anymore.
What is the difference between MCP and an API?
An API is one product's own entry point, which each developer has to learn to call. MCP is a shared format that lets any compatible AI app discover and use a server's tools. In most cases, the MCP server itself calls the product's API.
What is an MCP server?
It is a small program that exposes a product's data and actions in the MCP format, for example searching files, reading a spreadsheet or sending a message. It can run on your computer or on the vendor's side over the internet. The AI app connects to it like a connector.
Does ChatGPT use MCP?
Yes. OpenAI announced MCP support across its products in March 2025, and the official protocol documentation lists ChatGPT among compatible apps. Claude, Gemini, Microsoft Copilot and Mistral's Le Chat support it too.
Is MCP safe?
The protocol includes OAuth sign-in and consent rules, but safety depends mostly on the servers you connect. A malicious or poorly built server can hijack the AI or reach your data. Install trustworthy servers, grant minimal permissions and approve sensitive actions.
Sources
- What is the Model Context Protocol (MCP)?Model Context Protocol
- Architecture overviewModel Context Protocol
- Security Best PracticesModel Context Protocol
- The MCP RegistryModel Context Protocol
- Le Chat: MCP connectors and memoriesMistral AI
- A Practical Guide for Secure MCP Server DevelopmentOWASP Gen AI Security Project
- MCP Security Notification: Tool Poisoning AttacksInvariant Labs