MCP-Server

MockHero

io.github.dinosaur24/mockhero
Entwicklertools Nicht verfügbar MCP 2026-07-28

Was dieses MCP kann

Generates realistic relational test data in JSON, CSV, or SQL from schemas, prompts, and templates for ecommerce, blog, SaaS, and social applications.

check_agent_checkout_status
Poll a Polar checkout created by create_agent_checkout using the returned claim_token.
Nur Lesen
Eingabeschema
{'type': 'object', 'required': ['token'], 'properties': {'token': {'type': 'string', 'description': 'claim_token returned by create_agent_checkout.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
claim_agent_api_key
Claim the MockHero API key after Polar marks the loginless agent checkout as paid. The key is returned once.
Eingabeschema
{'type': 'object', 'required': ['token'], 'properties': {'token': {'type': 'string', 'description': 'claim_token returned by create_agent_checkout.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
create_agent_checkout
Create a loginless Polar Checkout URL for MockHero's metered agent plan. Polar is the Merchant of Record for checkout, tax collection, and remittance. The card payment step needs a human: present the returned url to your operator together with the estimate_agent_usage cost, keep the claim_token private, then poll check_agent_checkout_status and call claim_agent_api_key once paid.
Externer Zugriff
Eingabeschema
{'type': 'object', 'required': ['email'], 'properties': {'email': {'type': 'string', 'format': 'email', 'description': 'Billing email for the agent or the agent operator.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
detect_schema
Convert SQL CREATE TABLE statements or one sample JSON object into a MockHero schema that can be passed to generate_test_data.
Nur Lesen
Eingabeschema
{'type': 'object', 'anyOf': [{'required': ['sql']}, {'required': ['sample_json']}], 'properties': {'sql': {'type': 'string', 'description': 'SQL CREATE TABLE statement or statements.'}, 'sample_json': {'type': 'object', 'description': 'Single example JSON object to infer fields from.', 'additionalProperties': True}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
estimate_agent_usage
Estimate MockHero agent-plan cost before generating data. No login or API key is required; include an API key only when you want the estimate to use actual daily usage.
Eingabeschema
{'type': 'object', 'anyOf': [{'required': ['tables']}, {'required': ['template']}, {'required': ['prompt', 'estimated_records']}], 'properties': {'seed': {'type': 'number', 'description': 'Seed for reproducible output.'}, 'scale': {'type': 'number', 'description': 'Multiplier for template record counts.'}, 'format': {'enum': ['json', 'csv', 'sql'], 'type': 'string', 'default': 'json'}, 'locale': {'type': 'string', 'description': 'Default locale such as en, de, fr, es, or ja.'}, 'prompt': {'type': 'string', 'description': 'Plain-English data request. Example: 50 users and 200 orders linked to them.'}, 'tables': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'count', 'fields'], 'properties': {'name': {'type': 'string'}, 'count': {'type': 'integer', 'minimum': 1}, 'fields': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'type'], 'properties': {'name': {'type': 'string'}, 'type': {'type': 'string'}, 'params': {'type': 'object', 'additionalProperties': True}, 'nullable': {'type': 'boolean'}}, 'additionalProperties': False}, 'minItems': 1}}, 'additionalProperties': False}, 'minItems': 1}, 'api_key': {'type': 'string', 'description': 'Optional MockHero API key for no-auth MCP clients. Prefer the Authorization header when the client supports it.'}, 'template': {'enum': ['ecommerce', 'blog', 'saas', 'social'], 'type': 'string'}, 'sql_dialect': {'enum': ['postgres', 'mysql', 'sqlite'], 'type': 'string'}, 'daily_used_before': {'type': 'integer', 'minimum': 0, 'description': 'Optional assumption when no API key is supplied.'}, 'estimated_records': {'type': 'integer', 'minimum': 1, 'description': 'Required for prompt estimates because this tool does not run prompt-to-schema conversion.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
generate_from_template
Generate realistic test data from a pre-built MockHero template: ecommerce, blog, saas, or social. Small template previews up to 100 records can run free; larger or production usage requires a MockHero API key.
Externer Zugriff
Eingabeschema
{'type': 'object', 'required': ['template'], 'properties': {'seed': {'type': 'number'}, 'scale': {'type': 'number', 'default': 1}, 'format': {'enum': ['json', 'csv', 'sql'], 'type': 'string', 'default': 'json'}, 'locale': {'type': 'string'}, 'api_key': {'type': 'string', 'description': 'Optional MockHero API key for no-auth MCP clients. Prefer the Authorization header when the client supports it.'}, 'template': {'enum': ['ecommerce', 'blog', 'saas', 'social'], 'type': 'string'}, 'sql_dialect': {'enum': ['postgres', 'mysql', 'sqlite'], 'type': 'string'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
generate_test_data
Generate realistic JSON, CSV, or SQL test data from structured tables or a plain-English prompt. Explicit table schemas up to 100 records can run free as a proof-of-work preview; plain-English prompt generation, larger requests, and production usage require a MockHero API key.
Externer Zugriff
Eingabeschema
{'type': 'object', 'anyOf': [{'required': ['tables']}, {'required': ['prompt']}], 'properties': {'seed': {'type': 'number', 'description': 'Seed for reproducible output.'}, 'format': {'enum': ['json', 'csv', 'sql'], 'type': 'string', 'default': 'json'}, 'locale': {'type': 'string', 'description': 'Default locale such as en, de, fr, es, or ja.'}, 'prompt': {'type': 'string', 'description': 'Plain-English data request. Example: 50 users and 200 orders linked to them.'}, 'tables': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'count', 'fields'], 'properties': {'name': {'type': 'string'}, 'count': {'type': 'integer', 'minimum': 1}, 'fields': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'type'], 'properties': {'name': {'type': 'string'}, 'type': {'type': 'string'}, 'params': {'type': 'object', 'additionalProperties': True}, 'nullable': {'type': 'boolean'}}, 'additionalProperties': False}, 'minItems': 1}}, 'additionalProperties': False}, 'minItems': 1}, 'api_key': {'type': 'string', 'description': 'Optional MockHero API key for no-auth MCP clients. Prefer the Authorization header when the client supports it.'}, 'sql_dialect': {'enum': ['postgres', 'mysql', 'sqlite'], 'type': 'string'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
list_field_types
List MockHero field types, descriptions, parameters, and examples before building a schema.
Nur Lesen
Eingabeschema
{'type': 'object', 'properties': {}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
list_templates
List MockHero's pre-built schema templates for ecommerce, blog, SaaS, and social apps.
Nur Lesen
Eingabeschema
{'type': 'object', 'properties': {}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'additionalProperties': True}
Hinzugefügt
list_templates
17. September 2026 12:41
Hinzugefügt
list_field_types
17. September 2026 12:41
Hinzugefügt
detect_schema
17. September 2026 12:41
Hinzugefügt
generate_from_template
17. September 2026 12:41
Hinzugefügt
generate_test_data
17. September 2026 12:41
Hinzugefügt
claim_agent_api_key
17. September 2026 12:41
Hinzugefügt
check_agent_checkout_status
17. September 2026 12:41
Hinzugefügt
create_agent_checkout
17. September 2026 12:41
Hinzugefügt
estimate_agent_usage
17. September 2026 12:41