Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Mockifyer

by sgeddaversion 0.1.5i★ 2iRuns on your computerOfficial site ↗

How to install

What it does

Query and edit Mockifyer mocks, scenarios, and traces via the dashboard API.

  • Connects Runs on your computer
  • Account or key Needs MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity6/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score18/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Mockifyer. Follow https://mcp.popnx.com/i/sgedda-mockifyer-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 25, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Mockifyer for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "mockifyer": { "command": "npx", "args": [ "-y", "@sgedda/mockifyer-mcp" ], "env": { "MOCKIFYER_DASHBOARD_AUTH_USER": "your-value", "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mockifyer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Mockifyer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Mockifyer site ↗

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "mockifyer": {
          "command": "npx",
          "args": [
            "-y",
            "@sgedda/mockifyer-mcp"
          ],
          "env": {
            "MOCKIFYER_DASHBOARD_AUTH_USER": "your-value",
            "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Mockifyer and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Mockifyer or shows a Mockifyer tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOCKIFYER_DASHBOARD_URL Dashboard origin (default http://localhost:3002)
  • MOCKIFYER_DASHBOARD_BASE URL mount prefix when the dashboard is under a path (e.g. /dashboard)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Mockifyer yet

Mockifyer runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Mockifyer

  • You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Mockifyer for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user mockifyer --env MOCKIFYER_DASHBOARD_AUTH_USER=your-value --env MOCKIFYER_DASHBOARD_AUTH_PASSWORD=your-value -- npx -y @sgedda/mockifyer-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mockifyer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Mockifyer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Mockifyer site ↗

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user mockifyer --env MOCKIFYER_DASHBOARD_AUTH_USER=your-value --env MOCKIFYER_DASHBOARD_AUTH_PASSWORD=your-value -- npx -y @sgedda/mockifyer-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Mockifyer listed as connected

  6. Try it

    Use Mockifyer and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Mockifyer or shows a Mockifyer tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOCKIFYER_DASHBOARD_URL Dashboard origin (default http://localhost:3002)
  • MOCKIFYER_DASHBOARD_BASE URL mount prefix when the dashboard is under a path (e.g. /dashboard)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Mockifyer for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "mockifyer": { "command": "npx", "args": [ "-y", "@sgedda/mockifyer-mcp" ], "env": { "MOCKIFYER_DASHBOARD_AUTH_USER": "your-value", "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mockifyer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Mockifyer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Mockifyer site ↗

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Mockifyer settings, MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Mockifyer and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Mockifyer or shows a Mockifyer tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOCKIFYER_DASHBOARD_URL Dashboard origin (default http://localhost:3002)
  • MOCKIFYER_DASHBOARD_BASE URL mount prefix when the dashboard is under a path (e.g. /dashboard)

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Mockifyer key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Mockifyer for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "mockifyer": { "type": "stdio", "command": "npx", "args": [ "-y", "@sgedda/mockifyer-mcp" ], "env": { "MOCKIFYER_DASHBOARD_AUTH_USER": "your-value", "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Mockifyer tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Mockifyer key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Mockifyer site ↗

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Mockifyer settings, MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Mockifyer and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Mockifyer or shows a Mockifyer tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOCKIFYER_DASHBOARD_URL Dashboard origin (default http://localhost:3002)
  • MOCKIFYER_DASHBOARD_BASE URL mount prefix when the dashboard is under a path (e.g. /dashboard)

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Mockifyer💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user mockifyer --env MOCKIFYER_DASHBOARD_AUTH_USER=your-value --env MOCKIFYER_DASHBOARD_AUTH_PASSWORD=your-value -- npx -y @sgedda/mockifyer-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mockifyer": {
      "command": "npx",
      "args": [
        "-y",
        "@sgedda/mockifyer-mcp"
      ],
      "env": {
        "MOCKIFYER_DASHBOARD_AUTH_USER": "your-value",
        "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mockifyer": {
      "command": "npx",
      "args": [
        "-y",
        "@sgedda/mockifyer-mcp"
      ],
      "env": {
        "MOCKIFYER_DASHBOARD_AUTH_USER": "your-value",
        "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mockifyer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sgedda/mockifyer-mcp"
      ],
      "env": {
        "MOCKIFYER_DASHBOARD_AUTH_USER": "your-value",
        "MOCKIFYER_DASHBOARD_AUTH_PASSWORD": "your-value"
      }
    }
  }
}

Values you fill in

  • MOCKIFYER_DASHBOARD_URL env
    Dashboard origin (default http://localhost:3002)
  • MOCKIFYER_DASHBOARD_BASE env
    URL mount prefix when the dashboard is under a path (e.g. /dashboard)
  • MOCKIFYER_DASHBOARD_AUTH_USER secret required env
    HTTP Basic Auth username when enabled on the dashboard
  • MOCKIFYER_DASHBOARD_AUTH_PASSWORD secret required env
    HTTP Basic Auth password when enabled on the dashboard

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.sgedda/mockifyer-mcp
Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.1.5
Categoryi
Other
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Maker
sgedda
Packages
npm: @sgedda/mockifyer-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account sgedda, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @sgedda/mockifyer-mcp@0.1.5

Checks only this package version, not every dependency · checked Nov 25, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/sgedda-mockifyer-mcp.svg)](https://mcp.popnx.com/en/servers/sgedda-mockifyer-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 91% of the other 22308 servers in this category
  • Published to the registry more recently than 97% of the other 22308 servers in this category
  • Basic checks equal to or better than 99% of the other 22308 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Mockifyer safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: MOCKIFYER_DASHBOARD_AUTH_USER, MOCKIFYER_DASHBOARD_AUTH_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.1.5) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 91.2KUpdated 10 days ago

Connect now (has URL) · sign-in✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 3 months ago

Connect now (has URL) · sign-in✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 37 days ago

Connect now (has URL)2 tools · light✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Connect now (has URL) · needs a keyRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Connect now (has URL) · sign-in✓ service owner · jitsu.com
Compared with similar ones
This one
Mockifyer
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Mockifyer

Official site: mockifyer.dev — documentation and guides: getting started, features, E2E tutorial, and dashboard docs. For AI assistants: llms.txt · llms-full.txt. To use Mockifyer in your own app, install the npm packages below. Comparing tools? See mockifyer.dev/comparisons for feature comparisons with MSW, Polly.js, Nock, Mirage JS, WireMock, Mockoon, and json-server.

Contact: Sebastian Gedda (@sgedda) — open an issue for bugs and ideas, or a pull request if you already have a change. General GitHub profile: @sgedda.

API mocking and recording for axios and fetch, with date manipulation for tests. Mock data lives in your repo as JSON (per request/response), with optional scenarios and React Native / Expo support. Monorepo for Mockifyer: libraries for mocking and recording API calls, with special support for date manipulation in tests.

Try selective record → replay → generate in the browser (Node WebContainer demo).

Published packages (install these, not the repo root):

  • @sgedda/mockifyer-core — types, providers, getCurrentDate, etc.
  • @sgedda/mockifyer-axios — Axios integration (setupMockifyer, `initMockifyerForDashboardProxy`)
  • @sgedda/mockifyer-fetch — fetch integration (setupMockifyer)
  • @sgedda/mockifyer-dashboard, @sgedda/mockifyer-test-helper — optional tooling

The root package.json is private workspace metadata only (not published). The legacy package is not on npm; on GitHub Packages it appears as pkgs/npm/mockifyer (unscoped name mockifyer in the API). To remove versions: scripts/delete-github-packages-legacy-mockifyer.sh (needs gh + delete:packages).

This repository is a monorepo. Prefer the scoped packages below; the root package.json is legacy workspace metadata.

Packages

PackageUse case
@sgedda/mockifyer-coreTypes, providers (filesystem, Expo, hybrid, memory), scenarios, date helpers, mock matching
@sgedda/mockifyer-fetch`fetch` / React Native — setupMockifyer, `initMockifyerForDashboardProxy` (Node) and `initMockifyerForReactNativeDashboard` (Expo) for mockifyer-dashboard + Redis
@sgedda/mockifyer-axiosAxios — setupMockifyer, `initMockifyerForDashboardProxy` (Node dashboard + Redis/SQLite proxy)
@sgedda/mockifyer-dashboardLocal UI to browse/edit mock-data (optional; separate dev server)
@sgedda/mockifyer-mcpMCP Server — Model Context Protocol integration for Cursor and Claude Desktop (query/modify mocks via natural language)

Example Projects:

  • [Wanderweird Travel](./example-projects/wanderweird-travel) — Full-stack Expo + multi-service demo (7 Node services, Umbraco CMS, scenarios, hops, Atlas). See the comprehensive walkthrough guide.

Initializing Mockifyer (all entrypoints): [MOCKIFYER_INITIALIZATION.md](./MOCKIFYER_INITIALIZATION.md).

Team workflow (recorded vs curated mocks, re-recording): [MOCK_WORKFLOW.md](./MOCK_WORKFLOW.md).

React Native / Expo: see [REACT_NATIVE.md](./REACT_NATIVE.md) for Hybrid provider, Metro sync middleware, and setupMockifyerForReactNative.

Runtime Toggle: see [docs/RUNTIME_TOGGLE.md](./docs/RUNTIME_TOGGLE.md) to enable/disable Mockifyer at runtime (completely bypass dashboard, Redis, and proxy with a button press).

Installation

npm install @sgedda/mockifyer-core @sgedda/mockifyer-axios

or for fetch:

npm install @sgedda/mockifyer-core @sgedda/mockifyer-fetch

AI assistants in your app repo (editor-agnostic):

npx mockifyer-init-ai

Installs docs/mockifyer-ai/ (INSTRUCTIONS.md + reference). Docs ship with @sgedda/mockifyer-core.

AI Integration (MCP)

Model Context Protocol support for Cursor and Claude Desktop lets you query and edit mocks with natural language. Start the dashboard, then run the MCP server (goes live on npm once published):

npx @sgedda/mockifyer-dashboard --path ./mock-data

npx @sgedda/mockifyer-mcp

Cursor / Claude Desktop config:

{

"mcpServers": { "mockifyer": { "command": "npx", "args": ["@sgedda/mockifyer-mcp"], "env": { "MOCKIFYER_DASHBOARD_URL": "http://localhost:3002" } } } }

This monorepo also ships a local .cursor/mcp.json pointing at a built packages/mockifyer-mcp/dist/cli.js. Example prompts once connected:

  • "List all mocks in the default scenario"
  • "Override the booking status to CONFIRMED"
  • "Create a new scenario from default"
  • "Trace the network call that returned 502"

See .cursor/README.md and packages/mockifyer-mcp/README.md for details.

Usage (fetch)

import { setupMockifyer } from '@sgedda/mockifyer-fetch';

import { getCurrentDate } from '@sgedda/mockifyer-core';

setupMockifyer({ mockDataPath: './mock-data', useGlobalFetch: true, // Required to intercept fetch calls recordMode: true, // Enable recording dateManipulation: { fixedDate: '2024-01-01T00:00:00.000Z', }, });

const response = await fetch('https://api.example.com/data'); // Intercepted when setupMockifyer ran (Node); RN uses MOCKIFYER_MODE — see REACT_NATIVE.md

const currentDate = getCurrentDate(); console.log(currentDate.toISOString()); // 2024-01-01T00:00:00.000Z

Usage (axios)

import { setupMockifyer, getCurrentDate } from '@sgedda/mockifyer-axios';

setupMockifyer({ mockDataPath: './mock-data', dateManipulation: { fixedDate: '2024-01-01T00:00:00.000Z', }, });

const response = await axios.get('https://api.example.com/data');

Date manipulation: use `getCurrentDate()` from the same package you use for setupMockifyer instead of new Date(), so fixed date / offset / timezone apply. With the dashboard Redis/SQLite proxy, that call follows the active scenario’s Date Config (a client-lane date wins). Switch scenarios or update the date in the dashboard and getCurrentDate() tracks it — no extra arguments.

E2E Tests

The e2e/ directory contains a Playwright test suite that validates Mockifyer end-to-end against the WanderWeird example app:

  • Stack: Expo web build of WanderWeird + live dashboard (sqlite, ports 3002 and 3022) + multi-service backend
  • Tests: Headless Chromium tests plus 8 GUI tests that drive the real dashboard UI and record side-by-side videos (app + dashboard)
  • Run locally: cd e2e && npm install && npm test (headless), npm run test:gui (GUI tests), npm run artifacts (compose videos)
  • Presentation mode: E2E_PRESENTATION=1 npm run test:gui slows GUI tests for readable screen recordings
  • CI: .github/workflows/e2e.yml runs nightly at 03:00 UTC, on workflow_dispatch (with record_video and presentation inputs), and on PRs touching relevant paths

See e2e/README.md for full documentation, test descriptions, and artifact details.

Features

  • Record and replay HTTP requests (axios or fetch)
  • Automatic interception driven by env + config
  • Scenarios — mock-data/ /... plus scenario-config.json
  • Selective response recording — record full responses only for specific hosts/paths; others save as request-only stubs
  • Browser & Expo web — replay with the in-memory provider and preloaded fixtures (databaseProvider: { type: 'memory', options: { fixtures } }). See docs/BROWSER_USAGE.md.
  • Date manipulation (fixed date, offset, timezone) for tests
  • Status override — simulate error responses (500, 429, 404) without modifying stored response data
  • Response delay — add artificial latency to test slow network conditions
  • Drift check — detect when live APIs diverge from committed mocks (CI-friendly contract drift detection) — docs/DRIFT_CHECK.md
  • Easy discovery — JSON files in the repo (searchable in your IDE)
  • React Native — device storage + optional Metro sync to keep repo and simulator in sync (REACT_NATIVE.md)

Data discovery

Recorded mocks are stored as JSON (nested under mock-data/ / when scenarios are used). Each file typically includes:

  • Request: method, URL, headers, query params, body
  • Response: status, body, headers
  • Metadata: timestamp, optional scenario

File layout on disk often mirrors host and path (e.g. api.example.com/rest/.../GET_identifier_timestamp.json). See packages for exact naming rules (file-naming utilities in core).

Date configuration

Same ideas as before: fixedDate, offset, timezone in setupMockifyer, or env vars:

export MOCKIFYER_DATE="2025-01-01T00:00:00Z"

export MOCKIFYER_DATE_OFFSET="86400000" export MOCKIFYER_TIMEZONE="America/New_York"

Priority: env vars → setupMockifyer config → system time.

Scenario dates: Date manipulation from a scenario's date-config.json (or dashboard Date Config) applies only when a named scenario is active (e.g. default, checkout). Traffic under _scratch (the temporary unscoped bucket) always uses real time. When you switch scenarios, getCurrentDate() never serves the previous scenario's date — it returns real time until the new scenario's date config is loaded.

Environment variables (common)

VariableDescription
MOCKIFYER_MODEReact Native startup: on \manual (aliases: gui, toggle) \launch_client \off (see MockifyerRuntimeMode in core; unset defaults to `on`). manual mode patches fetch but starts disabled; call enableMockifyer() to activate (pair with persistRuntimeEnabled: true to save the choice). launch_client activates on a launch mockifyerClientId OR scenario. See docs/RUNTIME_TOGGLE.md for runtime enable/disable API.
MOCKIFYER_DOMAIN_PATH_RULES_MODEHybrid/filesystem: allowlist (default) \record_all \off — auto-discovers host/path keys into domain-path-rules.json; gates record + replay (see Domain-path rules below for allowUpstream). Migration: set record_all or off if you relied on ungated recordMode
MOCKIFYER_RECORDRecord real responses (fetch/axios packages); with `initMockifyerForDashboardProxy`, implies `recordOnMiss: true` when not otherwise set
MOCKIFYER_PROXY_RECORD_ON_MISSFetch + `proxy.baseUrl`: when `proxy.recordOnMiss` is omitted, true / false sets the record flag on /api/proxy; omit env to defer to dashboard per-scenario "Record on miss"
MOCKIFYER_RECORD_RESPONSEStrue records full response bodies for every URL and overrides config recordResponses (highest precedence)
MOCKIFYER_RECORD_RESPONSES_FORComma-separated allowlist (for example api.example.com,*.staging.com). Matching URLs save full bodies and replay right away; everything else stays request-only

| MOCKIFYER_RECORD_DEFAULT_ALWAYS_USE_REAL_API | Dashboard proxy (Redis) recordings: when not false, new recordings set alwaysUseRealApi: true. For fetch/axios disk recordings, URLs matching recordResponses replay imme

Only the beginning is shown; read the rest in the repo