Everyone is writing MCP tutorials. Most of them miss the point.

The Model Context Protocol is the thing everyone building with LLMs is talking about right now, and the internet filled up with "build your first MCP server" posts within weeks. Almost all of them stop at the fun part: register a tool, watch the model call it, ship a demo.

Here is the part they skip, and it is the part that decides whether the thing survives contact with real use: an MCP server is just an API. And API design is not a new problem. Backend engineers have been solving it, and getting it wrong, for twenty years. If you have shipped a production API that other systems depend on, you already own the skills that matter here. They just have a new name on them.

What MCP actually is, in one paragraph

MCP is a standard way for a model to use your software. Your server exposes tools (functions the model can call), resources (data it can read), and prompts (reusable templates), and a host application — Claude, an IDE, your own agent — connects to it over a defined transport and lets the model use them. That is the whole idea. The model is a client; your server is a service. It is the LLM's version of a REST client talking to your backend.

Once you see it that way, everything you know about building services applies, because it is the same problem.

Your tool schema is a request contract

A tool is declared with a name, a description, and a JSON Schema for its input:

{
  "name": "search_documents",
  "description": "Search a matter's documents and return ranked excerpts with their source and page. Use for any question about what a document actually says.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "query": { "type": "string", "description": "What to search for" },
      "matter_id": { "type": "string", "description": "Which matter to search within" },
      "top_k": { "type": "integer", "minimum": 1, "maximum": 20, "default": 5 }
    },
    "required": ["query", "matter_id"]
  }
}

That is a request contract. The schema is your validation layer, the description is your documentation, and the enum is you refusing to accept garbage. Designing a good tool is designing a good endpoint: narrow inputs, a name that says exactly what it does, and a description precise enough that the caller — here, a model — knows when to reach for it and when not to. A vague tool is a vague API, and a model will misuse it the same way a confused client would.

The things the tutorials forget, that backend engineers don't

The demo works because the demo is a read with no consequences. Production is where the parts nobody demos start to matter.

Auth and least privilege. A tool runs against something — a database, a third-party API, a user's data. Who is the model acting as? What is it allowed to touch? An MCP server that exposes a delete_user tool with no notion of who is calling is the same mistake as an endpoint with no authorization, except now a probabilistic system is pulling the trigger. I build multi-tenant platforms where every API request is scoped to a tenant and checked against a role before it touches anything. An MCP tool is the same request wearing a different coat: it should get exactly the surface its user is allowed, and nothing more.

Idempotency, because the model will call it twice. This is the one that bites people. A model retries. It calls a tool, the response is slow, it calls again. It misreads its own earlier step and repeats it. Any tool with a side effect — starting a job, creating a record, sending a message — has to be safe to call more than once. On a document platform I built, the long running work (ingestion, embedding) ran through queues with idempotency and retry handling, so the same job firing twice still did its work exactly once. An MCP tool that mutates state needs the same discipline: an idempotency key, or a guard in the database, not a hope that the model behaves.

Errors the model can act on. When a tool fails, the model is your error handler. A raw stack trace tells it nothing; a message like "matter_id not found, check the id and retry" tells it what to do next. Good tool errors read like good API errors: what failed, and the one thing that would fix it.

Observability. The model's reasoning is a black box, but the tool calls are not. Every call in and out of an MCP server is a traceable event — arguments, result, latency, who asked. I route and trace model calls the same way in the RAG systems I build, through Langfuse, so that when an answer is wrong I can replay exactly which tools ran with which inputs. Without that, debugging an agent is guessing. With it, it is reading logs.

The payoff

MCP is not a new skill for a backend engineer. It is a familiar one wearing a new name. The protocol gives the model a clean way to reach your software; everything that makes that software trustworthy — authorization, idempotency, clear contracts, actionable failures, traces — is work you already do.

That is also who is going to build the good MCP servers. Not the people who can register a tool in a demo, but the people who have already shipped an API that a thousand clients hammer and who know, in their bones, that the interesting part is not the happy path. It is the absence of a specific disaster, held in place by a constraint.

Which is the same thing I believe about any system: don't just make it work in the demo. Make the failure visible, make the bad state impossible, and then it holds up — whether the caller is a service, a person, or a model.