Skip to content
@mockzilla

Mockzilla

Open-source OpenAPI API 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-portable-template mockzilla-portable-template Public template

    Portable OpenAPI mock server template for Mockzilla with GitHub Actions and hosted API simulations

    Go 4 1

  2. mockzilla-codegen-template mockzilla-codegen-template Public template

    Template for generating a Go OpenAPI mock server with custom logic, API Explorer, and Mockzilla GitHub Actions deploys

    Go 4

  3. mockzilla mockzilla Public

    OpenAPI mock server generator with portable and codegen modes, realistic responses, proxying, latency simulation, and request validation

    Go 3

  4. mockzilla-mcp mockzilla-mcp Public

    MCP server for Mockzilla that lets Claude, Cursor, and Gemini create and manage API simulations locally or in the cloud

    JavaScript 3

Repositories

Showing 9 of 9 repositories

Top languages

Loading…

Most used topics

Loading…