❯ runner & cli

Run simulations closer to your code — and your AI

WireMock Runner brings API simulation deeper into your workflow. Now you and your agents can manage pre-production environments from the CLI or IDE, record APIs in your local network, and promote mocks through CI/CD pipelines.

See Runner run (3 minute demo)

The testing foundation for your AI SDLC

Run WireMock as code

Your mock APIs are versioned files that can be pulled, committed, and code-reviewed like anything else. Agents can record and spin up a simulation through simple CLI commands, or using the WireMock MCP.

An editor showing a .wiremock directory of versioned simulation files, with an openapi.yaml OpenAPI spec open.

Mock anything, even off the public web

Point the CLI at any endpoint, including internal services behind your firewall, and record it into an editable simulation. Traffic never has to leave your network; your agents get to build against the private APIs they'd otherwise never reach in a bounded cleanroom that you control.

A coding agent crawling the PayPal invoicing API sandbox into a WireMock mock API — looking up the crawling docs over MCP, then starting a recording session.

Enable local-first development

Bring the entire simulated environment up on a laptop in seconds. No shared staging to queue for, no flaky remote dependencies to blame. Claude Code, Cursor, or any agent gets a fast, deterministic sandbox to write and verify code against, then tear down when the task is done.

A terminal running wiremock run, listing local simulated services and their HTTP ports.

Kick off with some examples

# install the CLI (Node 18+)
 npm install --global @wiremock/cli
 installed @wiremock/cli

# sign in to WireMock Cloud
 wiremock login
 authenticated as dan@acme.dev

 wiremock whoami
dan@acme.dev · acme (team plan)

Explore the full CLI reference in the docs

One command away from running everywhere

Install the CLI and bring your first simulation up locally in under a minute — or get the guided tour.