GH. / GERRY HERDIANTOGet in touch
← All articles
AI IntegrationNovember 10, 20262 min read

MCP in Practice: Wiring AI Into Real Systems

The Model Context Protocol turns 'the model can use your tools' from a sales line into plumbing. The plumbing is where the real decisions live.

The Model Context Protocol gives a model a standard way to reach the tools and data of a real system. Before it, every integration was custom glue: a different API shape, a different auth flow, a different way of describing what a tool does. MCP does not make any of that disappear. It gives it a shape everyone can agree on — and the shape is where the real decisions live.

The protocol is the easy part

Standing up an MCP server is an afternoon's work. Deciding what it exposes is the actual project. Every tool you offer the model is a capability you hand to a system that will use it in ways you did not predict. A read-only query tool will be asked to read things you did not intend. A write tool will be called at the worst possible time, with the worst possible arguments. The protocol will carry those calls faithfully. It will not stop them. That is your job, and it starts before the first tool is registered.

A tool is a contract

I treat every tool as a contract with three parts: what it does, what it is allowed to touch, and what happens when it fails. The name says what it does, in plain language. The permissions say what it may touch, and read tools and write tools are never the same permission. The failure mode is defined in advance: a clear error the model can act on, not a stack trace, and never a silent partial write. A tool that cannot fail cleanly is a tool that should not exist yet.

  • A tool does one thing, and its name says what it is.
  • Read tools and write tools are different permissions, and they stay separate.
  • Every tool call is logged with its inputs and its result.
  • The model never sees credentials; the server holds them.

Start small, on one real workflow

The temptation with MCP is to expose everything at once — every table, every endpoint, every internal tool — and let the model sort it out. The model will not sort it out. It will pick the wrong tool confidently and often. Start with one real workflow, end to end, with a handful of tools and a human watching the results. When that workflow is boring — when it works the same way on the hundredth run as on the first — add the next one. Boring is the goal. A protocol that makes the extraordinary ordinary is doing its job.