Two ways in. One engine.
Drive Mock Machines from an AI agent over the Model Context Protocol, or from any HTTP client over the REST API. They are sibling adapters over the same Lab → Workbench → Scenario → Experiment facade — so what you can do is identical, only the surface differs.
An MCP connector for agents.
The MCP server exposes Mock Machines as a set of Model Context Protocol tools, so an AI agent — Claude, ChatGPT, or any MCP client — can browse scenarios, run experiments, and author new configs without leaving the conversation.
It is a sibling adapter to the REST API over the same facade — every tool ultimately drives a Lab → Workbench → Scenario → Experiment operation, and the server holds no engine logic of its own.
Streamable HTTP, served at the subdomain root. The server identifies itself as mock-machines.
# Point any MCP client at the connector — served at the subdomain root.
https://mcp.mockmachines.dev - Claude (web, desktop) — Settings → Connectors → Add custom connector, and enter the URL above.
- ChatGPT (Apps / Developer mode) — add a connector with the same URL.
- Other MCP clients — register a Streamable-HTTP server at that URL.
Auth is optional. Anonymous callers act in the shared workbench of admin-pinned presets and get the preset/exploration tools. Authenticated callers present a bearer token (Authorization: Bearer <token>), get their own per-user workbench, and unlock the experiment and config-authoring tools. The server publishes OAuth 2.0 protected-resource metadata at /.well-known/oauth-protected-resource for clients that can discover and sign in automatically.
Three tiers of tools.
Exploring presets · anonymous
Running & managing experiments · authenticated
Authoring configs · authenticated
Plain HTTP over the same facade.
The REST API is a thin HTTP adapter over the Mock Machines facade. It exposes scenarios and experiments as resources, so any HTTP client can browse a deployed scenario, run an experiment, and read back the results.
It is a sibling of the MCP server — both drive the same Lab → Workbench → Scenario → Experiment facade, and neither holds engine logic of its own.
Live and hosted — no local build or server to run. Every endpoint hangs off this base.
# Base URL — liveness probe at /health
https://api.mockmachines.dev The API is open for reading the curated preset scenarios anonymously — no token required. Creating, running, and deploying scenarios needs a bearer token, which scopes the work to your own private workbench. The MCP connector is the sibling adapter, and the read-only studio is a browser UI over this same API.
Scenarios and experiments.
Scenarios
Experiments · under /scenarios/{id}/experiments
Browsing a ready experiment · under …/experiments/{eid}
Pick a world. Or build your own.
Author and edit your own scenarios. Rolling out in batches.