Resources / MCP

What is an MCP server? The Model Context Protocol explained

A plain-language guide to the Model Context Protocol (MCP): what an MCP server is, how tools work, and why AI agents need them.

The Model Context Protocol (MCP) is an open standard for connecting AI models to the outside world. An MCP server exposes a set of tools — functions an AI agent can call — together with a description of each tool's inputs and outputs. Clients such as Claude, ChatGPT, Gemini CLI, Cursor and VS Code speak MCP, so one server works with all of them.

Why MCP exists

Language models are good at deciding what to do, but they can't look up an order, create a ticket or check stock on their own. Before MCP, every AI product invented its own plugin format. MCP replaces that with one protocol: describe your tools once, and any compatible agent can discover and call them.

How an MCP server works

What makes a good MCP tool

Good tools are narrow and well described: "look up an order by id" beats "run a database query". Clear input schemas (with descriptions and required fields) matter more than clever code, because the model chooses tools by reading them. Tools should validate input, return structured JSON and fail with helpful messages the model can act on.

Security basics

An MCP server is an API that an AI can call on its own, so treat it like one: authenticate callers (API keys or OAuth), limit what each tool can do, rate-limit, and log every call so you can see what an agent actually did.

The fastest way to get one

With Wisp, every project is an MCP server automatically: each endpoint you describe becomes a tool, with its input and output schemas, at <your project>/_mcp. Describe the tool in a sentence, and connect your agent a minute later.

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

Related