The open standard for connecting AI applications to external tools and data. The vault mentions MCP across many pages but only ever from a skeptical angle (MCP Tools vs Custom Function Tools, the “you don’t need MCP” sources). This page is the neutral primer: what MCP actually is and why it became an industry standard, followed by the strongest critique (Armin Ronacher, a vault author) so you can hold both. Sources: Anthropic’s original announcement and Ronacher’s Your MCP Doesn’t Need 30 Tools.
What it is
MCP (created at Anthropic by David Soria Parra and Justin Spahr-Summers, open-sourced Nov 2024) is a standard protocol for wiring AI systems to the places data and capabilities live. The pitch: instead of writing a custom integration for every data source × every AI app (an M×N problem), everyone builds against one protocol (M+N). Anthropic’s own analogy: “a USB-C port for AI applications.”
The architecture is two roles:
- MCP server — exposes data and capabilities (a GitHub server, a Postgres server, a Slack server).
- MCP client — the AI application that connects to servers (Claude Desktop, an IDE, your agent).
A client can connect to many servers at once. Servers can run locally (stdio transport) or remotely (HTTP). Anthropic shipped pre-built servers for Google Drive, Slack, GitHub, Git, Postgres, and Puppeteer at launch; by late 2025 there were 10,000+ public servers.
The intuition most people miss
The usual objection: “If a vendor wants me to use their API, they host it and I read the docs and call it. Why do I need MCP?” This is correct, but it hides one word doing all the work: client.
In normal API-land, the client is a developer who reads docs and writes integration code ahead of time. That code is fixed. In AI-land, the client is the model itself, deciding what to call mid-conversation, with nobody writing code for that specific API. The model can’t read a docs webpage and write-and-deploy an integration in the middle of your sentence. It needs the API described in a machine-readable, standard format it can act on live. That is what MCP is: docs the AI can execute, not docs a human turns into code later.
So the rule of thumb:
- You are the developer and you control the agent (pi, Claude Code with a bash tool) -> read the docs, write a CLI call once. No MCP needed.
- The caller is an AI you don’t control (someone’s Claude Desktop, ChatGPT), calling an API nobody wrote glue code for -> you need MCP.
Real example (a developer who uses MCP heavily): a dev living in Claude Code / Cursor types “move PAY-1423 to In Review and link this PR” or “summarize the comments on this Bitbucket PR.” He is a developer, but right now he’s the user and the AI is the client. He can’t hand-code a Jira API call every time he wants his assistant to touch a ticket. So he installs the official Atlassian MCP server once, and his assistant can drive Jira, Bitbucket, and Confluence in plain English forever. He could write CLI scripts instead, but for a huge third-party API he uses daily, a maintained server wins on pure laziness-ROI: no auth/pagination/endpoint code to maintain, and it tracks API changes for him.
Analogy, and where it breaks
Tempting to picture an MCP server as a water tank and the client as a pipe drawing what it wants. Fine for “server holds stuff, client pulls what it needs.” But the value is not “auth once / fewer connections” — plain REST already reuses tokens and connections. MCP’s value is that the pipe fitting is a shared standard (any client plugs into any server without a custom adapter) and the tank has a machine-readable label listing exactly what’s inside, which the AI reads and acts on automatically. MCP is not the pipe. It’s the standard coupling plus a label the machine can read.
How a call actually works (the mechanism)
A common misconception: “the server converts my natural-language prompt into an API call.” It doesn’t. The language understanding happens in the model, not the server. The real flow:
- Model reads the tool list -> decides which tool and what arguments -> emits a structured call (tool name + JSON args), not a sentence.
- Client sends that JSON down to the server (over JSON-RPC).
- Server is a dumb, deterministic executor: it receives structured JSON -> calls the real REST API -> returns a structured result.
- Model reads the result and continues.
The intelligence is in the model; the server never guesses intent, it just runs the exact structured command. This split is why MCP is more reliable and auditable than letting a server free-interpret prose.
JSON-RPC is the shared language for steps 2-3. RPC = Remote Procedure Call: “run function X with args Y on another machine, send back the result,” all as JSON packets. A request is just method (which function), params (args), and id (to match the reply):
{ "jsonrpc": "2.0", "method": "tools/call",
"params": { "name": "search_issues", "arguments": { "project": "PAY" } },
"id": 1 }It’s language- and transport-agnostic, so MCP runs it over stdio (local) or HTTP (remote). Note the framing: REST thinks in resources (GET /issues), JSON-RPC thinks in actions/functions (search_issues). Calling a tool is fundamentally a function call, so JSON-RPC fits better than REST’s resource model.
On the token cost: by default a server lists all its tool schemas at connection time, because the model must know a tool exists before it can decide to call it. A Jira server doesn’t map 1:1 to every REST endpoint (the author curates a meaningful set), but whatever it exposes, all those schemas load upfront. The fix is exactly the on-demand loading you’d expect: progressive disclosure / tool search (model sees one “find a tool” tool, loads a schema only when needed) and code execution with MCP (model writes code that pulls tool defs lazily). See the critique below.
The three primitives
An MCP server can expose three kinds of things to the model:
| Primitive | What it is | Who drives it |
|---|---|---|
| Tools | Functions the model can call (e.g. create_issue, run_query) | Model-controlled |
| Resources | Readable data the client can pull into context (files, records) | App/user-controlled |
| Prompts | Pre-written prompt templates the user can invoke | User-controlled |
In practice “tools” gets almost all the attention. This is the root of the critique below.
Why it caught on
- One integration, many clients. Build a server once, every MCP-capable app can use it.
- Ecosystem gravity. Block, Apollo, Zed, Replit, Sourcegraph adopted early; the directory snowballed. Anthropic later donated MCP to a vendor-neutral foundation, cementing it as a cross-vendor standard rather than an Anthropic feature.
- Claude is good at writing servers, so spinning up a connector to an internal system is cheap.
The critique (hold this alongside the pitch)
This is where the vault’s existing skepticism lives, and it’s worth taking seriously. Two threads:
1. Context cost and “30 tools.” Every connected server’s tool definitions are re-sent into the context window every turn (see Agent Harness on the stateless re-send). Loading a big server like Sentry can cost ~8k tokens before you’ve done anything. Connect several and you’ve spent a large slice of the window on tool schemas the agent mostly won’t use this turn. This is the per-turn schema rent problem at protocol scale.
2. No composition without inference. Ronacher’s sharper point. The command line is not one tool, it’s many tools composed by a programming language (bash). An agent debugging with tmux chains send-keys, sleep, capture-pane, and pivots to base64 -d when encoding breaks. MCP tools can’t be composed that way: each step is a separate tool call that burns a model turn. A pexpect session that’s three lines of Python becomes three round-trips of inference as three MCP tools.
Ronacher's fix: one tool that takes code
Instead of a server exposing 30 fine-grained tools, expose a single tool that accepts code (a stateful Python or JS interpreter). The model already knows Python and the popular SDKs from training, so it writes
child = pexpect.spawn(...); child.expect(...)directly. The MCP server does the one thing it’s genuinely good at: holding session state between calls. Hisplaywrightessexperiment collapsed Playwright’s ~30 tools to 1playwright_eval. Bonus: the code the agent writes is one step from a reusable script, andconsole.logoutput funnels back automatically without extra inference.
This is the same conclusion Anthropic later reached in “Code execution with MCP” (load tools on demand, run logic in code), and it lines up with the vault’s Self-Extending Agents and Skillify - Meta-Skill Pattern direction: agents writing code beat agents calling many rigid tools.
The security caveat (don’t skip this)
MCP is the single most common way users accidentally assemble the lethal trifecta. It explicitly encourages mixing tools from many sources: some touch private data, some ingest untrusted content, some can make outbound requests. Combine all three and you have an exfiltration path no vendor can close for you. Ronacher’s own note on the code-execution approach: a code-running MCP is “inherently unsafe and impossible to secure” at the interface level, because the thing it runs (bash, Python) can do anything. Sandboxing is the containment answer, not the prevention answer. Treat any MCP loadout as a threat-model exercise.
When MCP genuinely wins vs the cost of CLI-only
If you control the agent (pi, Claude Code with a bash tool), a CLI script calling the platform’s REST API directly is usually the higher-control, higher-safety choice: you define the blast radius (the script only exposes the operations you coded), you hold the credentials, and you can read/approve every call. But CLI-only carries real costs, and there are three cases where MCP genuinely wins. This generalizes across platforms, not just Jira.
The three convincing reasons to reach for MCP:
- You don’t control the client. The only hard requirement. If a GUI AI app that can’t run bash (Claude Desktop, ChatGPT, a chat widget) needs the capability, MCP is the only door. Examples: exposing a product’s data to end-users’ own AI apps (Stripe, Shopify, Cloudflare all ship servers for exactly this); letting non-technical teammates drive a system in plain English.
- An official/maintained server absorbs the painful parts. Pure time ROI. The vendor’s own server handles auth (especially multi-step OAuth), pagination, rate limits, error handling, and tracks API changes so your integration doesn’t silently break. Strongest when the platform’s auth is genuinely hard (OAuth 3LO / SSO) or the API surface is large: Atlassian (Jira/Bitbucket/Confluence in one), GitHub, Google Workspace, Slack, Notion, Postgres/databases.
- Same capability across many agents or a whole team. Write once, every MCP-capable agent and teammate uses it through the same protocol. Beats copying and re-maintaining CLI scripts across ten repos or ten laptops.
What CLI-only costs you (platform-agnostic):
- You build and maintain the glue yourself — auth, token refresh, pagination, rate limits, error handling. When the platform changes its API, your script breaks and you fix it.
- Hard auth is on you. OAuth 3LO, SSO, short-lived tokens are painful to implement and refresh by hand. Maintained servers hide this.
- You only get the operations you bothered to code. Need a new action -> write more code. A maintained server ships broad coverage on day one.
- Multi-product = multiple script sets. One vendor with several products (Atlassian, Google, Microsoft 365) means several CLI toolkits to nurse. One official server often covers them together.
- Not portable to GUI clients. The moment a non-bash client needs the capability, CLI is useless and you’d rebuild as a server anyway.
The verdict pattern: control the agent + want a tight blast radius + a few specific operations + sensitive data -> CLI wins (you cap exactly what the AI can touch). Caller you don’t control, or a hard-auth / large / multi-product platform you use daily, or a whole team/fleet -> MCP wins. Most “my coworker uses MCP heavily” cases are reason #2: not necessary, just a maintained server saving them the auth-and-maintenance tax.
So should you use it?
The vault’s honest position:
- For a standard, well-known integration (GitHub, Postgres, Slack) where a maintained server exists -> MCP is the path of least resistance.
- For your own bespoke capability -> a custom function tool or a single code-execution tool often beats a hand-rolled multi-tool server on both context cost and composability.
Related
- MCP Tools vs Custom Function Tools — the decision page: MCP vs rolling your own
- Agent Security and Threat Model — MCP is the main accidental-trifecta vector
- Tool Design for Agent Harnesses — per-turn schema rent, the cost MCP scales up
- Self-Extending Agents / Skillify - Meta-Skill Pattern — agents writing code as the alternative to fixed tools
- Agent Harness — why tool schemas are re-sent every turn (the context-cost mechanism)