Key Terms
| Term | In one line |
|---|---|
| MCP | An open protocol standardizing how models connect to tools and data — “USB-C for AI” |
| The three primitives | Tools (model-invoked actions) · Resources (readable context) · Prompts (reusable templates) |
| Host / Client / Server | The three-layer architecture: host app, protocol client, capability server |
| stdio transport | Process pipes — local servers, simplest, no network surface |
| HTTP + SSE / Streamable HTTP | Remote transports for shared, centrally governed servers |
| Skill | A composable capability definition (SKILL.md with frontmatter) the model can invoke |
| Server impersonation | A rogue MCP server offering malicious tools |
| Privilege escalation via chaining | Combining several low-risk tools to reach a high-risk outcome |
Numbers That Matter
| Figure | Value | Where it bites |
|---|---|---|
| Primitives | 3 | Tools, resources, prompts — know which is which |
| Transports | 3 | stdio · HTTP+SSE · streamable HTTP |
| N×M problem | N models × M tools → N+M integrations | The whole business case for a protocol |
| Security risks to name | 5 | Tool misuse · data exfiltration · injection via resources · server impersonation · privilege escalation by chaining |
Decision Rules
- MCP vs function calling vs plugins: function calling is provider-specific, defined per API call, stateless, and perfect for simple tool use inside one app. MCP is a standard with discovery, reusable across hosts, stateful, and worth it when many applications need the same capabilities. A plugin architecture is your own in-process extensibility model — no protocol boundary, no cross-vendor reuse.
- Use stdio when the server is local and single-user. Use HTTP transports when the server is shared, centrally governed, and needs auth, rate limiting and audit.
- Tools do, resources are read. If the model should act, it’s a tool and needs authorization; if the model should know, it’s a resource and needs classification. Confusing the two is how you get an unaudited write path.
- Treat resource content as untrusted. A resource is an injection vector — malicious text in a document the server exposes is instructions to your model unless you’ve designed against it.
- Chained privilege escalation is the risk people miss. Individually harmless tools — read a record, format a message, send a message — compose into exfiltration. Authorize on capability combinations, not just per tool.
- Enterprise deployment needs all five: per-user auth (not a shared service key), sandboxing, audit trail of every invocation, data-classification-aware access, and rate limiting.
Say This Out Loud
“MCP is essentially USB-C for AI. Without it you’re writing N times M integrations — every model against every tool. With a protocol you write N plus M: each tool exposes an MCP server once, each host speaks the protocol once. The three primitives are tools, which the model invokes to act; resources, which it reads for context; and prompts, which are reusable templates.”
“I’d pick function calling for simple tool use inside a single application — it’s provider-specific but there’s no reason to add a protocol boundary for three tools in one app. I’d pick MCP when multiple applications need the same capabilities, because you get discovery and reuse, and because it gives you one place to put authorization, audit and rate limiting instead of five.”
“The security risk people under-model is privilege escalation by chaining. Every tool passes review individually — read a record, format text, send a message — and the combination is an exfiltration path. So I authorize on capability combinations, not just per-tool permissions, and I log every invocation with the identity that triggered it. And I treat every resource as untrusted input, because a document the server exposes is a place an attacker can write instructions to my model.”