MCP Failure Lab v0.4.0
What’s new
Scenario result assertions
Scenarios can now validate returned MCP tool results with:
expect.result.isErrorexpect.result.textContains
Text matching is case-sensitive and inspects MCP text content only.
Independent observer verification
Scenarios can now run an optional observe call after the primary tool call to verify post-call state through a separate read path.
Observer outcomes, durations, results, errors, and assertion failures are recorded separately and included in console and JSON reports.
Additional improvements
- Added a built-in deterministic demo command.
- Added end-to-end CLI coverage.
- Added Future AGI integration validation.
- Added trusted npm publishing through GitHub Actions.
- Updated examples and project documentation.
Included pull requests
- Built-in demo command: #42
- End-to-end CLI coverage: #43
- Trusted npm publishing: #44
- MCP scenario result assertions: #46
- Independent observer verification: #47
- v0.4.0 release preparation: #48
Full changelog: v0.3.2...v0.4.0