DEV Community

NexaMarTech
NexaMarTech

Posted on

A passing MCP tester session is not a production integration

#ai

An MCP tester is the right place to learn whether a tool answers. You send a call, you read the payload, you see the error. That is a lab. Production is the moment a workflow or an agent calls that same tool with a real record, on a schedule, with a credential that is not a person's laptop login, and nobody is watching the response pane. Shipping the lab result is how the first production week becomes timeouts, double writes, and a log with no owner.

The gap is the contract around the tool, not another prompt. Who may call it. What it is allowed to change. What it returns when the system behind it is down. How a caller tells a retry from a second action. A tool that creates a task or sends a message is not safe to retry unless the tool itself can be called twice without doing the work twice. A single green test does not tell you what the second identical call does. Find that out before an agent finds it on a Monday morning.

Authentication in the tester is usually a person. In production it should be a service identity with the narrowest scope that still does the job. A tool that runs with an admin key because that key was handy in the test will eventually be asked to do something the design never included. Bind the tool to the action. Rotate the credential, and make a failed login visible. A silent failure looks like the agent chose not to act, which is how missed follow-ups get blamed on the model.

Logging is part of the integration. Record the caller, the tool, the record, and the result, without dumping a customer's data into a transcript nobody can delete. When a call fails, the workflow needs a path that was written down: stop, retry with a limit, or hand the case to a person. The model will figure it out is not a path. A tester does not exercise that path. A staging workflow, pointed at non-production records and using the same tools, does. Skip it and the first real failure is also the first test of the error branch.

Version the tool the way you would version an interface you owe someone else. Fields get renamed, and a caller built against last month's shape will keep using the old one until it breaks in front of a customer. The tester is how you prove the new version responds. It is not a change window, an owner, or a way to roll back. A green call on a laptop is the beginning of that work, not the approval to widen who can invoke the tool.

Promote a tool only after you know what a bad call does. Use the MCP tester and the other tools. We build production MCP tools and agent integrations beyond a quick test — Book a Consultation. If a tool is already being called from a live flow, email hello@nexamartech.com before you widen its scope.

Top comments (0)