MCP vs API integration: who decides what happens

An API integration is a path written in advance by a developer. MCP gives the model a set of operations and the model chooses. What that changes in costs and testing.

Two sentences sound similar but mean different things: “we connected AI to our job system” and “we exposed our job system via MCP”. In the first, someone programmed what should happen. In the second, the model got a set of capabilities and chooses on its own.

This difference sits in the integration layer, below what the user sees. But it decides whether the result can be predicted, how much it costs and how long it takes to find the cause when something goes wrong.

Who makes the decision

An API integration is a path drawn in advance. The developer decided: an event comes in, fetch fields A, B and C, build a prompt for the model from them, take the response, save it in field D, send a notification. The model is one step in the middle. It has one task and no say in what happens before or after it.

MCP reverses the order. An MCP server exposes tools (operations to call) and resources, meaning data to read. Each tool has a name, a description and a parameter schema. The model gets this list and decides whether to use one tool, five in a row or none.

It's worth getting the vocabulary straight while we're at it, because even vendors mix it up. The client is the AI app. The server is the system that exposes its operations. The sentence “we're connecting our system to the assistant” means the system becomes the server and the assistant the client, not that one runs inside the other.

And one more distinction that saves a lot of misunderstandings: the model doesn't get access to the database. It gets a list of tools and can ask for them to be called. The client calls them, on behalf of the signed-in user.

The same matter, two ways

An example: a customer emails asking about the status of an order, and you want to reply automatically.

Via API. Code receives the message, extracts the order number, queries the database, puts the result into a prompt template, the model writes a sentence from it, the code sends the reply. One flow, always the same. If there's no order number in the email, the path ends: nobody anticipated that case.

Via MCP. The AI app gets the email content and a list of tools: find a customer by address, list their orders, show order details. A missing number doesn't stop the matter: the model finds the customer by the sender's address, lists their orders and takes the latest open one. Nobody programmed this flow.

That's both the whole advantage and the whole problem. The same mechanism that coped with the missing number may pick the wrong order with the next email, because the customer has three open ones and none is the obvious candidate.

Four things that change as a result

Predictability. In an API integration, the same input gives the same flow. Only the content of the model's response varies, and in one narrow, described place. In MCP, the route itself varies: with two very similar questions, the model may reach for different tools.

Testing. You test a path through an API like ordinary code: this input, this output, green or red. You can't pin down MCP paths like that. You test behavior on a set of real questions and check in how many cases the model chose the right tool and the right parameters. The result isn't a verdict but a distribution of hits, and swapping the model for a newer one can shift it either way.

Cost. A path through an API is a known number of calls of known size. In MCP, the model decides the number of calls, and each question comes with the description of the available tools, because without it the model doesn't know what it has. With a dozen tools that doesn't matter; with a few dozen it starts to. What breaks then and how to shorten the list, we break down separately.

Debugging. When an API integration returns nonsense, you find the line. When an agent on MCP does it, the log shows which tools it called and with which parameters, but it won't show a line, because there isn't one. The answer to “why did it choose that particular tool” is usually: because its description looked like a match. The fix then consists of improving the description and the parameter schema, not the code. That's different work from programming.

When an API is cheaper and better

When the flow is known and doesn't change. An invoice comes in, the data goes into the system, someone gets a notification. There's no decision to make here, so there's no point hiring a model for it.

When the result has to be exact to the last digit. Billing, transfers, inventory adjustments. Anywhere an “almost right” answer is worse than no answer.

When the volume is large and the task identical. A thousand identical operations a day are a thousand decisions nobody needs to make. Paying a model for them is cost without value.

When a mistake is irreversible. An email sent to a customer, a document issued, a job closed.

A practical rule: if you can draw the flow on paper and don't have to keep adding “unless”, an API integration will be cheaper to build, to maintain and on the model bill.

When MCP really changes something

When the input is unpredictable. Questions asked in people's own words don't have a finite list of variants. A path written in advance will handle the ones someone anticipated and bounce off the rest.

When there are many operations and even more combinations. With thirty operations, the number of sensible sequences runs into the hundreds. Nobody will write a path for each, and most would be used once anyway.

When you want to ask from a tool you don't control. If the team works in several AI apps, an integration written for one of them doesn't work in the others. An MCP server isn't written for a specific client.

When a new requirement shouldn't mean a job for a developer. Adding one tool with a description gives the model a new capability and all its combinations with the old ones. In an API integration, you add one path and that's exactly what you get.

Summary

The difference between an API integration and MCP isn't a difference in technology generations, but in who makes the decision along the way. A path through an API is predictable, cheap and testable, as long as the world looks the way its author assumed. MCP buys flexibility with predictability and pays for it in the model bill and in harder debugging.

In practice, most companies will have both: rigid paths where the process is fixed, and tools exposed to the model where the questions are open. So the question for your vendor isn't “do you have MCP”, but “which operations do you expose to the model, and whose permissions does it call them with”.

More context in the guide to AI integration with company data.

FAQ

Frequently asked questions

Don't see your question? Help center Write to us

  • An API integration is a flow written in advance: known input, known output, no decisions along the way. MCP gives the model a set of tools, and the model chooses which to use and in what order. The first is predictable, the second flexible.

  • When the flow is fixed, repetitive and runs often. If you can draw it on paper without adding exceptions, the model has nothing to decide there, and involving it only raises the cost and lowers predictability.

  • No. The model gets a list of tools with descriptions and parameter schemas, and it can ask to call them. The client application calls them on behalf of the signed-in user, so the agent's reach equals that account's permissions.

Read next

Replace 11 tools with one platform

Create a workspace in a minute, invite your team and assign the first task to an agent.

No credit card required. Cancel anytime.