
MCP in Production: Designing Tools an AI Can Use Safely
An open protocol can make your integrations reusable. The interesting work starts when you decide what those integrations are allowed to do.
ngayantha.comTechnology · Ideas · SystemsStart exploringWriting · Nadeera Gayantha
Long-form explanations of the decisions that make software hold up in production: how AI systems reach real data, how retrieval finds the right evidence, and how APIs keep their promises.
Three-article series
MCP, agentic retrieval, and schema-first APIs. Practical explanations for the decisions that matter after the demo.

An open protocol can make your integrations reusable. The interesting work starts when you decide what those integrations are allowed to do.

Hybrid search, rank fusion, and reranking can improve your evidence. Production retrieval also needs to respect the parts of a question that aren’t negotiable.

How to combine TypeScript, runtime schemas, authorization, and database guarantees without pretending one of them can do every job.
New notes are published here first.