What MCP Actually Is
Model Context Protocol is a JSON-RPC schema over stdio or HTTP-SSE that defines three things: tools (functions the model can call), resources (data the model can read), and prompts (templates the model can compose). Plus a lifecycle for capability negotiation between client and server.
That is it. That is the whole protocol.
The discourse around MCP makes it sound like a neural bus, a federated agent fabric, or some new architectural primitive. It is none of those things. It is a sensibly designed RPC contract for a category of integrations that previously had no standard. The reason it is winning is not that it is clever. It is that it is boring.
I have run MCP in production for six months across roughly 40 internal servers and three customer-facing ones. Here is what holds up and what does not.
Why MCP Won
Before MCP, every agent framework had its own tool format. LangChain tools were Python classes. OpenAI functions were JSON schemas with quirks. Anthropic tools were JSON schemas with different quirks. Custom internal agents had their own ad-hoc loaders. Writing a "search the company wiki" integration meant writing it four times, slightly differently, for four different runtimes.
With MCP, you write one server. It runs against Claude Desktop, Cursor, Zed, your custom orchestrator, and whichever new agent client ships next month. Same binary. Same config. Different client.
That is the entire pitch. Portability of tool implementations across hosts. Everything else — the resources model, the prompt templates, the elicitation flows — is secondary. The portability is the win.
The Good
stdio transport for local tools is excellent. A subprocess speaking JSON-RPC over stdin/stdout is the simplest IPC mechanism that could possibly work. No ports to manage. No auth to configure. The host launches the server, the server lives as long as the session, lifecycle is trivial. This is the transport you want for filesystem access, git operations, local databases, anything that runs on the developer's machine.
JSON-RPC framing is boring. I mean this as praise. Every other "modern" protocol I have integrated with in the last five years had at least one custom framing decision that bit me. MCP picked JSON-RPC 2.0, did not modify it, and moved on. Debuggers exist. Logs are readable. The schema is in your head after one afternoon.
Resources are underused. Most teams ship MCP servers as "a bag of tools" and forget that resources exist. Resources are read-only data the model can subscribe to or fetch by URI — perfect for things like "the current state of the open PR," "the last 50 lines of the deploy log," "the user's calendar today." They are cheaper than tools because the model does not need to decide to call them; the host can attach them to context automatically. If your MCP server has zero resources, you are probably leaving 30% of the value on the floor.
The Bad
HTTP transport with SSE has authentication gaps. The spec defines transport. It defers auth. In practice this means every team building a remote MCP server is reinventing OAuth, badly. I have seen:
- Bearer tokens in URL query strings (logged everywhere).
- API keys passed as a custom header with no rotation story.
- Per-session tokens that expire mid-conversation with no refresh path.
- "Authentication" that consists of an unguessable subdomain.
The newer MCP auth specs help. But two thirds of the deployed remote servers in the wild predate the auth guidance and have not been updated. If you are running a remote MCP server, audit it. If you are consuming one, assume the tokens leak.
Tool naming collisions. Load 30 MCP servers into the same client and you will discover that search, get_status, and list_items are not unique tool names. The spec does not enforce namespacing. Clients handle this differently — some prefix with server name, some throw on collision, some silently shadow. The model sees the conflict as ambiguity and either picks the wrong tool or asks the user to disambiguate. Neither is good.
The workaround is naming discipline. Prefix your tools with your server's domain: wiki_search, wiki_get_page, wiki_list_spaces. Yes, it is ugly. Yes, you should do it anyway.
The Ugly
Capability negotiation gets weird with stateful resources. The lifecycle assumes the server's capability set is roughly static across a session. Real servers are not. A database MCP server might expose different tools depending on which schema the user is connected to. A github server's tool set depends on which repos the auth token can read. The spec lets you re-announce capabilities, but most clients cache the initial list and never re-read it. Result: the model believes it has tools it does not, or does not have tools it does. Both produce confused traces.
Long-running tools are awkward. MCP tools are request/response. There is no native streaming-progress story for a 90-second build job or a 3-minute data export. You can emit log notifications, but clients render them inconsistently and the model has no good way to reason about partial progress. Most teams end up making long tools fire-and-forget — start the job, return a job ID, expose a second tool to poll status. It works. It is also clearly a workaround.
A Real Server, Concretely
Here is a stripped-down search_company_wiki server in TypeScript. This is approximately what we shipped, minus the auth and rate limiting.
import { Server } from "@modelcontextprotocol/sdk/server/index.js"
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
import {
CallToolRequestSchema,
ListToolsRequestSchema,
} from "@modelcontextprotocol/sdk/types.js"
import { searchWiki, getPage } from "./wiki-client.js"
const server = new Server(
{ name: "company-wiki", version: "1.2.0" },
{ capabilities: { tools: {} } }
)
server.setRequestHandler(ListToolsRequestSchema, async () => ({
tools: [
{
name: "wiki_search",
description:
"Search internal company wiki by keyword. Returns top 10 results " +
"with titles, URLs, and a 200-char snippet. Use for finding " +
"documentation, runbooks, and internal proposals.",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "Search query" },
space: {
type: "string",
description: "Optional space key to scope the search",
},
},
required: ["query"],
},
},
{
name: "wiki_get_page",
description:
"Fetch the full markdown content of a wiki page by URL or page ID.",
inputSchema: {
type: "object",
properties: {
id: { type: "string", description: "Page ID or full wiki URL" },
},
required: ["id"],
},
},
],
}))
server.setRequestHandler(CallToolRequestSchema, async (req) => {
const { name, arguments: args } = req.params
switch (name) {
case "wiki_search": {
const results = await searchWiki(args.query, args.space)
return {
content: [{ type: "text", text: JSON.stringify(results, null, 2) }],
}
}
case "wiki_get_page": {
const page = await getPage(args.id)
return { content: [{ type: "text", text: page.markdown }] }
}
default:
throw new Error(`unknown tool: ${name}`)
}
})
const transport = new StdioServerTransport()
await server.connect(transport)
That is a complete, working MCP server. Two tools, prefixed namespace, tight descriptions, no surprises. The total surface area the model has to reason about is small enough that it picks the right tool on the first try roughly 95% of the time in our internal eval.
The Auth Pattern That Actually Works
For remote servers, the pattern that has held up:
- Server exposes an OAuth 2.0 authorization endpoint behind the same domain as the SSE endpoint.
- On first connection, server returns an
unauthorizedSSE event with the authorization URL. - Client opens the URL in a browser. User authenticates against your normal IDP.
- IDP redirects to the server with an authorization code. Server exchanges it for a long-lived refresh token.
- Server stores
(session_id -> refresh_token)server-side. Issues short-lived access tokens scoped to the session. - Client sends the session ID on every request. Server transparently refreshes the access token as needed.
The model never sees a token. The client never holds a long-lived secret. Token rotation is the server's problem, where it belongs. This is the only pattern I have seen survive a security review without amendments.
Performance Reality
Tool round-trip via MCP adds 80 to 120 milliseconds of overhead in our measurements, dominated by JSON parsing and process IPC on stdio, or TLS handshake reuse on SSE. That is negligible compared to a 2-second LLM call.
The catch: it compounds. A 12-step agentic flow with one tool call per step adds about 1.2 seconds of MCP overhead. Still small. But if you have a chatty server that the model calls 5 times per step, you are now at 6 seconds of pure protocol overhead. That is when teams start noticing.
The fix is not to optimize MCP. The fix is to design tools that return useful chunks of work per call. A tool that returns "the next 10 search results" is good. A tool that returns "the next single search result" is bad, even if it is faster per call.
The 25-Tool Mistake
The most common mistake I see in shipped MCP servers: too many tools.
A team builds a wrapper around their internal API. The API has 25 endpoints. They expose 25 tools. The model gets the tool list, fills 4k of context with tool descriptions, and then picks the wrong tool 40% of the time because half the descriptions sound interchangeable.
Keep it under 8 tools per server. If your API has 25 endpoints, the right MCP server exposes 5 tools that wrap the 25 endpoints by intent — find_customer, get_customer_history, update_customer, list_recent_orders, cancel_order — not 25 thin transliterations of REST routes. The model is not a REST client. Stop designing for one.
If you cannot get under 8, split into multiple servers along intent boundaries. Clients can load both. The model will pick the right one.
The Platform Play
People call MCP "the USB-C of agents." It is mostly accurate, but the framing undersells why USB-C won. USB-C did not win because it was technically elegant. It won because it was boring enough, mandated by enough regulators, and adopted by enough manufacturers that not supporting it became the cost.
MCP is on the same trajectory. The protocol is unexciting. The spec committee is moving at the pace of a spec committee. The reference implementations are workmanlike. None of this is a problem. All of it is the point. Standards become standards by being acceptable to everyone, not by being best for anyone.
Three years from now, you will not be writing about MCP. You will be writing your tool servers in MCP because that is what your client expects, the same way you write HTTP servers because that is what browsers expect. There will be a generation of engineers who never knew there was an alternative.
Takeaway
MCP is not a protocol you will talk about in three years. It is a protocol you will forget you are using.