What is MCP? The Model Context Protocol explained
MCP is the open standard for connecting AI assistants to tools and data. What a server, a client and a tool are, how it differs from WebMCP, and whether a website owner needs one.
The Model Context Protocol is an open standard for connecting AI assistants to tools and data. It gives an assistant one way to ask any system "what can you do?" and then to do it, in place of a separate custom integration for each assistant and each system.
Anthropic published it in November 2024. It has since been adopted across the industry and is now governed under the Linux Foundation, not by a single company.
Accurate as of November 2026.
The problem it solves
A language model on its own can only produce text. To look up an order, search a catalogue or book a slot, it needs to call something. Before MCP, every assistant had its own way of describing those calls, so connecting five assistants to five systems meant twenty-five integrations.
MCP makes it five and five. A system describes its abilities once, in MCP, and any assistant that speaks MCP can use them.
The parts
A server is the thing that offers abilities. It might wrap a database, a calendar, a store's order system, or a single API.
A client is the part of an assistant that connects to servers. One assistant can be connected to many servers at once.
Tools are actions the server offers: search_products, create_booking. Each has a name, a plain-language description, and a schema for its inputs. The assistant reads the description to decide when to call it, which is why a vague description produces a tool that is never used.
Resources are data the server can hand over to be read, such as a file or a record.
Prompts are reusable instructions the server supplies for common tasks.
Messages are JSON-RPC. A server either runs locally alongside the assistant or is reached over HTTP, in which case it is usually called a remote MCP server and sits behind a login.
A tool, concretely
{
"name": "search_products",
"description": "Search the catalogue by keyword. Returns up to 20 products with price and stock.",
"inputSchema": {
"type": "object",
"properties": {
"query": { "type": "string", "description": "What the customer is looking for" }
},
"required": ["query"]
}
}
The assistant sees this, decides it matches what the person asked for, and sends a call with a query. The server runs it and returns the result. Nothing else about the server's internals is visible.
MCP and WebMCP
They share a name and an idea, and they run in different places.
| MCP | WebMCP | |
|---|---|---|
| Runs | On a server you operate | In the visitor's browser, on your page |
| Set up by | Deploying a service | Adding JavaScript to pages you already have |
| Reached by | Assistants configured to connect to it | An agent already looking at the page |
| Signed in as | Whoever authenticated to the server | Whoever is signed in to the site in that browser |
| Good for | Deep, ongoing integration | Making an existing site usable by agents |
WebMCP takes the tool idea from MCP and moves it into the page. The page registers tools with the browser, and an agent in that browser can call them using the session the person already has. No server to deploy, no separate login.
Neither replaces the other. A business with a product that people use from inside an assistant every day wants an MCP server. A website that wants to be usable when an agent arrives wants WebMCP.
Does a website owner need an MCP server?
Usually not as a first step.
An MCP server is worth building when people will connect an assistant to your product on purpose and use it repeatedly: a project tracker, an analytics tool, a booking system for staff. It is a product decision, with authentication and maintenance attached.
If the goal is that an AI agent visiting your public site can search, filter and buy, the closer fit is WebMCP for the page, and for a store, a commerce profile such as UCP.
What goes wrong
- Descriptions written for developers. The assistant chooses tools by reading their descriptions. "Calls the v2 endpoint" tells it nothing about when to use the tool.
- Too many tools. Forty tools that overlap are harder to choose from than eight that do not.
- Loose input schemas. A parameter typed as a bare string with no description gets filled with a guess.
- Changes nobody announced. Rename a tool or a parameter and every assistant that learned the old shape breaks, without an error on your side.
The same four apply to WebMCP tools, which is what our checker looks for on a page.
Read next
- What is WebMCP? — the in-browser form, and the one most websites meet first
- How to expose WebMCP tools on your site — a worked example
- How agents see your website — where tools fit in what an agent does