AI glossary · Agents and tools
What does MCP stand for in AI?
Also called: Model Context Protocol
Definition
MCP stands for Model Context Protocol, an open standard that lets AI applications such as Claude Code, ChatGPT or VS Code connect to outside tools and data through one common interface.
Explained
What does each word in Model Context Protocol mean?
Anthropic introduced MCP and open-sourced it in November 2024 (the MCP guide covers its history and security), and the project’s own analogy is a USB-C port for AI applications: one standard plug instead of a custom connector per app.
Each word names part of the job. Model is the language model inside an AI app. Context is what that model can be given, which MCP splits into three things a server can offer: tools (functions the model can call), resources (data such as file contents or database records) and prompts (reusable templates). Protocol is the agreed message format, JSON-RPC 2.0, so any client can talk to any server.
The specification names three roles. The host is the AI application. It creates one client for each server it connects to, and each server is a program that provides context. Local servers run as a subprocess over the stdio transport (standard input and output); remote servers use Streamable HTTP (HTTP POST, with optional Server-Sent Events for streaming). The spec is versioned by date, and the current revision is 2026-07-28.
Example
One MCP tool call, decoded
The specification’s own example: a client has listed a weather server’s tools with tools/list and found weather_current. That one definition is 89 tokens on o200k_base, and the host passes it to the model as an ordinary function calling tool.
When the model asks for the weather, the client sends the message below. Since revision 2026-07-28 every request carries its protocol version and the client’s capabilities in _meta, so the server needs no earlier handshake. The server answers with a content array, and the host hands that back to the model as the tool result.
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "weather_current",
"arguments": { "location": "San Francisco", "units": "imperial" },
"_meta": {
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
"io.modelcontextprotocol/clientInfo": { "name": "example-client", "version": "1.0.0" },
"io.modelcontextprotocol/clientCapabilities": { "elicitation": {} }
}
}
}Cost and quality
Why does MCP matter for AI apps?
A server written once works in every host that speaks MCP, instead of one integration per app. The cost is context: each connected server’s tool definitions take tokens. Claude Code defers MCP tool definitions by default and loads them only when needed.
Tools are code that can act on your behalf. The spec says hosts must get the user’s consent before invoking any tool, and that tool descriptions from untrusted servers should be treated as untrusted. Install servers the way you would install packages.
Don’t mix up
MCP vs an API vs RAG: what’s the difference?
- MCP vs an API
- An MCP server often wraps an existing API, such as GitHub’s, and describes it in a form any AI app can discover and call. The API still does the work.
- MCP vs RAG
- RAG is a technique: search your documents and paste the relevant passages into the prompt. MCP is a protocol for connecting an app to tools and data. An MCP server can expose a search tool that an app uses to do RAG, but MCP itself doesn’t retrieve or rank anything.
- MCP vs function calling
- Function calling is the model asking for a tool; MCP is how the app finds and runs tools that live in separate servers. The MCP guide compares them in full.
FAQ
Questions people ask
Does OpenAI support MCP?
Yes. OpenAI’s Responses API can use tools from remote MCP servers, which can be any MCP server on the public internet. MCP began at Anthropic in November 2024 but is an open standard, so clients from other companies speak it too. How you add a custom server inside the ChatGPT app has changed names and plans over time, so check OpenAI’s current help pages for that.
Is GitHub Copilot an MCP client?
Yes. GitHub’s docs describe configuring MCP servers for Copilot Chat in VS Code, Visual Studio (version 17.14 or later), JetBrains IDEs, Xcode and Eclipse. Being a client means Copilot connects to MCP servers and offers their tools to the model. The servers are separate programs that you install locally or connect to over HTTP.
Go deeper
Try it and read more
- Free toolMCP Config GeneratorBuild MCP server configs for Claude, Cursor, VS Code and Devin Desktop (Windsurf).
- Free toolMCP Server DirectorySearch MCP servers, with reviewed picks and install snippets.
- Free toolClaude Code Settings BuilderBuild and check a settings.json with permission rules.
- Guide · 13 min readWhat is MCP (Model Context Protocol)? A plain-English guideWhat is MCP? The Model Context Protocol in plain English: how hosts, clients and servers work, MCP vs APIs, which apps support it and how to use it safely.
- Guide · 13 min readHow to set up MCP servers in Claude CodeAdd MCP servers to Claude Code with claude mcp add, share them in .mcp.json, keep tokens out of git, pick the right scope and fix servers that fail to connect.
Related