MCPサーバー

SeedBase Test Data

io.github.marcelglaeser/seedbase
データ・分析 開発者向けツール 公開・接続可能 MCP 2026-07-28

このMCPでできること

Imports database schemas and generates realistic foreign-key-consistent synthetic test data as SQL.

create_project
Create project
Create a new, empty SeedBase project. Use import_schema afterwards to add the schema.
入力スキーマ
{'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'description': 'Project name'}, 'db_type': {'enum': ['postgresql', 'mysql', 'sqlite', 'mssql'], 'type': 'string', 'description': 'Target database type (default: postgresql)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['id', 'name', 'db_type'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'db_type': {'type': 'string'}}}
fetch_generation
Fetch generation result
Fetch a previously started generation by id: returns its status, and the SQL INSERT statements once completed. Use this when generate_test_data reported the generation as still running.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['generation_id'], 'properties': {'generation_id': {'type': 'string', 'description': 'The generation id (UUID) reported by generate_test_data'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['status', 'generation_id'], 'properties': {'sql': {'type': 'string', 'description': 'Complete SQL INSERTs. Absent when the result is too large — download it from download_url instead; no partial SQL is ever returned.'}, 'status': {'enum': ['completed', 'running'], 'type': 'string'}, 'sql_chars': {'type': 'integer'}, 'truncated': {'type': 'boolean', 'description': 'True when the SQL was too large to inline. The response then contains NO sql; fetch the complete file from download_url.'}, 'download_url': {'type': 'string', 'description': "Authenticated download endpoint for the complete SQL (send your API key as 'Authorization: Bearer …')."}, 'generation_id': {'type': 'string'}}}
generate_test_data
Generate test data
Generate a fresh synthetic dataset for a project and return it as SQL INSERT statements. Optionally set rows per table. The data is foreign-key consistent.
入力スキーマ
{'type': 'object', 'required': ['project'], 'properties': {'rows': {'type': 'integer', 'minimum': 1, 'description': 'Rows per table (optional; plan limits apply)'}, 'seed': {'type': 'integer', 'description': 'Seed for deterministic output (optional)'}, 'project': {'type': 'string', 'description': 'Project id (UUID) or project name'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['status', 'generation_id'], 'properties': {'sql': {'type': 'string', 'description': 'Complete SQL INSERTs. Absent when the result is too large — download it from download_url instead; no partial SQL is ever returned.'}, 'status': {'enum': ['completed', 'running'], 'type': 'string'}, 'sql_chars': {'type': 'integer'}, 'truncated': {'type': 'boolean', 'description': 'True when the SQL was too large to inline. The response then contains NO sql; fetch the complete file from download_url.'}, 'download_url': {'type': 'string', 'description': "Authenticated download endpoint for the complete SQL (send your API key as 'Authorization: Bearer …')."}, 'generation_id': {'type': 'string'}}}
get_ddl
Get schema DDL
Get a project's schema as CREATE TABLE statements. Accepts a project id or name and an optional SQL dialect (postgresql, mysql, sqlite, mssql).
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['project'], 'properties': {'dialect': {'enum': ['postgresql', 'mysql', 'sqlite', 'mssql'], 'type': 'string', 'description': "SQL dialect for the DDL (default: the project's database type)"}, 'project': {'type': 'string', 'description': 'Project id (UUID) or project name'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['ddl', 'dialect'], 'properties': {'ddl': {'type': 'string'}, 'dialect': {'type': 'string'}}}
import_schema
Import schema
Import a database schema into a project from pasted content: SQL DDL (CREATE TABLE …, raw pg_dump/mysqldump schema output works), SQL INSERT dumps, CSV/TSV, JSON, or ORM model code (Django, Prisma, SQLAlchemy, …). Replaces the project's current schema.
破壊的操作あり
入力スキーマ
{'type': 'object', 'required': ['project', 'content'], 'properties': {'format': {'type': 'string', 'description': 'Optional hint: sql, csv, tsv, json, or an ORM name (django, prisma, sqlalchemy, …). Auto-detected when omitted.'}, 'content': {'type': 'string', 'description': 'The schema source text (e.g. the DDL)'}, 'project': {'type': 'string', 'description': 'Project id (UUID) or project name'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['table_count', 'fk_count'], 'properties': {'tables': {'type': 'array', 'items': {'type': 'string'}}, 'fk_count': {'type': 'integer'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}}, 'table_count': {'type': 'integer'}}}
list_projects
List projects
List your SeedBase projects (id, name, database type). Use this first to find the project to work with.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'properties': {}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['projects'], 'properties': {'projects': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'name', 'db_type'], 'properties': {'id': {'type': 'string'}, 'name': {'type': 'string'}, 'db_type': {'type': 'string'}}}}}}
追加
import_schema
2026年9月17日12:43
追加
create_project
2026年9月17日12:43
追加
fetch_generation
2026年9月17日12:43
追加
generate_test_data
2026年9月17日12:43
追加
get_ddl
2026年9月17日12:43
追加
list_projects
2026年9月17日12:43