GitHub - mcpland/mock-mcp: Mock MCP Server - AI-driven mock data orchestration with OpenAPI JSON Schema for testing
Briefly

GitHub - mcpland/mock-mcp: Mock MCP Server - AI-driven mock data orchestration with OpenAPI JSON Schema for testing
"Install the package. Add mock-mcp as a dev dependency inside your project. npm install -D mock-mcp yarn add -D mock-mcp pnpm add -D mock-mcp Configure the Model Context Protocol server. For example, Claude Desktop can launch the binary through npx: Connect from your tests. Use connect to retrieve a mock client and request data for intercepted calls. Run with MCP enabled. Prompt your AI client to run the persistent test command and provide mocks through the tools."
"Testing modern web applications often feels like preparing for a battle-you need the right weapons (test cases), ammunition (mock data), and strategy (test logic). But creating mock data has always been the most tedious part: Common Pain Points: ChallengeTraditional SolutionsLimitations Creating Realistic DataManual JSON files or faker.js āŒ Time-consuming, lacks business logic Complex ScenariosHardcoded edge cases āŒ Difficult to maintain, brittle"
Mock MCP generates AI-based mock data from OpenAPI JSON Schema definitions and pairs a WebSocket batch bridge with Model Context Protocol (MCP) tooling. Clients like Cursor or Claude Desktop can fulfill intercepted requests in real time while maintaining strict contract compliance. The package installs as a development dependency and runs within an MCP-enabled test environment using environment variables. Mock MCP replaces static fixtures with schema-compliant, interactive, and evolvable mocks to reduce maintenance, support complex scenarios, and integrate with CI/CD workflows.
Read at GitHub
Unable to calculate read time
[
|
]