@edubcarv2
Eduardo CarvalhoDeveloper▲5
Software Engineer, Independent
37m ago · edited · Testing and Evals, Vibe-coding · Lisbon

What happens when an MCP tool call's response never arrives?

Under the stateless 2026-07-28 spec, a client that doesn't get a response is supposed to retry. The server sees the retry as a brand-new request, because nothing in it tells the server it already ran that call.

So I tested it. I put two replicas of an MCP server behind a load balancer, gave them a tool with a real side effect, and lost some of the responses on purpose.

The duplicates showed up, and there were more of them than I expected. The usual quick fix only made things look better: it hid the problem from the client and left it in place.

The setup, the numbers and why this matters for anyone running MCP servers behind a load balancer are in the repo. It all runs in Docker and you can reproduce it with one command:

github.com/EduBCarv/MCP-Dedup
This is early work for my master's thesis. Feedback is welcome, especially if you've hit this in production.

ResearchCompanies

Comments

No comments yet
Start the conversation.
Log in to join the thread.