Start a project Estimate a range

Public MCP tools, Markdown pages and a project brief API. No account required.

Definition

What is Model Context Protocol?

MCP is a standard way for an AI application to discover and call tools, read resources and use prompts exposed by a server. It standardizes the connection, not the security policy behind it.

Start a project

In short

Model Context Protocol (MCP) is an open protocol that lets AI hosts connect to servers exposing tools, resources and prompts. It uses JSON-RPC 2.0 messages over stdio or Streamable HTTP, negotiates capabilities at initialization, and leaves authorization, data access and business rules to the server and its owner.

The short definition

Model Context Protocol (MCP)
An open protocol that standardizes how an AI host discovers and invokes tools, reads resources and loads prompts from a server. It defines the message format, lifecycle and capability negotiation, not the authorization model of the underlying systems.

Host, client, server

A host is the application the user interacts with, such as an IDE assistant or a desktop AI client. Inside the host, one or more clients each maintain a connection to a server. The server exposes capabilities such as tools, resources and prompts.

The server is where your systems meet the protocol. It validates inputs, checks authorization, calls the upstream API or database, and returns structured results. The model decides which tool to call; the server decides whether the call is allowed.

The three primitives

MCP primitives and typical use
PrimitiveDirectionWhat it is forExample
ToolsServer exposes, host callsActions with typed input and outputsearch_issues, create_ticket
ResourcesServer exposes, host readsRead-only context addressed by URIcustommcp://docs/setup
PromptsServer exposes, host requestsReusable workflow templates with argumentsreview_threat_model
SamplingServer requests, host providesServer asks the host model to generate textSummarize a long record
ElicitationServer requests, host collectsServer asks the user for missing inputConfirm a target environment

What MCP standardizes

MCP standardizes the lifecycle: initialize, capability negotiation, normal operation and shutdown. It standardizes how tools are listed and called, how resources are addressed, how prompts are retrieved, and how errors and progress are reported.

It also defines transport expectations. Local servers commonly use stdio; remote servers use Streamable HTTP, with legacy SSE supported only where a client still requires it. The transport is part of the contract because it changes authentication, origin validation and deployment.

A minimal lifecycle

Illustrative initialize request. The server returns its protocol version and capabilities.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-06-18",
    "capabilities": {},
    "clientInfo": { "name": "example-client", "version": "1.0.0" }
  }
}

What MCP does not solve

Common misconceptions
MisconceptionReality
MCP makes tools secureIt standardizes the call path. Authorization, validation and egress control are still server responsibilities.
MCP guarantees client compatibilityHosts implement different versions and features. Compatibility is tested per client.
MCP replaces your APIThe server wraps your API. The upstream system still owns its permissions and data.
MCP makes the model trustworthyTool output can contain injected instructions. Treat retrieved content as untrusted data.
MCP is only for chatIt is used by IDEs, desktop clients, agents and automation hosts for actions and context.

MCP, function calling and REST

Function calling is a model-provider feature that lets a model emit a structured call. MCP is a transport and discovery standard that can sit behind that feature. A host can expose an MCP tool to its model as a function without the model knowing the difference.

REST is an architectural style for your API. MCP does not replace it; a typical server calls REST or a database on the back end and translates the result into MCP content. The value is a single, typed interface across hosts rather than a bespoke integration for each one.

Questions people ask before starting

Is MCP an Anthropic product?

MCP originated at Anthropic and is published as an open specification with an open-source SDK ecosystem. It is not tied to one model provider, and hosts from multiple vendors implement it.

Do I need a server for every tool?

No. One server can expose many tools, but each tool should have a clear job. Start with a small server that covers one workflow.

Does MCP work without the internet?

A local stdio server can run entirely on a machine. A remote server needs network access. The choice affects data residency and authentication.

Where is the official specification?

At modelcontextprotocol.io/specification. This page is an independent explanation, not the normative source.

Next step

Turn the definition into a design

Bring one system and one action. We will show what a bounded MCP server looks like for it.

Start a project Read the docs

Last verified .

Start a project

Tell us what you need

Used only to reply. No newsletter.

System, AI client and action. Do not include secrets or personal data.

No account. A reference code is returned immediately. Prefer an agent? Use the agent hub.

Copy manually

Clipboard access was blocked. Select the text and copy it.