The io.mockd/mockd MCP server provides a multi-protocol API mock server under the mockd name. It supports HTTP, GraphQL, gRPC, WebSocket, MQTT, SSE, and SOAP using a single CLI tool, including the ability to import OpenAPI specs and build digital twins.
Mock HTTP, gRPC, GraphQL, WebSocket, MQTT, SSE, and SOAP from a single CLI tool.
Import OpenAPI specs. Build digital twins. Let AI agents create mocks for you.
# Install
curl -sSL https://get.mockd.io | sh
# Start + create a stateful CRUD API in one command
mockd start
mockd add http --path /api/users --stateful users# It works immediately
curl -X POST localhost:4280/api/users -d '{"name":"Alice","email":"alice@test.com"}'# โ {"id":"a1b2c3","name":"Alice","email":"alice@test.com"}
curl localhost:4280/api/users
# โ {"data":[{"id":"a1b2c3","name":"Alice","email":"alice@test.com"}],"meta":{"total":1}}
More install options
bash
brew install getmockd/tap/mockd # Homebrew
docker run -p 4280:4280 -p 4290:4290 ghcr.io/getmockd/mockd:latest # Docker
go install github.com/getmockd/mockd/cmd/mockd@latest # Go
Pre-built binaries for Linux, macOS, and Windows on the Releases page.
Why mockd?
Every other mock tool makes you choose: pick one protocol, install a runtime, bolt on extensions. mockd doesn't.
mockd
WireMock
Mockoon
Prism
MockServer
Beeceptor
json-server
Single binary, no runtime
โ
โ JVM
โ Electron
โ
โ JVM
โ SaaS
โ Node
All 9 protocols built-in
โ
๐ Ext
Partial
HTTP only
HTTP only
Partial
REST only
Chaos profiles + circuit breakers
โ
โ ๏ธ Cloud
โ
โ
โ
โ
โ
MCP server
โ local
โ ๏ธ Cloud
โ
โ
โ
โ ๏ธ Cloud, Team+
โ
Free + self-hostable, unlimited
โ
โ
โ
โ
โ
50 req/day
โ
๐ Ext = requires separate extension JAR โข โ ๏ธ Cloud = only in paid/hosted tier
Full capability matrix (deployment, protocols, capabilities, imports/exports, pricing)
Deployment
mockd
WireMock
Mockoon
Prism
MockServer
Beeceptor
json-server
Native single binary
โ Go
โ
โ
โ
โ
โ
โ
Runtime required
none
JVM
Electron/Node
optional Node
JVM
n/a (SaaS)
Node
Docker image
โ
โ
โ CLI
โ
โ
โ ๏ธ Enterprise
โ
Managed SaaS offering
roadmap
WireMock Cloud
Mockoon Cloud
Stoplight
โ
โ
โ
Protocol support
mockd
WireMock OSS
Mockoon
Prism
MockServer
Beeceptor
json-server
REST / HTTP
โ
โ
โ
โ
โ
โ
โ
gRPC
โ
๐ Ext
โ
โ
โ
โ
โ
GraphQL
โ
๐ Ext
โ
โ
โ
โ
โ
WebSocket
โ
๐ Ext (beta)
โ
โ
โ
โ
โ
MQTT
โ
โ
โ
โ
โ
โ
โ
SSE
โ
โ
โ
โ
โ
โ
โ
SOAP (WSDL)
โ
โ
Partial
โ
Partial
โ
โ
mTLS
โ
โ
Partial
โ
โ
โ
โ
OAuth flows
โ
โ
โ
โ
โ
โ
โ
Capabilities
mockd
WireMock OSS
Mockoon
Prism
MockServer
Beeceptor
json-server
Stateful CRUD
โ
โ
โ
Partial
โ
โ
โ
Multi-step stateful flows
โ
โ Scenarios
Partial
โ
Partial
โ
โ
Fault injection (delay, errors)
โ
โ
โ
โ
โ
โ
โ
Chaos profiles
โ
โ ๏ธ Cloud
โ
โ
โ
โ
โ
Circuit breakers
โ
โ ๏ธ Cloud
โ
โ
โ
โ
โ
Bandwidth throttling
โ
โ
โ
โ
โ
roadmap
โ
Admin REST API
โ
โ
CLI only
โ
โ
โ
Partial
Built-in web dashboard
โ
โ ๏ธ Cloud
โ ๏ธ Cloud
โ
โ read-only
โ
โ
Native desktop GUI
โ
โ
โ Electron
โ
โ
โ
โ
MCP server
โ local
โ ๏ธ Cloud
โ
โ
โ
โ ๏ธ Cloud Team+
โ
Cloud tunnel sharing
โ
โ
โ ๏ธ Cloud
โ
โ
โ
โ
Import / export
mockd
WireMock OSS
Mockoon
Prism
MockServer
Beeceptor
json-server
OpenAPI import
โ
โ ๏ธ Cloud
โ
โ
โ
โ
โ
Postman import
โ
โ ๏ธ Cloud
โ
โ
โ
โ
โ
HAR import
โ
โ
โ
โ
โ
โ
โ
WSDL import
โ
โ
โ
โ
โ
โ
โ
cURL import
โ
โ
โ
โ
โ
โ
โ
WireMock format import
โ
native
โ
โ
โ
โ
โ
Mockoon format import
โ
โ
native
โ
โ
โ
โ
HAR export
โ
โ
โ
โ
โ
โ
โ
Free tier limits
Requests
Mock rules
Cost
mockd
unlimited
unlimited
free (Apache 2.0)
WireMock OSS
unlimited
unlimited
free (Apache 2.0)
Mockoon desktop / CLI
unlimited
unlimited
free (MIT)
Prism
unlimited
unlimited
free (Apache 2.0)
MockServer
unlimited
unlimited
free (Apache 2.0)
Beeceptor free tier
50 / day / endpoint
3
$10/mo+ for more
json-server
unlimited
unlimited
free (MIT)
Legend: โ built-in โข ๐ Ext = separate OSS extension โข โ ๏ธ Cloud = only in paid / hosted tier โข Partial = limited implementation โข roadmap = on the project's stated roadmap, not yet shipped
Note on WireMock imports. The โ ๏ธ Cloud marks on OpenAPI and Postman import reflect first-party WireMock features. Community converters exist (e.g. openapi-to-wiremock, OpenAPI Generator targets) but are not bundled with the OSS standalone JAR.
Digital Twins
Import a real API spec, bind it to stateful tables, and get a mock that passes the real SDK:
See mockd-samples for complete digital twin configs.
AI-Native (MCP)
mockd includes a built-in Model Context Protocol server with 18 tools. AI agents can create mocks, manage state, import specs, and verify contracts without touching the CLI:
Works in Claude Desktop, Cursor, Windsurf, and any MCP-compatible editor. Tools cover mock CRUD, stateful resources, chaos injection, request logs, verification, workspaces, and import/export.
All 7 protocols multiplexed through a single secure connection on port 443. Works behind NAT and firewalls.
Workspaces โ isolated mock environments
bash
mockd workspace create -n "Payment API" --use
mockd import stripe-openapi.yaml
mockd workspace create -n "Comms API" --use
mockd import twilio-openapi.yaml
# Mocks, state, and logs are fully isolated per workspace
Proxy Recording โ record real traffic, replay as mocks
bash
mockd proxy start --port 8888
# Configure your app to use http://localhost:8888 as proxy# Traffic is recorded, then replay with:
mockd import recordings/session.json
Web Dashboard โ manage mocks visually
Release builds serve a web UI from the admin port (http://localhost:4290). VS Code-style editor, command palette, mock tree with folders, request log viewer, and near-miss debugging.
Mockd Cloud
mockd works fully offline with no account required. For teams that want shared environments:
Persistent cloud mocks โ deploy mock environments your whole team can hit
Team management โ shared workspaces with access controls
Cloud tunnels โ authenticated tunnels with custom domains