Back to Apps

MCP Expect
by fba5147
Jest-style fluent assertions for testing MCP servers in CI/CD pipelines.
0 stars
Works in:claude
Exposes:Tools
What it does
MCP Expect provides a specialized testing library for developers building MCP servers. It allows you to verify that tools are registered, they respond within acceptable time limits, they reject invalid inputs, and they return the expected data shapes, preventing runtime failures for AI agents.
Tools
As a testing library, it provides assertion tools for the developer:
.exists(): Verifies a tool is registered..respondsWithin(ms): Checks for handler hangs..rejectsInvalidInput(): Verifies input schema strictness..returnsSchema(shape): Performs shallow shape validation of results.
Installation
Install as a dev dependency:
npm install --save-dev mcp-expect zod
Run tests using the CLI:
npx mcp-expect "dist/**/*.mcptest.js"
Supported hosts
This is a developer tool used during the build process; it supports any MCP server using stdio or Streamable HTTP transports.
Quick install
npm install --save-dev mcp-expect zodInformation
- Pricing
- free
- Published
- 7/28/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
Not applicable (Developer Tool)





