Someone on your team floats an idea, and on the face of it it's a good one. You already have an API — the same one your own apps and dashboards run on. There are tools that can turn that API into an MCP server automatically. So the plan writes itself: point one of those tools at your existing endpoints, generate the server, ship it by Friday, and now customers can ask an AI assistant to do things in your product.

Two weeks later a customer asks the assistant to cancel their auto-renewal, and the assistant deletes their entire account instead.

Here's the unsettling part: nothing malfunctioned. Every piece did exactly what it was built to do. The API answered correctly. The generated wrapper translated the request faithfully. The model looked at the actions available to it and picked the closest match to what the customer asked. This article is about why that happens, and what actually separates an API from a real MCP server — because it's not obvious, and getting it wrong is expensive.

What's the difference between an API and an MCP server?

An API is a contract with code that a developer already wrote. An MCP server is a contract with an AI that decides what to do while the conversation is happening. The API assumes the thinking was done in advance; an MCP server has to carry that thinking inside the interface itself.

That single distinction explains everything else. When your API was designed, a human read the documentation, worked out that "cancel a renewal" means one specific call with one specific setting, and wrote that logic into their code once. The API never had to explain itself, because the developer had already done the explaining.

An AI assistant gets none of that head start. It receives a sentence in plain language, has to figure out on its own which of the available actions solves it, and has to make that decision in the moment, with no developer reviewing the choice before it happens.

Why doesn't the assistant just read my API docs?

Because the docs are in the wrong place, in the wrong form, at the wrong moment. Your documentation is a manual sitting in a drawer, and an AI only ever reads the label on the tool it's holding. An API specification tells a model that an endpoint exists and what fields it takes. It doesn't tell the model when that endpoint is the right one to reach for, what a sensible sequence of steps looks like, or what to expect if the account is already cancelled.

That manual-in-a-drawer problem is the one that catches people out, because from the outside it looks solved. The docs exist. They're accurate. They might even be machine-readable. But an assistant choosing between three similarly-named actions — say, "pause subscription," "cancel subscription," and "delete account" — is reading three short labels and picking one. If those labels were written for a developer who would go and read the fuller explanation elsewhere, the model is guessing. And it guesses with complete fluency, which is exactly the quality that makes a wrong AI answer so convincing in the first place.

MCP's whole answer to this is to put the manual onto the tool. The descriptions, the expected inputs, the constraints — they're part of the interface, so an assistant can inspect the server and understand what each action is for without a developer having to wire the logic up in advance.

Your APIAn MCP server
Built forCode a developer wrote in advanceAn AI deciding in the moment
Where the explanation livesDocs, wikis, PDFs — outside the interfaceInside the interface, on each action
How the caller knows what's availableIt was told, at build timeIt asks the server
Permission scopeOne key, broad, per-applicationPer-action, per-task, per-session
When something goes wrongLogs and the developer who wrote the codeYou need to know why the AI chose that action
Surface exposedEverything the key can reachOnly what you deliberately put on the list

What actually breaks in a generated wrapper?

A wrapper generated straight from your API spec inherits every one of the gaps above and adds an MCP label on top. It speaks the protocol correctly. It is still the wrong thing to hand a customer.

The problems all turn out to be versions of the same underlying issue. The tool descriptions get copied from documentation written for humans, so the model is choosing between labels nobody wrote for it. Every endpoint becomes an available action, including the ones no assistant should ever touch. The authentication gets inherited wholesale from the API, so the assistant holds one broad key instead of narrow, task-scoped permission. Harmless lookups sit on the same menu as destructive changes, with nothing to tell them apart. And there's no monitoring layer, so the first you hear about a bad call is from the customer it happened to.

The trap is that a generated wrapper works beautifully in the demo. It works in the demo precisely because a demo is one person asking one clear question with a known answer. It falls apart when a confused customer asks something vague at 2am — which is, of course, the actual job.

Where broad API permissions stop being safe enough

Most API keys grant wide access scoped to an entire application, not to the specific task an assistant is carrying out right now. That distinction barely matters when the caller is code you wrote and tested. It matters enormously when the caller is an AI deciding for itself.

Your billing system's key can issue refunds because your billing tools need to issue refunds. Hand that same key to an assistant and you haven't granted "the ability to help customers with billing questions." You've granted the ability to issue refunds, full stop, and the only thing standing between a customer and an unlimited refund is a model's judgement about what that customer deserves.

A production MCP server draws that line on purpose: read-only lookups kept separate from actions that change things, a safe testing environment kept separate from the real one, and whatever approval steps you decide you want in between. And note that you decide. Whether a refund needs a human sign-off is a business call about your margins and your customers — not a technical default that should fall out of how your systems happen to be wired. The server's job is to enforce the decision you made, not to make it for you by accident.

What a real one actually requires

The work a generated wrapper skips comes down to roughly this:

  • Deciding what becomes an available action at all, and at what level of granularity. This is the single most important call, and it's the one no generator can make for you.
  • Writing the action descriptions for a model to read, rather than copying them from docs written for people.
  • Session-aware authentication, with real permission boundaries between looking things up, testing, and doing something for real.
  • Server logic built to the MCP standard, rather than a mechanical translation of your existing endpoints.
  • Hosting suited to long-running assistant sessions, which tend to be more conversational and longer-lived than ordinary API calls.
  • Monitoring that shows what got called and why, since raw API logs were never designed to answer that question.

None of this is exotic engineering. It's careful backend work, which is exactly the point: an MCP server is a backend problem wearing an AI hat, and teams who treat it as an AI problem are the ones who end up shipping the wrapper.

The test to run

Ask whoever's building it to read you three of the action descriptions out loud.

Then ask why an assistant would pick the first one over the second. If the answer is a clear, plain sentence — "because this one only looks something up and that one changes it, and the description says so in the first few words" — then someone wrote them properly. If the descriptions sound like your API reference read aloud, they were generated, and what you're looking at is the version that deletes the account.

It takes about ninety seconds and it's genuinely hard to fake, which is what you want from a test. The same instinct applies when you're evaluating an AI support vendor rather than a build: the thing that reveals whether someone did the real thinking is almost never the architecture diagram. And if you're still deciding whether any of this belongs on your roadmap at all, start with what an MCP server is and what it would actually do with your product.