Recipe 015

API vs. MCP: One Is a Menu, the Other Is an Extra Pair of Hands

We spent our first weeks saying API when we meant MCP, and our agent politely built the wrong thing. Here's the kitchen-terms explanation that finally stuck — an API is another kitchen's order counter, MCP hands your agent the appliances — plus a ten-minute exercise that makes the difference physical.

Confession: for our first few weeks of building with agents, "API" and "MCP" were the same word. We once asked our agent to "hook up the YouTube API" when what we actually wanted was an MCP server, and it dutifully wrote a script we didn't need. The agent wasn't confused. We were.

If you ship integrations for a living, this recipe isn't for you. It's for everyone who has nodded along while someone said "just use the API" — and both acronyms blur together because, honestly, they describe the same-sounding thing: software talking to software. The difference is who does the talking, and once you see it, you can't unsee it.

An API is another kitchen's order counter

An API is how one program orders from another program's menu. The menu is fixed: these are the dishes (endpoints), this is exactly how you phrase the order (the request), and this is what comes back on the tray (usually JSON).

The detail that matters: your code places the order. Not you, not your agent mid-thought — a script, written once, ordering the same dish the same way every time. That predictability is the whole point.

A real one from this kitchen: every Monday we run a small script that asks Google Search Console's API "who found us in search this week?" Our agent wrote that script once. It has ordered the same dish every week since, no conversation required. That's an API at work — a program with a standing order at someone else's counter.

MCP hands your agent the appliances

MCP (Model Context Protocol) is an open standard with a different job: it gives your agent tools it can pick up in the middle of a conversation. Anthropic's own analogy is a USB-C port for AI — one plug shape, many devices.

In kitchen terms: an API is ordering from the restaurant next door. MCP is handing your sous-chef the keys to the appliances — the browser, the database, the file cabinet — so they can grab whichever one the dish needs, when it needs it.

And that's the real distinction: the agent decides. You say "check the layout on the live site," and it reaches for the browser tool on its own, because the task calls for eyes. Nobody scripted that call. We've served two full recipes that are just MCP in action: giving the agent a browser and letting it watch YouTube lectures for you.

The sentence that untangled it for us

Here's the part nobody told us early enough: most MCP servers are wrappers around APIs. An MCP server takes a menu written for programmers and translates it into tools an agent can discover, read the labels on, and use by itself.

So "MCP vs. API" was never really a versus. MCP is very often how your agent reaches an API without you writing code. Same counter, but now your sous-chef can order from it mid-recipe.

The one-line test

When you're not sure which one a task needs:

  • A program needs it — on a schedule, the same way every time → API. Have your agent write the script once.
  • Your agent needs the ability — sometimes, mid-conversation, at its own judgment → MCP.

This blog runs on both at once. Publishing a post is scripts calling APIs (Cloudflare's, in that case). Checking that a layout change didn't break anything is the agent driving a browser through MCP. Menu for the routine, hands for the judgment calls.

The honest notes

  1. MCP servers cost context. Every installed server's tool descriptions ride along in your conversations. A dozen servers make your agent slower and a little dumber. Install what you actually use — the same restraint we preach for plugins.
  2. Third-party MCP servers see what passes through them. Plug in ones you trust, the way you'd vet anyone you hand your kitchen keys to.
  3. APIs usually want keys. Keys live in a local .env file, never in the chat — chat history is forever.

Order up

The difference stops being abstract the moment you do one of each. Paste this:

I want to understand the difference between an API and MCP by doing,
not by reading definitions.

1. Write a small script that calls one free, no-key public API
   (Open-Meteo's weather API works) and prints tomorrow's forecast
   for my city: [YOUR CITY].
2. Run it. Show me the raw JSON that came back, and point at the
   parts: the endpoint, the request, the response.
3. Now list which MCP servers you have available in this session and
   what tools they give you. If there are none, show me the one
   command to add one — the Playwright browser server is a good first.
4. Finish with a two-sentence summary of the difference, using only
   what we just did as the example.

Ten minutes, and you'll have watched a script order from a menu and an agent flex its own hands. After that, the two acronyms stop being interchangeable — they become two different kinds of help, and you'll know which one to ask for.

Which one did your last project actually need — the menu or the hands? Tell us at @AgentKitchenHQ.

Hungry for more?

New recipes land in your inbox as they leave the kitchen. No spam, unsubscribe anytime.