Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model’s context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Prompt Caching CalculatorEstimate savings from prompt caching.Tool

AI glossary · Agents and tools

What does MCP stand for?

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

How it works

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.

tools/call request (MCP 2026-07-28, from the spec’s architecture example)
{
  "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 it matters

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

Common confusions

MCP vs function calling
Function calling is the model’s side: asking for a tool in one API. MCP is the app’s side: finding and running tools that live in separate servers. The two work together.
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.

Go deeper

Try it and read more

Related

All 40 terms in the AI glossary