原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Mockzilla MCP

作者:mockzilla版本 0.2.28i★ 5i在你的电脑上运行
注册名称io.github.mockzilla/mockzilla-mcp

安装方法

What it does

Mock OpenAPI specs locally, or log in to deploy hosted mocks on mockzilla.org from your MCP client.

  • Connects 在你的电脑上运行
  • Account or key Needs MOCKZILLA_TOKEN
  • Category 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Mockzilla MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Mockzilla MCP 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "mockzilla": {
          "command": "npx",
          "args": [
            "-y",
            "@mockzilla/mcp"
          ],
          "env": {
            "MOCKZILLA_TOKEN": "your-value",
            "MOCKZILLA_MCP_URL": "your-value",
            "MOCKZILLA_MANAGED_PORT": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Mockzilla MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Mockzilla MCP,或回答中出现 Mockzilla MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Mockzilla MCP

Mockzilla MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Mockzilla MCP 的应用

  • 需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

B · 开发者工具 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Mockzilla MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Mockzilla MCP 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user mockzilla --env MOCKZILLA_TOKEN=your-value --env MOCKZILLA_MCP_URL=your-value --env MOCKZILLA_MANAGED_PORT=your-value -- npx -y @mockzilla/mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Mockzilla MCP 在列表中并显示已连接

  6. 试一试

    用 Mockzilla MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Mockzilla MCP,或回答中出现 Mockzilla MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Mockzilla MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Mockzilla MCP 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Mockzilla MCP 的设置中,MOCKZILLA_TOKEN, MOCKZILLA_MCP_URL, MOCKZILLA_MANAGED_PORT 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Mockzilla MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Mockzilla MCP,或回答中出现 Mockzilla MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Mockzilla MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 Mockzilla MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Mockzilla MCP 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Mockzilla MCP 的设置中,MOCKZILLA_TOKEN, MOCKZILLA_MCP_URL, MOCKZILLA_MANAGED_PORT 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Mockzilla MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Mockzilla MCP,或回答中出现 Mockzilla MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Mockzilla MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user mockzilla --env MOCKZILLA_TOKEN=your-value --env MOCKZILLA_MCP_URL=your-value --env MOCKZILLA_MANAGED_PORT=your-value -- npx -y @mockzilla/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "mockzilla": {
      "command": "npx",
      "args": [
        "-y",
        "@mockzilla/mcp"
      ],
      "env": {
        "MOCKZILLA_TOKEN": "your-value",
        "MOCKZILLA_MCP_URL": "your-value",
        "MOCKZILLA_MANAGED_PORT": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mockzilla": {
      "command": "npx",
      "args": [
        "-y",
        "@mockzilla/mcp"
      ],
      "env": {
        "MOCKZILLA_TOKEN": "your-value",
        "MOCKZILLA_MCP_URL": "your-value",
        "MOCKZILLA_MANAGED_PORT": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mockzilla": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mockzilla/mcp"
      ],
      "env": {
        "MOCKZILLA_TOKEN": "your-value",
        "MOCKZILLA_MCP_URL": "your-value",
        "MOCKZILLA_MANAGED_PORT": "your-value"
      }
    }
  }
}

需要你填写的值

  • MOCKZILLA_TOKEN 机密 env
    API key (mz_*) to use instead of logging in with the login tool, for machines without a browser. Leave unset to log in from your agent.
  • MOCKZILLA_MCP_URL env
    Override the hosted MCP endpoint (staging or local development). Defaults to https://platform.mockzilla.org/mcp.
  • MOCKZILLA_MANAGED_PORT env
    Preferred port for the local managed mock server. Defaults to 2200; falls back to a kernel-picked port if busy.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
96/周
连接方式
在你的电脑上运行
最新版本i
0.2.28
发布到注册中心i
2026年10月10日
代码最后更新i
2026年10月10日
作者
mockzilla
软件包
npm: @mockzilla/mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

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

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mockzilla 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于34天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 5825 个服务器的 85%
  • 发布到注册中心的时间比此分类中其他 5825 个服务器的 48% 更新
  • 基础检查结果等于或优于此分类中其他 5825 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Mockzilla MCP 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:MOCKZILLA_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于34天前,最新版本(0.2.28)于34天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto广泛使用↓ 38.9万/周★ 45.3万昨天更新

在你的电脑上运行

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万10天前更新

电脑或云端

Serena MCP: the IDE for your agent

A powerful toolkit for coding, providing semantic retrieval and editing capabilities.

作者:oraios广泛使用↓ 3.5万/周★ 3.1万6个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@mockzilla/mcp

MCP server for Mockzilla - an open-source API mock server for OpenAPI specifications. Let Claude Code, Claude Desktop, Cursor, or Gemini CLI install Mockzilla, inspect OpenAPI specs, and spin up realistic local mock APIs in seconds. No account required for local use.

Source: github.com/mockzilla/mockzilla-mcp

Use cases

  • Local API development - mock any OpenAPI spec without a real backend or sandbox account
  • CI/CD integration testing - zero external dependencies in your pipeline
  • PSP and payment API mocking - Stripe, PayPal, Adyen from your editor without test accounts
  • Crypto exchange API mocking - Binance, Bybit without registered accounts
  • Rate limit protection - develop against OpenAI, Twilio without burning quota
  • Agentic workflows - let Claude or Cursor spin up and manage mock servers automatically

Two planes

@mockzilla/mcp exposes two planes of tools to your MCP client.

Local plane (no account required)

Runs on your machine. No Mockzilla account needed.

From an agent you can:

  • Check whether the Mockzilla CLI is installed, and install it into a managed cache (no changes to system PATH).
  • Inspect and lint an OpenAPI spec, or scan a folder for specs.
  • Simplify a spec that is too heavy to mock, or pack services into a .mockz archive.
  • Generate Go code from a spec: models, a server for one of 14 routers, a client, or MCP tools.
  • Serve any OpenAPI spec locally as a portable mock server, and call its endpoints.
  • Mock a single HTTP endpoint without a spec.
  • List, stop, and clear locally managed mocks.
Hosted plane (log in once)

Ask your agent to log in, or ask for something hosted. The agent calls the login tool, your browser opens the Mockzilla login, and you pick an organization and read-only or read-and-write access. The bridge keeps the login on your machine and renews it by itself. Hosted tools are listed from the start; before you log in, the agent is told to log in first.

Agents can then:

  • List deployed sims.
  • Browse catalog products.
  • Deploy hosted mocks from a spec, URL, or catalog bundle.
  • Wait for a deploy and return the live URL.

Before logging in, only the local plane is exposed. Agents can still help users explore Mockzilla and run local mocks before they sign up.

Example prompts

You can use these directly from Claude Code, Claude Desktop, Cursor, or Gemini CLI once mockzilla is configured as an MCP server.

Local plane (no account)
  • "Is the mockzilla CLI installed on this machine?"
  • "Install Mockzilla for me."
  • "Spin up the Petstore OpenAPI spec locally so I can curl it."
  • "What endpoints does https://example.com/openapi.yaml expose?"
  • "Mock POST /checkout to return a 402 response."
  • "List the mock endpoints you're managing."
  • "Stop the mock server you started."
  • "Generate Go models and a chi server for openapi.yml into ./api."
Hosted plane (after logging in)
  • "Log me in to Mockzilla."
  • "List the sims I have deployed."
  • "Show me the catalog products."
  • "Deploy a Stripe mock named stripe-test and give me the live URL."
  • "Create a hosted mock from this OpenAPI URL on mockzilla.org."

Install

Claude Code

One-liner, no config file editing:

claude mcp add -s user mockzilla -- npx -y @mockzilla/mcp@latest
  • -s user installs for your user account (available in every project).
  • Drop -s user to scope to the current project only.
Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "mockzilla": { "command": "npx", "args": ["-y", "@mockzilla/mcp@latest"] } } }

Restart Claude Desktop after editing.

Cursor

Easiest: Settings -> MCP Servers -> Add new MCP server and fill in:

  • Name: mockzilla
  • Command: npx
  • Args: -y @mockzilla/mcp@latest

Or edit ~/.cursor/mcp.json directly:

{

"mcpServers": { "mockzilla": { "command": "npx", "args": ["-y", "@mockzilla/mcp@latest"] } } }

Restart Cursor after editing.

Gemini CLI

One-liner, no manual JSON editing:

gemini mcp add -s user mockzilla npx -y @mockzilla/mcp@latest
  • -s user writes to ~/.gemini/settings.json (available in every project).
  • Drop -s user (or use -s project) to scope to the current directory's .gemini/settings.json.

Or edit the settings file directly:

{

"mcpServers": { "mockzilla": { "command": "npx", "args": ["-y", "@mockzilla/mcp@latest"] } } }

Restart the Gemini CLI after editing.

Why @latest?

Without @latest, npx caches the first resolved version and won't pick up new publishes. Pinning to @latest makes npx re-check the registry on every spawn, so a Claude / Cursor / Gemini restart is enough to upgrade. Trade-off: ~200 ms extra startup time.

Local tools

These tools are always available and never leave the user's machine.

Setup and status
  • `check_cli` Resolve Mockzilla on this machine: system PATH -> bridge cache -> go run invocation. Returns install options if nothing matches.
  • `install_cli` Install Mockzilla into ~/.cache/mockzilla-mcp/. Methods: download (prebuilt from GitHub releases, default), go-install, go-run. Never touches system PATH.
  • `bridge_status` Report the bridge's version, check npm for newer publishes, and surface upgrade steps.
OpenAPI exploration and docs
  • `info` Summarise an OpenAPI spec without serving it: {title, version, openapi_version, endpoint_count, paths}. Also reads .mockz packages.
  • `lint` Find schemas in a spec that no value can satisfy, so a broken spec is caught before serving it: {clean, defect_count, defects}.
  • `discover_specs` Scan a directory for OpenAPI specs and folders of static endpoint files. Returns a suggested_input for serve_locally.
  • `mockzilla_docs_topics` List the Mockzilla docs, by category, with each topic's title and summary. The product docs from mockzilla.org, the engine docs and the mockzilla-codegen docs all ship inside the package, so no network or login is needed.
  • `mockzilla_docs_read` Return the full markdown for one or more topics, or a whole category.
  • `mockzilla_docs_search` Keyword search across all docs; returns top sections with snippets.
Reshaping specs
  • `simplify` Drop or reduce union types, strip x-* extensions, and optionally cap optional properties per schema. Writes the simplified spec to disk and returns its path.
  • `pack` Pack a directory of services into a .mockz archive that serve_locally can serve, even from a URL.
Generating code
  • `generate` Run mockzilla generate, the built-in mockzilla-codegen: Go models from a spec, plus a server, a client or MCP tools when asked. Reads codegen.yaml when the folder has one. Writes the files, lists them first with dry_run, or reports stale ones with check, along with the spec's errors and warnings. Needs CLI 2.11.0 or newer.
Local mocking
  • `serve_locally` Start a portable mock server on a free port. Accepts a spec file, directory, or public https URL. Returns {url, port, pid, services}. For a single spec, latency, errors, mount and context add delay, inject error responses, change the mount path, or set replacement values.
  • `stop_locally` Stop a server started by serve_locally.
  • `call_endpoint` Make an HTTP request and return {status, headers, body}, to show a mock's response. Localhost only unless allow_remote is set.
  • `mock_endpoint` Quickly mock a single HTTP endpoint without an OpenAPI spec. Writes a static response into the managed mocks dir and (re)starts the shared server. Takes status and headers for a failure or a redirect with a real body (404 with an error payload, 201 with a Location); omit response for a body-less 204 or 304. Needs mockzilla 2.8.20 or newer.
  • `list_mock_endpoints` List all endpoints currently mocked, plus the running server's URL and the Mockzilla UI URL.
  • `clear_mock_endpoints` Wipe all mocks and stop the managed server.
  • `request_history` List the requests the running server answered: method, URL, status, content type, latency, and whether the response came from an upstream. Pass id with service for one request's full headers and body. Reads the server's own history API, so no account is needed.
  • `diagnose_requests` Explain what is wrong with the recorded traffic and where its data came from: a breakdown by origin, status and content type, latency p50/p95/max, and findings such as an upstream that failed and silently fell back to a generated mock, a 404 from a wrong mount prefix, or a JSON body under a non-JSON content type.
  • `setup_replay` Configure replay for a service: record a response once, then serve it back for every matching request. Returns recording_scope saying what each endpoint is keyed by, since with no match fields every call to an endpoint shares one recording. Writes config.yml only inside the bridge's own mocks dir; for a folder from your own project it returns the YAML and where it goes.
  • `list_replays` List a service's recordings, with the request values each one is keyed by.
  • `check_github_deployable` Say whether a repository or folder would deploy a mock, and what is missing if not. Knows both kinds: portable service folders and a codegen Go server. Read-only.
  • `list_github_repos` The user's repositories, flagging which already publish mocks, so the agent can ask which one to use.
  • `publish_to_github` Push mocks to one of the user's own repositories and let the Mockzilla action deploy them at a host of their own, https:// .api.mockz.io. The label is the repository name, with -2, -3 if it is taken. No Mockzilla account needed: the first push registers the repository. Merges into an existing services folder rather than replacing it, and never overwrites an existing workflow.
  • `wait_for_github_deploy` Wait for the workflow run and return the live URL, as the action reported it.
  • `unpublish_from_github` Take the mocks down and free the simulation slot, optionally deleting the repository too.
Account
  • `login` Opens the Mockzilla login in the browser, where the user picks an organization and read-only or read-and-write access. Returns right away with the login link. The agent calls a hosted tool again once the user approves. The login is saved under ~/.config/mockzilla-mcp/, one per server URL, and renewed automatically.
  • `logout` Revokes the connection and deletes the saved login. Log out and in again to switch organization or access.

Hosted tools

@mockzilla/mcp lists the hosted tools from the start and forwards them to mockzilla.org's MCP endpoint once you log in. At the time of writing, the hosted surface includes:

  • get_context
  • list_sims
  • list_catalog_products
  • deploy_mock_from_catalog
  • deploy_mock_from_spec
  • deploy_mock_from_url
  • wait_for_deploy

Refer to the hosted server's docs or the MCP registry entry for the live tool list.

On a machine without a browser, such as CI or a remote server, set MOCKZILLA_TOKEN to an API key from the dashboard instead of logging in. The hosted tools are then available from the start.

Configuration

Env varDefaultPurpose
MOCKZILLA_TOKENunsetAPI key (mz_*) to use instead of logging in, for machines without a browser.
MOCKZILLA_MCP_URLhttps://platform.mockzilla.org/mcpOverride the hosted endpoint, e.g. http://localhost:8000/mcp for local development.

| MOCKZILLA_NO_BROWSER | unset | Set to 1 to not open a browser on login; the agent shows the link i

只显示了开头部分;其余内容请在仓库中阅读