Session

Beyond the Happy Path: Testing MCP Servers Under Failure

An MCP server may work perfectly during a demo, but what happens when its tools receive unexpected inputs, services fail, responses become too large, or operations are retried?

In this session, I will use a small MCP server to demonstrate four deliberately introduced failures and test each with a scripted client: tool schemas that allow invalid inputs, service failures that look like successful responses, excessively large tool outputs, and timeouts that create duplicate operations when retries aren't handled safely.

The silent failure is particularly dangerous: an agent cannot reliably distinguish between "nothing found" and "something broke" when both are returned as successful results.
For each failure, I will demonstrate the problem, investigate why it happens, identify the responsible layer (server, client or application), implement a fix, and rerun the same experiment to verify the result.

I will also test an unmodified implementation: the official Filesystem MCP server, whose read_text_file tool returns the complete file unless the caller requests a bounded response using head or tail. This demonstrates why output size and tool usage deserve attention even when a server is behaving as designed.
Finally, I will introduce a small checker for common MCP issues and explain where generic checks fall short and application-specific tests become necessary.
You will leave with practical examples and a small test suite you can adapt to check your own MCP servers. No prior MCP knowledge required.

Format: 30-minute conference session (about 25 minutes plus Q&A).

Ujjwal Kumar Singh

SDET @ Skeps

Gurugram, India

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top