MCP vs a Plain REST API
What MCP is, what a plain REST API is, when each one fits, and the security catch, explained simply for your AI interview.
In short
MCP (the Model Context Protocol) is a standard way for an AI app to list its tools at run time and let the model pick one. A plain REST API is a web service with fixed addresses that your code calls in ways a developer set in advance. Use REST when the steps are known, and MCP when the model has to choose.
11 min readIntermediateCommon · estimateFacts checked 26 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
MCP is a standard that lets an AI app list tools at run time, so the model can pick the right one. A plain REST API is a web service whose fixed addresses my code calls in steps I set in advance. When the steps are known, I use REST, because it is simpler to test. When the model must choose across many systems, I use MCP, and I add a person's yes before any risky tool runs.
A REST API is a web service built around resources, each with its own web address, that a program calls to read or change data. For example, one address opens a card dispute case. A developer writes the code that knows each address and the fields to send. The model is not involved. That makes it simple, predictable and easy to test.
MCP, the Model Context Protocol, is an open standard for connecting AI apps to outside systems. An MCP server lists its tools, each with a name and the input fields it needs. The app gives that list to the model, and the model asks for a tool by name. The model chooses at run time, and that is the big difference.
I pick between them by asking whether the steps are known. A nightly job that always calls the same three addresses needs plain REST. A dispute assistant that must choose from many systems is a good case for MCP. An MCP server can be a thin layer in front of an existing REST API, so the two work together.
The catch is safety. The MCP tools page says a human should always be able to deny a tool call, and clients should ask for confirmation on sensitive operations. So a refund tool waits for a person, and my code checks every request before it runs.
What are MCP and a REST API, in plain words?
A REST API is a web service built around resources, each with its own web address, that a program can call to read or change data. A bank might offer one address to open a card dispute case, and another to read its status. Your code knows the addresses and the fields to send, because a developer wrote that code in advance.
MCP, the Model Context Protocol, is an open standard for connecting AI applications to outside systems. Its own introduction compares it to a USB-C port for AI applications: one shared plug, so any app can use any server that speaks it. The part that matters in an interview is that the model can see the tools and choose one.
Think of a bank branch. A REST API is a direct phone line between two departments, where both staff know the number and the script before the call. MCP is more like a shared directory at the front desk. Any new assistant can read what each service does and what it needs, then decide who to ring. The real case below is a card dispute assistant at a mid-size bank.
Key words
- Endpoint
- One web address a REST API answers on, such as a case status address.
- MCP server
- A small program that offers tools, data or prompts to AI apps through MCP.
- Tool
- A named action an MCP server offers, with the input fields it needs.
- Schema
- The written list of input fields a tool takes, with their types.
How does an MCP tool get found and used?
The model only ever asks. Your code and the server do the work. The tool list comes first, so the model knows what exists before it chooses.
- 1
The app asks for the tool list
It sends a tools/list request, and the server replies with each tool's name and input fields.
- 2
The model picks one tool
The app passes the list to the model. The model replies with a tool name and filled-in inputs, such as get_refund_status with a case number.
- 3
Your code checks the call
Before anything runs, code checks who is asking, which case it is, and whether the action is allowed.
- 4
The server makes the call
The MCP server calls the bank's REST API and returns the result, which the model reads before it answers.
How an MCP tool call travels
Agent's task
a dispute to check
Model
picks a tool and fills its inputs
Your code checks it
allowed tool? allowed amount?
MCP server
calls the bank's REST API
Result to the model
the model reads it, then replies
- 1The agent's task goes to the model.
- 2The model asks for one tool and fills in its inputs. It runs nothing itself.
- 3If the request passes, it goes on to the MCP server.
- 4The server makes the bank call, and the result goes back to the model.
Here is the case. A support agent types into the dispute tool: "Check case 4471 and show the merchant refund status." Over plain REST, a developer has already wired a call to the refund status address, so it runs the same way every time. Over MCP, the model sees a tool named get_refund_status with a case number field, and it picks that tool only when the request needs it.
Which should you pick, REST or MCP?
Ask whether the steps are known in advance. If they are, plain REST is the simpler choice. If the model has to choose from many tools, MCP fits.
Same bank data, two ways in
Plain REST
Code calls one URL
a developer wired this in advance
MCP
Server lists its tools
name and input fields
Fixed call
the same call every time, by design
Model picks a tool
any listed tool, chosen at run time
Dispute system
same data either way
- 1The developer's code calls the one URL it was built for.
- 2The server lists its tools, and the model picks one from that list.
- 3The fixed call reaches the dispute system.
- 4The chosen tool reaches the same dispute system.
- Plain REST
Known steps, one app
A nightly job that always calls the same three addresses needs no model choice. It is simple to test and easy to check and log.
- MCP
Many tools, many apps
When several assistants need the same systems, and the model picks the tool, a remote MCP server can serve them all.
- Cost
Tool lists take space
Every tool's name and inputs, and any description, take up room in what the model reads on each request. Anthropic warns that "Too many tools or overlapping tools can also distract agents from pursuing efficient strategies."
An MCP server can be a thin layer in front of an existing REST API, so the two work together. The bank keeps its systems and adds one standard way in.
Tip
Asked which to choose? Give the rule first: known steps, REST; model-chosen tools across many systems, MCP. Then name the cost of each.
What is the security risk with MCP tools?
MCP tools are model-controlled. The model can find and call them on its own, based on its contextual understanding and the user's prompts. The MCP tools page says a human should always be able to deny a tool call.
“Tools in MCP are designed to be model-controlled, meaning that the language model can discover and invoke tools automatically based on its contextual understanding and the user's prompts.”
Model Context Protocol, tools page
“For trust & safety and security, there SHOULD always be a human in the loop with the ability to deny tool invocations.”
Model Context Protocol, tools page
“The model ingests content from an external source (a web page, a document, an email, a tool response, a retrieved RAG passage, an image, an MCP server's output, a database row, or an issue title) that contains data which acts as prompt injection.”
OWASP, LLM01:2026
OWASP lists an MCP server's output as one way that outside text can carry hidden orders into the model. So a tool result is untrusted input too, and your code should treat it that way.
Example: a line hidden in a case note asks the dispute bot to issue_refund for the full amount. Without a person's yes and a check on the amount, the refund goes through.
- 1
Show the tools
Let the user see which tools the app can use, so nothing runs in secret.
- 2
Confirm the sensitive ones
A refund, a payment or a deletion waits for a person's yes. The MCP tools page asks clients to prompt for confirmation on sensitive operations.
- 3
Check inputs in code
Check the case number, amount and recipient before the server acts. Never trust the model to have checked them.
What does the interviewer want to hear?
A strong answer covers
- MCP is a standard way for an app to list tools and call them, and the model picks which one. Plain REST calls are fixed in advance.
- When to use each one, by asking whether the steps are known.
- MCP is a standard for connecting AI apps to outside systems. The calls underneath can still be REST.
- The model asks, and your code decides and checks.
- Tool lists take space, so keep them short and clearly named.
- A person's yes and input checks for risky tools.
Common traps
Trap"MCP is just a faster REST API."
BetterIt is a standard for connecting AI apps to tools, and the model picks one. The calls it makes can still be plain REST.
Trap"The model calls the API directly."
BetterThe model only asks. Your code checks the request, then the server makes the call.
Trap"MCP is always better, so use it everywhere."
BetterFixed steps are simpler with plain REST. Use MCP when the model must choose tools across many systems.
Can you spot the weak tool design?
Spot the weak design
Which tool setup is the risky one?
Quick check
The model keeps picking the wrong tool from a list of 60. Which change fixes it at the source?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
Learn it in depth
Last updated on 26 November 2026
Building an assistant that calls many internal systems?
I design and build AI agents and the tool layer behind them: which calls to expose, what needs a person's yes, and what stays plain REST. Book a short call and tell me which systems it must reach.