原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MockHero

作者:dinosaur24版本 0.2.0i★ –i电脑或云端
注册名称io.github.dinosaur24/mockhero

安装

概览

作者提供的说明(英文原文)

Generate realistic relational test data — 156 field types, 22 locales, JSON/CSV/SQL, free previews.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 数据库与数据集
  • 你需要填写:MOCKHERO_API_KEY

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: MOCKHERO_API_KEY, MOCKHERO_API_BASE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://mockhero.dev/mcp/agent

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "mockhero": {
      "command": "npx",
      "args": [
        "-y",
        "@mockherodev/mcp-server"
      ],
      "env": {
        "MOCKHERO_API_KEY": "your-value",
        "MOCKHERO_API_BASE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http mockhero https://mockhero.dev/mcp/agent

或者在你的电脑上运行

claude mcp add mockhero --env MOCKHERO_API_KEY=your-value --env MOCKHERO_API_BASE=your-value -- npx -y @mockherodev/mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mockhero": {
      "url": "https://mockhero.dev/mcp/agent"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mockhero": {
      "command": "npx",
      "args": [
        "-y",
        "@mockherodev/mcp-server"
      ],
      "env": {
        "MOCKHERO_API_KEY": "your-value",
        "MOCKHERO_API_BASE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mockhero": {
      "type": "http",
      "url": "https://mockhero.dev/mcp/agent"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mockhero": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mockherodev/mcp-server"
      ],
      "env": {
        "MOCKHERO_API_KEY": "your-value",
        "MOCKHERO_API_BASE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://mockhero.dev/mcp/agent

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • MOCKHERO_API_KEY 机密 env
    MockHero API key (optional — without it, generation runs as a free preview up to 100 records per request; get a key at https://mockhero.dev or via the create_agent_checkout tool)
  • MOCKHERO_API_BASE env
    Base URL of the MockHero API (default https://mockhero.dev)

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

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“数据库与数据集”中的其他服务器比较i

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

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

常见问题

MockHero 安全吗?

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

它需要哪些密钥或代码?

你需要填写:MOCKHERO_API_KEY

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

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.0)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

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

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

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.03天前更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

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

@mockherodev/mcp-server

MCP server for MockHero — generate realistic test data from Claude Desktop, Claude Code, Cursor, Windsurf, and other AI agents.

Works with or without an API key:

  • No key (free preview): generate up to 100 records per request from explicit table schemas or small templates. Schema detection, field-type listing, templates, and cost estimates are always free.
  • With `MOCKHERO_API_KEY` (recommended): plain-English prompt generation, larger requests, CSV/SQL output on paid tiers, and metered agent-plan usage.

Hosted agent endpoint

Agents that support remote Streamable HTTP MCP can skip the npm install and connect directly to:

https://mockhero.dev/mcp/agent

The hosted endpoint includes the same tools as this package: cost estimation, loginless Polar checkout, checkout status, API key claiming, schema detection, templates, and data generation. Pass a key via Authorization: Bearer mh_YOUR_API_KEY (or the api_key tool argument) for authenticated calls.

Hosted agent endpoint

Agents that support remote Streamable HTTP MCP can connect directly to:

https://mockhero.dev/mcp/agent

The hosted endpoint includes cost estimation, loginless Polar checkout, checkout status, API key claiming, schema detection, templates, and authenticated data generation.

Setup

Claude Desktop

Add to ~/.claude/claude_desktop_config.json:

{

"mcpServers": { "mockhero": { "command": "npx", "args": ["@mockherodev/mcp-server"], "env": { "MOCKHERO_API_KEY": "mh_live_your_key_here" } } } }

Omit the env block entirely to run in free preview mode.

Cursor

Add to .cursor/mcp.json in your project:

{

"mcpServers": { "mockhero": { "command": "npx", "args": ["@mockherodev/mcp-server"], "env": { "MOCKHERO_API_KEY": "mh_live_your_key_here" } } } }

Claude Code
# Free preview mode

claude mcp add mockhero -- npx @mockherodev/mcp-server

Authenticated

claude mcp add mockhero -- env MOCKHERO_API_KEY=mh_live_xxx npx @mockherodev/mcp-server

Get an API key without leaving your agent (loginless checkout)

No signup or dashboard needed. The agent-plan purchase flow is fully tool-driven:

  1. `estimate_agent_usage` — estimate cost first. The agent plan includes 500 free records per day, then $0.001 per 100 records (rounded up per request), billed monthly through Polar as Merchant of Record.
  2. `create_agent_checkout` — pass a billing email; returns a Polar checkout URL and a one-time claim_token. A human completes payment in the browser.
  3. `check_agent_checkout_status` — poll with the claim_token until status is paid.
  4. `claim_agent_api_key` — exchange the claim_token for the API key. The key is returned exactly once — store it securely.
  5. Restart this server with MOCKHERO_API_KEY=mh_... set (recommended path from here on).

Prefer a dashboard? Sign up free at mockhero.dev instead.

Tools

generate_test_data

Generate realistic test data from a structured schema or plain English description. Relational foreign keys, 156 field types, 22 locales, JSON/CSV/SQL output. Explicit schemas up to 100 records run free without a key; prompt mode and larger requests need MOCKHERO_API_KEY.

"Generate 50 users with German names and 200 orders linked to them"
generate_from_template

Generate data from a pre-built template (ecommerce, blog, saas, social) — no schema definition needed. Small scales (e.g. 0.05) stay within the free 100-record preview.

Use the ecommerce template at 2x scale with German locale
detect_schema

Convert SQL CREATE TABLE statements or JSON samples into MockHero's schema format. Free, no key required.

list_field_types

List all 156 supported field types with descriptions and parameters. Free, no key required.

list_templates

List pre-built schema templates. Free, no key required.

estimate_agent_usage

Estimate agent-plan cost before generating: free daily allowance remaining, billable records, billable 100-record units, and estimated dollar cost. Free, no key required.

create_agent_checkout

Create a loginless Polar checkout for the metered agent plan. Returns a checkout URL and one-time claim_token.

check_agent_checkout_status

Poll a checkout by claim_token until it is paid.

claim_agent_api_key

Claim the API key after payment. Returned once — store it and set MOCKHERO_API_KEY.

Environment variables

VariableRequiredDescription
MOCKHERO_API_KEYNoMockHero API key (mh_...). Without it, generation runs in free preview mode (≤100 records per request, explicit schemas/templates only).
MOCKHERO_API_BASENoBase URL of the MockHero API. Default https://mockhero.dev.

Pricing

  • Free tier: 500 records/day, 100 per request, JSON output.
  • Agent plan (loginless, metered): 500 free records/day, then $0.001 per 100 records, billed monthly via Polar (Merchant of Record).
  • Full pricing: mockhero.dev/agent-pricing.json

Links

问 PopNx