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

Mockanything

作者:shreyassaw5394版本 0.2.2i★ 1i在你的电脑上运行
注册名称io.github.shreyassaw5394/mockanything

安装方法

What it does

Local, stateful twins of any API (Stripe, Twilio, any OpenAPI spec) for agents. No keys, no bill.

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 网店与支付

安装

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

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

第一步:你用哪个 AI?

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

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

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

    打开 Node.js 下载页 ↗

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

    SettingsDeveloperEdit Config

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

    {
      "mcpServers": {
        "mockanything": {
          "command": "npx",
          "args": [
            "-y",
            "@shipatmidnight/mockanything",
            "mcp"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

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

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

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

ChatGPT 暂时无法连接 Mockanything

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

你可以改用这些方式

A · 使用能连接 Mockanything 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)

B · 网店与支付 类中能连接 ChatGPT 的其他服务器

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

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

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

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

    打开 Node.js 下载页 ↗

  2. 打开终端

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

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user mockanything -- npx -y @shipatmidnight/mockanything mcp
  4. 在 Claude Code 中输入 /mcp

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

  5. 试一试

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

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

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

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

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

    打开 Node.js 下载页 ↗

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

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

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

  4. 试一试

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

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

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

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

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

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

    打开 Node.js 下载页 ↗

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

    在 VS Code 中打开

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

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

  4. 试一试

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

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

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

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

查看所有支持 MCP 的应用 →

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

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

安装在电脑上

Claude Code

claude mcp add --scope user mockanything -- npx -y @shipatmidnight/mockanything mcp

Claude Desktop (claude_desktop_config.json)

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

{
  "servers": {
    "mockanything": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shipatmidnight/mockanything",
        "mcp"
      ]
    }
  }
}

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

一览

每周下载量i
160/周
许可证i
Apache-2.0
连接方式
在你的电脑上运行
最新版本i
0.2.2
发布到注册中心i
2026年11月2日
代码最后更新i
2026年11月6日
作者
shreyassaw5394
软件包
npm: @shipatmidnight/mockanything
注册状态
活跃

哪些应用可以使用它

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

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

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

全部应用及其优缺点 →

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于8天前

  • ✓ 通过

    有许可证

    使用 Apache-2.0

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

讨论

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

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

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

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“网店与支付”中的其他服务器比较i

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

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

常见问题

Mockanything 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spree Commerce developer docs for AI agents, Stripe MCP, Sessy — Amazon SES observability

同类别的其他选择

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

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

Stripe MCP

MCP server integrating with Stripe - tools for customers, products, payments, and more.

作者:stripe广泛使用★ 205913个月前更新

在云端运行✓ 服务方 · stripe.com

作者的 README

打开 README

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

Mock Anything

A working twin of an API, running on your machine in one command. No keys, no sandbox sign-up, no bill.

npx @shipatmidnight/mockanything stripe

→ Stripe twin running at http://localhost:4010/v1

Point your app or agent at that URL instead of the real one and it behaves like the real API for the flows it covers: create a customer, charge a test card, get the signed webhook, refund it. None of it is real, and your app's calls never reach the real provider.

Mock Anything works with most public APIs, not just a fixed list (every API in the public APIs.guru directory started as a twin in our 2026-10-29 measurement):

npx @shipatmidnight/mockanything stripe                          # a hand-tuned pack

npx @shipatmidnight/mockanything ./openapi.yaml # your own OpenAPI / Swagger file npx @shipatmidnight/mockanything https://example.com/openapi.json npx @shipatmidnight/mockanything slack # any name in the public APIs.guru directory (2,500+ APIs)

Why

Agents write code that calls payments, SMS, email and developer APIs all day. Testing that today means real keys (the agent can spend money or text real people), sandboxes (accounts and keys for every provider, and many regional providers barely have one), or hand-written mocks that break the moment the agent does something you didn't expect.

A twin is different from a mock:

  • It keeps state. POST a customer, then GET it back. Refund a payment and the remaining balance changes. Delete something and it's gone.
  • It behaves like the provider. Real ID formats, list pagination, error shapes, status lifecycles (requires_payment_method → succeeded, queued → sent → delivered).
  • It sends webhooks, signed the way the provider signs them, so your verification code runs unchanged.
  • It does the awkward parts: declined cards, 3-D Secure, bounced emails, undeliverable SMS, duplicate references, rate limits.
  • Chaos mode (--chaos) adds timeouts, 5xx errors, 429s, slow responses, duplicate and out-of-order webhooks. Seeded, so a failure you hit can be replayed.

Built-in packs

Hand-tuned twins, checked against each provider's official SDK in our test suite.

PackFlowsTest values
stripeCustomers, PaymentIntents (confirm, manual capture, cancel), refunds, Checkout Sessions, webhook endpoints, eventspm_card_visa, pm_card_chargeDeclined, pm_card_chargeDeclinedInsufficientFunds, pm_card_threeDSecure2Required …
paystackInitialize → test checkout page → verify, charge saved cards, customers, refundsApprove/Decline on the local test page
twilioSend SMS, status callbacks (queued → sent → delivered), fetch, list, delete+15005550001 (invalid), +15005550002 (unroutable), +15005550004 (unsubscribed) …
resendSend, retrieve, list, schedule, cancel; delivery, bounce and complaint eventsdelivered@resend.dev, bounced@resend.dev, complained@resend.dev
githubRepos, issues (open, edit, close, reopen), comments, pull requests (open, merge)Any owner/repo works and starts empty
openaiChat completions and the Responses API, streamed or not; embeddings; models. Replies are canned and start with [mock]; no model runsScenarios tool_call, rate_limit, insufficient_quota, context_length_exceeded, server_error
anthropicMessages, streamed or not, with tool use; token counting; models. Replies are canned and start with [mock]; no model runsScenarios tool_use, rate_limit, overloaded, invalid_request, api_error

mockanything env prints the snippet for pointing the official SDK at the twin, for example:

const stripe = new Stripe("sk_test_mockanything", { host: "localhost", port: 4010, protocol: "http" });

Any other API

Give Mock Anything an OpenAPI 3.x or Swagger 2.0 description (a file, a URL, or just the API's name) and it builds a stateful twin by reading the spec:

  • /things + /things/{id} become a collection you can create, list, read, update and delete;
  • /things/{id}/cancel-style paths become state changes, matched to the object's status values;
  • nested paths are scoped (issues in one repo don't show up in another);
  • response envelopes, pagination style, error shape, auth and OAS 3.1 webhooks are read from the spec;
  • paths the spec doesn't describe still work as generic REST (marked with x-mockanything-fallback);
  • read-only resources (nothing in the API creates them) return made-up sample objects shaped by the spec, so lookups and lists aren't empty.

See what was inferred, and change it:

npx @shipatmidnight/mockanything inspect ./openapi.yaml --out twin.yaml   # edit twin.yaml

npx @shipatmidnight/mockanything twin.yaml

How many APIs work?

Measured on 2026-10-29 with scripts/coverage.ts, which builds a twin from each spec, creates objects, then calls every operation (up to 40 per API):

SourceAPIsTwin startsCalls without a server errorCalls that succeed
Every API in the public APIs.guru directory2,5282,52837,770 of 37,77090.2%
Providers' own current specs (mockanything list)54541,988 of 1,98896.8%

The calls that don't succeed get proper errors, mostly "not found" for an id that was never created, or a missing parent object. Starting and answering is not the same as matching the real API; verify measures that.

Popular APIs whose providers publish a current spec (Square, PayPal, Adyen, Discord, Jira, Cloudflare, Vercel, Supabase, Clerk, Hugging Face and more) are fetched from the provider's own published source rather than the directory, which is often out of date. Run mockanything list for all of them.

Twins built straight from the public Stripe, Twilio, GitHub and Resend specs, with no hand-tuning, pass the official SDKs' basic create/read/update/list/delete flows (scripts/conformance.ts).

From a recording

Record your app talking to the real API (browser DevTools → Network → "Save all as HAR", or any proxy that writes HAR) and start a twin from the file:

npx @shipatmidnight/mockanything ./checkout.har

Mock Anything rebuilds the endpoints, id formats, list shapes and status lifecycles it saw. It keeps field names, types, id formats and short status/type codes only: ids are replaced with made-up ones of the same format, and header values, cookies, query values, free text, numbers and booleans from the recording are never copied into the twin. Emails, URLs and dates are replaced with made-up values.

No spec at all? Let your agent build one: the MCP tool twin_from_docs reads a documentation page and gives the agent a short format guide; the agent writes a twin definition and starts it with twin_start.

For agents

As a skill (no setup beyond the file)

Copy skills/mock-anything into ~/.claude/skills/ (or your agent's skills folder). Then tell the agent "mock Stripe", "test this against a fake Notion", or point it at a spec, a HAR file or a docs page. The skill uses only the command line: it starts a twin, points your app at it, and drives it:

npx @shipatmidnight/mockanything events                  # requests and webhooks the twin saw

npx @shipatmidnight/mockanything state # objects it holds npx @shipatmidnight/mockanything scenario card_declined # force an edge case on the next call npx @shipatmidnight/mockanything chaos 5xx,429 # failures (chaos off to stop) npx @shipatmidnight/mockanything clock 3d # move time forward npx @shipatmidnight/mockanything reset

For an API with only a docs page, npx @shipatmidnight/mockanything docs gives the agent the page text and the twin format; the agent writes twin.json, checks it with npx @shipatmidnight/mockanything validate twin.json, and starts it.

MCP
claude mcp add mockanything -- npx -y @shipatmidnight/mockanything mcp

Cursor, Windsurf and other MCP clients:

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

Tools: twin_start, twin_from_docs, twin_env, twin_events, twin_state, twin_scenario, twin_chaos, twin_webhook_add, twin_emit, twin_advance_clock, twin_reset, twin_stop, twin_list, packs_list.

twin_start loads files only if they are .json, .yaml, .yml or .har, inside the MCP server's working directory and not hidden. URLs on your own machine are off for agents unless you set MOCKANYTHING_ALLOW_LOCAL=1 in the server's environment.

An agent can say "start a Stripe twin, build the checkout, then force a declined card and check my code handles it" without asking you for keys.

Keep data between restarts

npx @shipatmidnight/mockanything stripe --persist            # ~/.mockanything/state/stripe.json

npx @shipatmidnight/mockanything stripe --state ./twin.json # or a file you choose

Objects, id counters, the test clock, the webhook secret and registered webhook endpoints are saved shortly after each change and when the twin stops. The file is readable by you only. Delete it (or press Reset in the dashboard) to start fresh. Agents get the same with twin_start and persist: true.

Dashboard

Every twin has a local dashboard (the link with its access token is printed at start): live requests and responses, webhooks sent and their delivery status, the twin's stored state, scenarios to force, and chaos controls.

Command line

mockanything <api>                 start a twin (pack, API name, OpenAPI file or URL)

mockanything list built-in packs mockanything inspect print the inferred definition (--out file.yaml) mockanything validate check a twin definition mockanything env config snippets mockanything verify how closely the twin matches the real API (your test key) mockanything running | events | state | scenario [name] | chaos | clock | reset mockanything docs | guide build a twin from a docs page mockanything mcp MCP server over stdio

--port --webhook --allow-webhook-host --cors --chaos[=timeout,5xx,slow,429,dup-webhooks,out-of-order] --chaos-rate <0..1> --seed --persist --state --overrides --json

Safe by default

  • Listens on localhost only. Delivers webhooks to localhost only unless you allow a host.
  • Refuses live keys (sk_live_… and similar) and real-looking card numbers. Use the provider's documented test values.
  • Test checkout pages are plain, carry a "not a real payment" banner, and only exist on your machine.
  • No telemetry. The only outbound traffic is what you ask for: webhooks to the URLs you configure, downloads of the API descriptions you name (from the URL you give, the provider's published source or the APIs.guru directory), verify calls to the provider's sandbox with your test key, and npm when you install or run it with npx.

How faithful is a twin?

A twin is only as good as the facts it was built from. Packs cover the main flow of each API, not every endpoint, and inferred twins make guesses that you can inspect and override.

verify measures it. It runs the same scripted calls against the twin and against the provider's real sandbox, using your own test-mode key, and compares status codes, field names, field types, id formats and error codes:

npx @shipatmidnight/mockanything verify stripe --key sk_test_...      # or set MOCKANYTHING_SANDBOX_KEY

npx @shipatmidnight/mockanything verify paystack --key sk_test_... --out report.md npx @shipatmidnight/mockanything verify ./openapi.yaml --against https://api.example.com --key .

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