MCPcopy Index your code
hub / github.com/mockoon/mockoon

github.com/mockoon/mockoon @v9.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v9.7.0 ↗ · + Follow
1,832 symbols 5,931 edges 453 files 415 documented · 23% updated 2d agov9.7.0 · 2026-06-19★ 8,32544 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mockoon: awesome API mocking

Mockoon is the easiest and quickest way to design and run mock APIs. No remote deployment, no account required, free and open-source.

It combines a desktop application to design and run mock servers locally, and a CLI to self-host your fake APIs. A cloud is also available to collaborate with your team, keep your data in sync, and deploy your mock APIs.

API mocking helps you speed up development and third-party API integration by reducing dependency on external services and their limitations: rate limits, costs, availability, etc. It also allows you to test your applications in a controlled environment with predictable responses, status codes, and latencies, and easily simulate edge cases and error scenarios. Finally, you can onboard new team members faster by providing them with a consistent and reliable environment to test and develop their applications.

➡️ Download

Features

Mockoon offers many features:

  • Unlimited number of mock local servers and routes
  • CLI to run your mock in headless environments, CI, etc.
  • Complete control on routes definition: HTTP methods and statuses, regex paths, file serving, custom headers, etc.
  • OpenAPI compatibility
  • Record/logs of all entering and forwarded requests
  • JSON templating
  • Proxy forwarding mode
  • HTTPS support

You can check the complete list on the website.

Download the desktop application

You can get Mockoon desktop's latest release directly from this repository or on the official website. Mockoon desktop is also available through:

MacOS:

  • Homebrew: brew install --cask mockoon.

Windows:

Linux:

Install the CLI

Mockoon CLI is available as an NPM package. Please check our dedicated documentation to learn how to install and use it.

Use in cloud functions and serverless environments

Mockoon's Serverless NPM package provides an easy way to run Mockoon's mock APIs in cloud functions and serverless environments: AWS Lambda, GCP Functions, Firebase Functions, etc.

Please check our dedicated documentation to learn how to use it.

Support us!

Mockoon is proudly independent and open-source, maintained without external funding. We rely on both sponsorships and Mockoon Cloud subscriptions to keep improving the project and building new features. A big thank you to the companies below for supporting our work and helping us grow (and all the sponsors who helped this project over time!):

Platinum

  <img src="https://mockoon.com/images/sponsors/light/github.png" alt="GitHub logo" />

       

  <img src="https://mockoon.com/images/sponsors/light/localazy.png" alt="Localazy logo" />

  <img src="https://mockoon.com/images/sponsors/light/serpapi.png" alt="SerpApi logo" />

Gold

  <img src="https://mockoon.com/images/sponsors/light/9proxy.png" alt="9proxy logo" />

  <img src="https://mockoon.com/images/sponsors/light/coderabbit.png" alt="CodeRabbit logo" />

  <img src="https://mockoon.com/images/sponsors/light/rapidproxy.png" alt="Rapidproxy logo" />

  <img src="https://mockoon.com/images/sponsors/light/talordata.png" alt="TalorData logo" />

Silver


emqx logo

If you'd like to support Mockoon as well, you can become a sponsor or subscribe to Mockoon Cloud, every contribution helps keep the project alive and evolving. Thank you!

sponsor button

Subscribe to Mockoon Cloud

With advanced features for solo developers and teams, Mockoon Cloud supercharges your API development:

Upgrade today and take your API development to the next level.

cloud button

Mockoon's documentation

You will find Mockoon's documentation on the official website. It covers Mockoon's most complex features. Feel free to contribute or ask for new topics to be covered.

Changelogs

You will find Mockoon applications changelogs on the official website.

Support/feedback

You can discuss all things related to Mockoon and ask for help on the official community. It's also a good place to discuss bugs and feature requests before opening an issue on this repository.

Contributing

If you are interested in contributing to Mockoon, please take a look at the contributing guidelines.

Please also take a look at our Code of Conduct.

Roadmap

If you want to know what will be coming in the next release you can check the global Roadmap or subscribe to our newsletter.

Extension points exported contracts — how you extend this code

MainAPIModel (Interface)
(no doc) [2 implementers]
packages/app/src/renderer/app/models/main-api.model.ts
BaseSyncAction (Interface)
(no doc)
packages/cloud/src/models/sync.model.ts
Request (Interface)
(no doc)
packages/commons-server/src/typings.d.ts
Window (Interface)
(no doc)
packages/app/src/renderer/main.ts
GetFullEnvironmentSyncAction (Interface)
(no doc)
packages/cloud/src/models/sync.model.ts
Response (Interface)
(no doc)
packages/commons-server/src/typings.d.ts
AddCloudEnvironmentSyncAction (Interface)
(no doc)
packages/cloud/src/models/sync.model.ts
Server (Interface)
(no doc)
packages/commons-server/src/typings.d.ts

Core symbols most depended-on inside this repo

TemplateParser
called by 446
packages/commons-server/src/libs/template-parser.ts
get
called by 215
packages/app/src/renderer/app/stores/store.ts
click
called by 166
packages/app/test/libs/menu.ts
switchView
called by 148
packages/app/test/libs/navigation.ts
update
called by 138
packages/app/src/renderer/app/stores/store.ts
fromExpressRequest
called by 129
packages/commons-server/src/libs/requests.ts
chooseResponse
called by 126
packages/commons-server/src/libs/response-rules-interpreter.ts
select
called by 109
packages/app/test/libs/routes.ts

Shape

Method 1,090
Function 445
Class 232
Interface 34
Enum 31

Languages

TypeScript100%

Modules by API surface

packages/app/test/libs/routes.ts125 symbols
packages/app/src/renderer/app/services/environments.service.ts88 symbols
packages/app/src/renderer/app/stores/actions.ts61 symbols
packages/commons-server/src/libs/server/server.ts51 symbols
packages/app/test/libs/callbacks.ts46 symbols
packages/app/src/renderer/app/stores/store.ts46 symbols
packages/app/test/libs/utils.ts39 symbols
packages/app/test/libs/environments.ts34 symbols
packages/cloud/src/models/sync.model.ts31 symbols
packages/commons-server/src/libs/utils.ts29 symbols
packages/app/src/renderer/app/components/editor/editor.component.ts28 symbols
packages/app/src/renderer/app/components/menus/routes-menu/routes-menu.component.ts26 symbols

Dependencies from manifests, versioned

@angular/build21.2.16 · 1×
@angular/cli21.2.16 · 1×
@angular/common21.2.17 · 1×
@angular/compiler21.2.17 · 1×
@angular/compiler-cli21.2.17 · 1×
@angular/core21.2.17 · 1×
@angular/forms21.2.17 · 1×
@angular/localize21.2.17 · 1×
@angular/platform-browser21.2.17 · 1×
@angular/platform-browser-dynamic21.2.17 · 1×
@electron/notarize3.1.1 · 1×
@eslint/js10.0.1 · 1×

For agents

$ claude mcp add mockoon \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact