Skip to content
@mockzilla

Mockzilla

Open-source API mocking and simulation platform. GitHub Actions, MCP server, and developer tools.

Mockzilla

Hosted API simulations from your OpenAPI specs.

Push to GitHub, get a dedicated simulation URL in seconds.
No config, no servers, no accounts to create.

How it works

You push code
  -> GitHub Action packages your OpenAPI specs
  -> Mockzilla provisions a dedicated simulation in your nearest AWS region
  -> Live at api.mockzilla.org/gh/{org}/{repo}/{ref}/

Every branch gets its own URL. Every push updates it. When the PR closes, the simulation is torn down automatically.

Quick start

Add this to .github/workflows/mockzilla.yml:

name: Mockzilla
on: [push, pull_request]

jobs:
  simulate:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/checkout@v4
      - uses: mockzilla/actions/portable@main
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          spec-dir: openapi  # path to your OpenAPI specs

Push. That's it. No API keys, no secrets, no signup.

Or start from a template: mockzilla-portable-template / mockzilla-codegen-template

Run locally

brew tap mockzilla/tap
brew install mockzilla
mockzilla https://petstore3.swagger.io/api/v3/openapi.json

What you get

  • Spec-driven simulation that matches your API contract exactly, with realistic response generation
  • PR environments where every pull request gets its own URL
  • 24 AWS regions with latency-based routing
  • Two modes: portable (just specs) or codegen (typed Go handlers with custom logic)
  • Rate limit headers on every response for integration testing
  • API key auth to protect simulations when needed

Repos

Repo What it does
actions GitHub Action for portable and codegen modes
Mockzilla OpenAPI mock engine powering all simulations
mockzilla-portable-template Starter template for portable mode
mockzilla-codegen-template Starter template for codegen mode
homebrew-tap brew install mockzilla/tap/mockzilla

Links

Pinned Loading

  1. mockzilla mockzilla Public

    Open-source OpenAPI mock server with cloud hosting and local modes for development, testing, and CI. Generates realistic API responses from specs with latency simulation, error injection, proxy fal…

    Go 72 1

  2. mockzilla-mcp mockzilla-mcp Public

    MCP server for Mockzilla. Let Claude Code, Cursor, and Gemini CLI install Mockzilla, inspect OpenAPI specs, and spin up realistic local mock APIs in seconds. No account required for local use.

    JavaScript 5

  3. mockzilla-portable-template mockzilla-portable-template Public template

    Starter template for OpenAPI mock services with Mockzilla. Push to main and get a hosted simulation URL and a downloadable binary in seconds.

    6 1

  4. mockzilla-codegen-template mockzilla-codegen-template Public template

    Starter template for generating a Go OpenAPI mock server with Mockzilla. Typed handlers, custom logic, API Explorer UI, and automatic GitHub Actions deploys.

    Go 6

Repositories

Showing 9 of 9 repositories

Top languages

Loading…

Most used topics

Loading…