Maslow’s Hammer and the MCP Debate
In this post
A few days ago a Principal Software Engineer at Red Hat posted this one-liner on LinkedIn, and the comments split in half:
“MCP is a layer of unnecessary indirection. A properly documented REST API is enough and works for everyone, not just agents.”
It got 33 reactions and 13 comments, and the thread had good arguments on both sides. I added my take there, but a LinkedIn comment is too short for a nuanced opinion, so here’s the long version.
What MCP is, and what a REST API is#
The Model Context Protocol (MCP) is a standard interface between an AI agent and external tools. It defines how an agent discovers the tools it has, learns their parameters, decides when to use them, and calls them. Anthropic designed it, and the rest of the ecosystem has adopted it.
Amber is the agent and blue is the part MCP standardizes:
what tools exist?"] SCHEMA["Schema
what do they accept?"] CONTEXT["Context
when to use them?"] EXEC["Execution
run the tool"] DISC --> SCHEMA SCHEMA --> CONTEXT CONTEXT --> EXEC end subgraph TOOLS["Tools"] direction LR API["REST API"] CLI["Local binary"] DB["Database"] FS["Filesystem"] API ~~~ CLI DB ~~~ FS end AGENT --> MCP_LAYER EXEC --> TOOLS classDef agent fill:#40361d,stroke:#eec35e,stroke-width:2px,color:#eceae5 classDef mcp fill:#2d3128,stroke:#83a598,stroke-width:1.5px,color:#eceae5 classDef tool fill:#221f15,stroke:#b8b5ad,stroke-width:1px,color:#eceae5 class AGENT agent class DISC,SCHEMA,CONTEXT,EXEC mcp class API,CLI,DB,FS tool style MCP_LAYER fill:#1f1d16,stroke:#83a598,stroke-width:1.5px,color:#83a598 style TOOLS fill:#1f1c14,stroke:#5a5446,stroke-width:1px,color:#b8b5ad linkStyle 0,1,2,5 stroke:#83a598,stroke-width:2px linkStyle 6 stroke:#b8b5ad,stroke-width:1.5px
A REST API is a general-purpose interface for any client: a human, a script, a browser or an agent. It defines endpoints, methods, request and response formats and, if it’s well documented, what each operation means.
The thread was about one question: why have a separate protocol when REST already exists?
The arguments in the thread#
The comments were more interesting than the post, because each position in them maps to a real architectural tradeoff.
The purist’s position: REST is already self-descriptive#
The original poster meant something more specific than “REST is enough”. In a follow-up reply he clarified:
“REST applications should be self-descriptive. Hypermedia controls should contain enough information for the Agent to properly traverse the resource tree. This is the map that makes MCP unnecessary, and what I meant by ‘properly documented’.”
It’s a purist’s argument, and technically it’s correct. Roy Fielding’s original REST dissertation describes exactly this: resources link to related resources, representations carry metadata about the allowed transitions, and a smart enough client can navigate the API without knowing it in advance.
The trouble is that almost nobody implements REST this way. Most “REST APIs” are RPC over HTTP with JSON, with no hypermedia, no HATEOAS and no self-descriptive messages. He’s arguing for REST as it was defined, and MCP found its niche in the gap between that and the REST people actually ship.
The AI engineer’s counter: MCP is more than a wrapper#
An AI engineer in the thread pushed back with a specific point:
“Fair point if MCP is used just as a REST API wrapper, but it’s genuinely more than that. Prompts, resources, sampling, elicitation… it’s a complete protocol designed with agents in mind, not just API consumers.”
MCP does more than “call this endpoint”. The protocol also has:
- Prompts: pre-built interaction patterns the agent can use
- Resources: data the agent can read (files, database records) without calling an action
- Sampling: a way for an MCP server to ask the LLM to generate something
- Elicitation: a way to ask the user for input in the middle of a flow
None of these maps to REST. They are primitives for agents, and REST was never designed to express them.
The original poster replied: “I think we should aim for complete protocols that have some basic denominator of intelligence in mind, be it humans or machines.” In other words, don’t build a protocol only for agents, build one that works for any intelligent consumer. It’s a respectable philosophical position, but I find it more aspirational than practical.
The ergonomics argument#
Another engineer made a practical point:
“A well-designed MCP has significantly better ergonomics and uses way fewer context tokens to do thing X than a cURL call. And it has multiple mechanisms for auth. And it transparently handles local and remote tools.”
This is the argument I agree with most. When an agent uses a REST API, it has to reason about HTTP methods, build URLs, handle authentication headers, parse the response format and deal with pagination. All of that costs context tokens, and context is the agent’s scarce working memory.
An MCP tool call is “call this function with these parameters”. The MCP server takes care of transport, auth and parsing the response, and the agent only has to decide what to do.
MCP as gateway and access broker#
A Solutions Architect in the thread looked further ahead:
“MCP exists because REST APIs are not responsible for things like access controls or broadcasting version availability. We probably will see a handful of MCPs that act as gateways or access brokers, and everything else as API or CLI.”
He pointed to Arcade.dev as an example, an MCP runtime that handles secure authorization and governance for agents. In his view MCP won’t end up wrapping every API: it will be a controlled gateway between agents and the tools they’re allowed to use.
Architecturally, this is the interesting part. “A better REST” is the wrong way to frame MCP; “an access control plane for agents” is a more useful one.
The XKCD problem#
Someone in the thread posted the XKCD “how standards proliferate” comic and added:
“My biggest beef with MCP is the P part. It isn’t really a protocol so much as it is simply a standardized schema for an API.”
He’s not wrong. MCP today runs over stdio for local servers and over Streamable HTTP for remote ones (the 2025-03-26 spec replaced the original HTTP with SSE transport). The “protocol” part is mostly a schema: what a tool looks like, which parameters it takes, what it returns. The transport comes from existing technologies.
Whether that matters depends on whether a standard schema is worth having without a new transport. I think it is, but the comment lets some air out of the hype.
The map metaphor#
Someone else offered the simplest framing:
“I tend to think of REST as the infrastructure, while MCP is more like the map that helps an agent figure out how to use it.”
This is the closest to my own view. If REST is the road, MCP is the GPS. You can drive without GPS, especially on roads you know, but it helps when the destination is unfamiliar and the agent has to pick the route on its own.
My take: the value is in the context#
This is what I commented on the original post, expanded.
What MCP adds is context. A tool definition explains what the endpoint does, plus when and how the agent should use it. An OpenAPI spec with rich descriptions can do the same. I’ve also tried feeding man pages and shell auto-completion output to AI agents, and that works too.
So MCP isn’t necessary, in the sense that alternatives exist. It is a standard way to give agents that context, though, and a standard has value.
A typical OpenAPI entry:
/query:
post:
summary: Execute SQL query
parameters:
- name: sql
type: string
An MCP tool definition:
{
"name": "query_database",
"description": "Execute a read-only SQL query against the production database. Use this when the user asks about customer data, orders, or inventory. Do NOT use for writes. The database is PostgreSQL 15. Common tables: customers, orders, products.",
"inputSchema": {
"sql": "SQL query. Use parameterized queries for user-provided values.",
"database": "Usually 'production'. Use 'analytics' for aggregations."
}
}
The MCP definition carries intent: it tells the model when to use the tool, when not to, and which context matters. You can put all of this in an OpenAPI description. Almost nobody does.
Technically there’s nothing new here. MCP makes this context a first-class part of every tool, and that design constraint produces better outcomes.
Where MCP wins#
There are three cases where MCP gives you something REST can’t easily replicate.
1. Local executables#
This is the killer use case. git, docker, kubectl and terraform are CLI binaries on your machine, and they don’t have REST endpoints. An MCP server wraps them with rich context and lets the agent call them directly, while remote REST APIs stay plain HTTP.
Amber is the agent, blue is the MCP path to the local binaries, and green is HTTP to the outside:
To do this with REST you’d have to build a local HTTP server, wrap each CLI tool, handle auth and manage the processes’ lifecycle. MCP makes it a first-class concept through the stdio transport, and that’s a capability REST simply doesn’t have.
2. Execution decoupling#
MCP separates where a tool is defined from where it runs. An MCP server can run on your laptop, on a remote server or in a container, and the agent doesn’t care.
This matters when:
- The tool needs access to a private network the agent can’t reach
- The tool requires credentials the agent shouldn’t have
- You want to sandbox tool execution
- Multiple agents share the same tool with consistent behavior
This is the “gateway/access broker” model from the thread: the MCP server becomes the security boundary between the agent and the resources it can access.
3. Agent-native primitives#
This is the point about prompts, resources, sampling and elicitation. You wouldn’t add them to a REST API, because they make no sense for clients that aren’t agents: they’re interaction patterns between an agent and its tools.
REST has no concept of “ask the user for clarification mid-request”, or of “let the tool ask the LLM to generate something”. MCP has both, because agents are a different kind of client.
Where REST is enough#
There are also cases where MCP adds nothing:
- Well-documented public APIs. If your REST API has descriptive OpenAPI specs, an LLM can use it directly. The Stripe, GitHub and Twilio APIs don’t need MCP wrappers.
- Simple CRUD operations. Create, read, update and delete on a resource is what REST is for.
- Non-agent clients. If your tool serves browsers, mobile apps and scripts as well as agents, REST is the universal interface. MCP only speaks to MCP clients.
- Performance-critical paths. MCP adds a protocol layer. For high-throughput, low-latency operations, direct HTTP is simpler.
On this the original poster is right: if everyone implemented REST properly, with hypermedia, self-descriptive messages and rich documentation, the case for MCP would be much weaker. MCP exists partly because the REST ecosystem didn’t deliver on its own promises.
Do we need another standard?#
Brant’s XKCD reference is funny because it’s true. We already have REST with OpenAPI, GraphQL, and gRPC with Protobuf, and now MCP.
I don’t think MCP competes with REST, because it solves a different problem. REST is a pattern for client-server communication; MCP is a pattern for how an agent works with its tools. They overlap when the tool is a remote API, and they diverge when the tool is a local binary, a filesystem or a database.
Blue is MCP’s territory, green is REST’s, and purple is where they overlap:
scripts"] PERF["High-performance
APIs"] end subgraph OVERLAP["Both"] REMOTE_API["Remote API
calls"] end subgraph MCP_ONLY["MCP territory"] LOCAL_EXEC["Local
executables"] AGENT_PRIMS["Agent primitives
(prompts, sampling)"] TOOL_DISC["Standardized
discovery"] ACCESS_CTL["Agent access
control"] end classDef mcp fill:#2d3128,stroke:#83a598,stroke-width:1.5px,color:#eceae5 classDef rest fill:#343621,stroke:#a8c373,stroke-width:1.5px,color:#eceae5 classDef both fill:#2a2619,stroke:#b48ead,stroke-width:2px,color:#eceae5 class LOCAL_EXEC,AGENT_PRIMS,TOOL_DISC,ACCESS_CTL mcp class BROWSER,MOBILE,SCRIPTS,PERF rest class REMOTE_API both style MCP_ONLY fill:#1f1d16,stroke:#83a598,stroke-width:1.5px,color:#83a598 style REST_ONLY fill:#1f1d16,stroke:#a8c373,stroke-width:1.5px,color:#a8c373 style OVERLAP fill:#1f1d16,stroke:#b48ead,stroke-width:1.5px,color:#b48ead
MCP won’t replace REST. The risk I see is people wrapping every REST API in an MCP server because it’s trendy, which adds indirection and no value. That’s what the original post warns against, and it’s right to.
When to use which#
Use MCP when you need to:
- Wrap local executables for AI agents
- Decouple and control where tool execution happens
- Provide rich, agent-oriented context that goes beyond API documentation
- Use agent-native primitives (prompts, resources, sampling)
Use REST when:
- Your clients include humans, browsers and scripts, not only agents
- Your API is well documented and the agent can figure it out from OpenAPI
- You need maximum performance and minimum indirection
- You’re building a service, not a tool
Use both when your system is complex enough to need it, and be honest with yourself about whether you’re adding MCP because it solves a problem or because it’s what everyone is talking about.
MCP is a useful hammer. As I put it in the LinkedIn thread: “Not everything is a nail, but a hammer is useful nonetheless.”
This post started from a LinkedIn discussion that was worth expanding into an article. Thanks to everyone in the thread for a debate with more signal than noise, which is rare on LinkedIn.