« All posts

Finding a Production Bug with a Demo Script

A demo script found a production bug in an MCP server. Passing tests hid the issue.

A developer uncovered a production bug in an MCP server using a demo script, despite all tests passing. The issue stemmed from a default value that led to an error when interacting with the server. This incident highlights the importance of live testing to ensure contract validation, as mocked tests only verify the code itself.