A single-binary mock server supporting HTTP, WebSocket, gRPC, MQTT, SSE, GraphQL, and SOAP protocols.
Mockd is a high-performance, multi-protocol mock server packaged as a single binary with no external dependencies. It allows developers to mock HTTP, WebSocket, gRPC, MQTT, SSE, GraphQL, and SOAP APIs, enabling realistic testing and development without managing multiple tools. It solves the problem of fragmented mocking solutions by providing a unified platform that supports importing real API specifications, creating stateful digital twins, and integrating with AI agents for automated mock generation.
Developers, QA engineers, and DevOps teams who need to mock complex, multi-protocol APIs for testing, development, or chaos engineering. It is particularly valuable for teams building microservices, IoT applications, or AI-driven systems that rely on diverse communication protocols.
Developers choose Mockd because it consolidates seven protocols into one zero-dependency binary, eliminating runtime overhead and integration complexity. Its unique selling points include AI-native capabilities via MCP, the ability to create SDK-validated digital twins, and built-in features like chaos engineering and cloud tunneling that go beyond basic mocking.
High-performance, multi-protocol mock server. HTTP, WebSocket, gRPC, MQTT, SSE, GraphQL, SOAP in one binary.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Mockd supports seven protocols—HTTP, WebSocket, gRPC, MQTT, SSE, GraphQL, and SOAP—from a single binary, eliminating the need for multiple specialized tools, as shown in the feature comparison table.
It can import OpenAPI specs and bind them to stateful tables, creating mocks that pass real SDK tests, such as 49/49 Stripe Go SDK tests, ensuring high fidelity for services like Stripe and Twilio.
Built-in Model Context Protocol server with 18 tools allows AI agents to create and manage mocks directly, integrating with editors like Claude Desktop and Cursor, as described in the MCP section.
Supports importing from OpenAPI, Postman, HAR, WireMock, cURL, and WSDL formats, and exporting mocks, facilitating easy migration and sharing across different tools.
Features like latency injection, error rates, and circuit breakers enable resilience testing without additional tools, with commands like `mockd chaos apply flaky` for automated chaos scenarios.
As a newer project, Mockd lacks the extensive plugin library and community contributions of established tools like WireMock, which could hinder integration with niche or legacy systems.
The upcoming Mockd Cloud service, while optional, centralizes features like team management and persistent mocks, encouraging dependency on their platform for advanced collaboration needs.
Primary configuration relies on CLI commands and YAML files, which might be cumbersome for users accustomed to graphical interfaces, despite the built-in web dashboard.
For basic HTTP mocking without state or multi-protocol requirements, Mockd's feature-rich setup can be unnecessarily complex compared to lightweight alternatives like json-server.
mockd is an open-source alternative to the following products:
WireMock is a tool for mocking HTTP-based APIs, enabling developers to simulate backend services for testing and development purposes.
Mockoon is a desktop application for creating mock APIs locally, providing tools to simulate REST or GraphQL endpoints with customizable responses for development and testing.
json-server is a Node.js tool that creates a full fake REST API with zero coding by reading a JSON file, useful for prototyping and mocking.