MockHero
v0.2.0Generate realistic relational test data — 156 field types, 22 locales, JSON/CSV/SQL, free previews.
Values you need
| Variable | What it is | |
|---|---|---|
MOCKHERO_API_KEY | optional secret | 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 | optional | Base URL of the MockHero API (default https://mockhero.dev) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mockhero -- npx -y --package=@mockherodev/mcp-server@0.2.0 mockhero-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mockhero": {
"args": [
"-y",
"--package=@mockherodev/mcp-server@0.2.0",
"mockhero-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mockhero": {
"args": [
"-y",
"--package=@mockherodev/mcp-server@0.2.0",
"mockhero-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mockhero": {
"args": [
"-y",
"--package=@mockherodev/mcp-server@0.2.0",
"mockhero-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mockhero]
command = "npx"
args = ["-y", "--package=@mockherodev/mcp-server@0.2.0", "mockhero-mcp"]Remote (hosted)
Run in a terminal
claude mcp add --transport http mockhero https://mockhero.dev/mcp/agentAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mockhero": {
"args": [
"-y",
"mcp-remote",
"https://mockhero.dev/mcp/agent"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mockhero": {
"url": "https://mockhero.dev/mcp/agent"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mockhero": {
"type": "http",
"url": "https://mockhero.dev/mcp/agent"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mockhero]
command = "npx"
args = ["-y", "mcp-remote", "https://mockhero.dev/mcp/agent"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: generate_test_data, generate_from_template, detect_schema, list_field_types, list_templates, estimate_agent_usage, create_agent_checkout, check_agent_checkout_status, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json