Skip to main content
@frontmcp/testing provides a complete end-to-end testing framework for MCP servers. Write tests that spin up your server, call tools, and assert on results — all with type-safe fixtures and custom matchers.

Testing Overview

Complete testing guide with installation and configuration

Fixtures

Test server setup and teardown with Playwright-inspired fixtures

Custom Matchers

All available Jest matchers (toBeSuccessful, toBeXssSafe, etc.)

Interceptors

Mock providers and simulate failure scenarios