7 Protocols, 1 Binary, 0 Dependencies
HTTP, GraphQL, gRPC, WebSocket, MQTT, SSE, and SOAP from a single 43MB Go binary. No JVM, no Node, no Docker required. Here's why and how.
Perspectives on AI-assisted development, mock infrastructure, and digital twins. Plus practical guides for mocking APIs across protocols.
HTTP, GraphQL, gRPC, WebSocket, MQTT, SSE, and SOAP from a single 43MB Go binary. No JVM, no Node, no Docker required. Here's why and how.
18 MCP tools that let Claude, Cursor, and any AI assistant create, manage, and verify mock APIs without leaving the conversation.
One container or three. Same config, same mocks, same dashboard. Docker Compose files for both — copy, paste, done.
Your deployment pipeline has staging and production. It's missing the environment where AI agents do 80% of the actual development work.
The word "mock" undersells what AI development needs. You don't want a function that returns 200 OK. You want a local service replica that behaves like the real thing.
AI agents don't just write code. They develop, test, and iterate in tight loops. We gave them editors and terminals — but forgot to give them the services their code talks to.
No code, no config files, no dependencies. Create a fully functional mock REST API with dynamic responses, custom headers, and realistic data in a single command.
Create a mock GraphQL server that handles queries, mutations, and variables. No code generation, no schema stitching, no Apollo Server boilerplate.
Server-Sent Events are great for real-time features. Testing them is less great. Here's how to set up a mock SSE endpoint in under a minute.
Testing MQTT clients usually means running Mosquitto or HiveMQ locally. Here's a mock broker that takes one command and supports topic patterns, QoS, and auto-publishing.
Setting up a WebSocket server for testing usually means writing one. Here's how to get a configurable mock running in under a minute.
Most gRPC mocking tutorials start with "first, install the protoc compiler." This one starts with a working server.
A single GitHub Action step. No Docker containers, no JVM startup, no WireMock classpath configuration. Just a binary that starts in milliseconds.
Most mock servers return canned responses. mockd keeps state — create a user, and it actually exists. Delete it, and it's gone. One command to get a full CRUD API.
Import an OpenAPI spec and get a working mock server with realistic responses. No code generation, no middleware configuration, no runtime to install.
Connect mockd to Claude, Cursor, or any MCP-compatible AI assistant. Create, manage, and debug mocks without leaving your conversation.
Inject latency, errors, and timeouts into your mock server with a single command. Ten built-in profiles that simulate real-world failure modes.
SOAP mocking usually means WireMock, Maven, and a lot of XML configuration. mockd does it with a single binary and a YAML file.
Get notified when we publish new tutorials and guides. No spam, unsubscribe anytime.
Multi-protocol API mock server. HTTP, gRPC, GraphQL, WebSocket, MQTT, SSE, SOAP. Install in seconds.