Resources / MCP

MCP vs REST API: what changes when an AI agent is the client

How the Model Context Protocol relates to REST APIs, when to expose tools over MCP, and why you usually want both.

MCP doesn't replace REST — it describes an API in a way language models can use. A REST endpoint is built for a programmer who reads the docs once; an MCP tool is built for a model that reads the description every time it decides what to do.

What's the same

Both are request/response over HTTPS, both take structured input and return structured output, and both need authentication, validation and rate limits.

What's different

When to use which

Use REST for your own frontend, webhooks and other services. Add MCP when you want agents — your support bot, Claude for your team, a customer's assistant — to use the same capabilities. The best setup is one implementation exposed both ways.

One implementation, two interfaces

In Wisp, each endpoint is a normal HTTPS API and an MCP tool. The input and output schemas you (or the assistant) define document the REST endpoint and become the tool definition, so they never drift apart.

Build it with Wisp — describe an API, get it live.

Related