The 60-Second Version
Until late 2024, connecting an AI model to a tool meant writing custom code for each one. Then came the Model Context Protocol (MCP), Anthropic's open standard for how AI agents talk to tools and data. It spread faster than almost any protocol in recent memory: open-sourced in November 2024, adopted across ChatGPT, Gemini, and Microsoft Copilot within months, and donated to the Linux Foundation's new Agentic AI Foundation in December 2025, by which point there were more than ten thousand active public MCP servers.
With that much momentum, MCP has become the default answer to a question many teams have not actually asked. It is a genuinely good piece of engineering, but it is not always the right tool, and reaching for it by reflex adds complexity and, as you will see, real security exposure.
There are three ways to connect AI to the outside world, and they are not competitors so much as different tools for different jobs: function calling, MCP, and a plain API call. Knowing which one a situation calls for is the whole decision.
First, What Each One Actually Is
These get muddled constantly, so here is the plain-English version.
Function calling is the model telling your code what to do. The AI outputs a structured request ("call get_weather with city = Melbourne") and your own application runs it. It is a translation step, nothing more. Fast, simple, and entirely inside your codebase.
A plain API call is your code talking directly to a service, the way software has always worked. No AI standard involved. You write the integration, you own it, it does exactly what you told it.
MCP is a shared protocol that sits between agents and tools. A tool's capabilities live on an MCP server, and any MCP-compatible agent can discover and use them without custom wiring. It is the standard that makes the M+N picture above possible.
MCP does not replace APIs. An MCP server is almost always a thin wrapper around an existing API, which still does the real work. So the question is never "MCP or API" in the abstract. It is whether wrapping your API in the MCP standard earns its keep for your situation.
How They Compare
The dimensions that decide it in practice: how much effort to set up, who carries the maintenance, how portable it is across models, the security posture, and what each is genuinely best at.
| Dimension | Function calling | MCP | Plain API |
|---|---|---|---|
| Setup | Low, quick to prototype | Higher up front, reusable after | Low per call, high per integration |
| Maintenance | Lives in each app | Centralised in the server | Lives in each app |
| Portability | Schema varies by provider | Works across any MCP client | Tied to each API |
| Credentials | Held by every app that uses the tool | Held once, by the server | Held by every app that uses the API |
| Latency | Minimal, in-process | Some session overhead | One network round trip |
| Best for | A few tools, one app | Many tools, many agents | Stable, high-volume, non-AI |
Option 1: Function Calling
The simplest way to let a model act
Best for: prototypes, a handful of tools, latency-sensitive paths
If you are building one agent that needs to call a few functions, function calling is almost always the right starting point. There is no protocol to stand up, no server to run, no new infrastructure. The model requests, your code executes, done. For most single-application AI features, this is all you ever need.
The limit shows up at scale. Every integration lives in your codebase, and each model provider has its own schema format, so moving between models means rework. Once you are juggling many tools across many agents, maintaining all that by hand becomes the problem MCP was designed to solve.
Option 2: MCP
The standard for connecting many tools to many agents
Best for: large tool catalogues, multiple models, governance and audit needs
MCP earns its complexity when you have scale and governance needs that function calling cannot meet cleanly. If several teams build several agents that all need the same set of tools, writing each connection once as an MCP server, instead of N times in N codebases, is a real saving. The same server works with models from Anthropic, OpenAI, and Google, so you are not locked to one provider.
Its quieter strength is governance. Because the server sits between every agent and the tool, it is one place to hold the credentials, enforce who can call what, and log every action, instead of repeating all three in each application. That is exactly the kind of control and audit trail our AI governance checklist asks a regulated business to be able to show.
MCP's biggest weakness right now is the security of the public server ecosystem. Independent scans of thousands of live public MCP servers in 2026 found a large share exposing their tools with no authentication at all, and many more relying on a single static key. Plenty also request far more access than they need. Treat a public MCP server like any third-party dependency with access to your systems: assume nothing, review before you trust.
Option 3: Plain API
Still the right answer more often than people admit
Best for: high-volume batch, deterministic pipelines, anything not AI-driven
Not every tool connection needs an AI standard wrapped around it. If the work is high-throughput batch processing, a scheduled ETL job, a webhook handler, or anything deterministic that does not involve a model deciding what to do, a direct API call is simpler, faster, and cheaper. Adding MCP here just adds a layer of overhead and a server to maintain for no benefit.
This is the option the hype cycle forgets. The fact that you are building with AI does not mean every integration has to pass through an AI protocol. The parts of your system that run on fixed logic should keep calling APIs directly.
How to Choose
Two questions settle most cases.
Question 1: Does a model decide to use it?
If the connection runs on fixed logic (a nightly job, a pipeline, a webhook), it is a plain API call. No AI standard required. Only move on if a model is choosing, at runtime, whether and how to use the tool.
Question 2: Is it many tools across many agents?
If a model needs a handful of tools inside one application, function calling is simpler and faster. Reach for MCP when you have a growing catalogue of tools, multiple agents or models that need the same ones, or governance requirements (central credential management, access control, audit logging) that justify running shared infrastructure.
Whichever mechanism you pick, a model that can call tools is a model that can act. How much it should be allowed to do unsupervised is a separate decision from how it is wired, and it is the one we unpack in the agents post.
What Most Teams Get Wrong
MCP is the exciting answer, so it gets chosen for problems that function calling or a direct API would solve with less code and less risk. Pick the approach that fits the job, not the one with the most momentum. For a single agent and a few tools, MCP is usually overkill.
The ecosystem is young and much of it is not enterprise-safe. Plugging a public server into your systems gives external code access to your data and tools, and the descriptions a server publishes for its tools are read by the model, so a malicious or compromised server can steer what your agent does. Vet every server as you would any dependency with that reach, and for sensitive systems, run your own rather than borrow someone else's.
Once a team adopts MCP, there is a pull to route everything through it, including the deterministic, high-volume work that gains nothing and loses performance. Keep your non-AI integrations on direct API calls. MCP is for the parts where a model is in the loop.
Teams expect MCP to remove integration effort. It relocates it. You still build and maintain the underlying API; MCP adds a standard layer on top. The payoff is reuse and governance at scale, not less work on any single connection.
Where to Start
A sequence that keeps you out of trouble.
Start with function calling
For your first AI feature with a few tools, it is the fastest path and teaches you what the agent actually needs before you commit to infrastructure.
Adopt MCP when the pain is real
When you find yourself writing the same integration for the third agent, or needing central control over what agents can access, that is the signal MCP will pay off. Not before.
Keep deterministic work on plain APIs
Resist routing pipelines and batch jobs through an AI protocol. Use each approach for what it is good at, and your system stays simpler and faster.
MCP is an excellent standard that solves a real problem at scale, and the wrong default for small ones. Ask whether a model is really in the loop, and whether you have enough tools and agents to justify shared infrastructure. Most of the time the honest answer points to function calling or a plain API, and that is a feature, not a failure.