SeedBase MCP sunucusu
✓ DoğrulandıBir yapay zeka asistanı aracılığıyla veritabanlarınız için gerçekçi, ilişkileri koruyan ve gizlilik açısından güvenli sentetik test verileri oluşturun.
Ayrıca bilinen adı marcelglaeser/seedbase-node, seedbase-node, @seedbase/client
- Yıldızlar
- 0
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- 0.2.2
- Son commit
- 12 Tem 2026
- Lisans
- MIT
SeedBase MCP nedir?
Bir yapay zeka asistanı aracılığıyla veritabanlarınız için gerçekçi, ilişkileri koruyan ve gizlilik açısından güvenli sentetik test verileri oluşturun.
Özet, projenin README dosyasından oluşturuldu
SeedBase MCP sunucusu hakkında
SeedBase Test Data, geliştiricilerin karmaşık veritabanı ilişkilerini koruyan, sentetik ve gizlilik açısından güvenli veri setleri oluşturmasını sağlar. Kullanıcılar SeedBase platformuna bağlanarak şemaları modelleyebilir; Postgres, MySQL ve SQLite için veri setleri üretebilirler. Sunucu, Claude Desktop veya Claude Code gibi yapay zeka asistanlarıyla birlikte çalışarak, beş özel araç aracılığıyla tüm veri oluşturma yaşam döngüsünü yönetmeye olanak tanır.
Kullanıcılar sunucuyu npx kullanarak stdio üzerinden yerel olarak kurabilir veya bir streamable HTTP istemcisi kullanarak barındırılan bir sürüme bağlanabilirler. Kimlik doğrulama için seedbase.dev adresinden alınan bir API anahtarı gereklidir; bu anahtar ortam değişkenleri veya bir yapılandırma dosyası aracılığıyla sağlanabilir. Sistem; SQL DDL, CSV, JSON veya ORM modellerinden şema içe aktarmayı destekler. Bir proje yapılandırıldıktan sonra asistan, tüm tablolarda foreign-key tutarlılığını sağlayarak veri üretimini tetikleyebilir ve sonuçta oluşan SQL dosyalarını indirebilir.
Neler yapabilirsiniz
- 1Otomatik Şema İçe AktarmaBir yapay zeka asistanı, yeni bir proje şeması oluşturmak için ham SQL DDL veya ORM kodunu kullanabilir.
- 2Uçtan Uca Veri OluşturmaBir yapay zekaya, belirli bir projeyi tutarlı MySQL test verileriyle doldurması talimatını verebilirsiniz.
- 3Foreign Key Tutarlı Veri BeslemeGeliştiriciler, tüm ilişkisel bağlantıların bozulmadan kaldığı veri setleri oluşturmak için bu aracı kullanabilirler.
- 4Prisma Veritabanı BeslemeSentetik verileri tek bir komutla doğrudan Prisma tarafından yönetilen bir iş akışına entegre edin.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
SeedBase MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıCursor'a ekleGoose'a ekleSeedBase MCP'yi Claude Code içine yükleyin
$ claude mcp add --env 'SEEDBASE_API_KEY=<YOUR_SEEDBASE_API_KEY>' seedbase-node -- npx -y @seedbase/clientSeedBase MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"seedbase-node": {
"command": "npx",
"args": [
"-y",
"@seedbase/client"
],
"env": {
"SEEDBASE_API_KEY": "<YOUR_SEEDBASE_API_KEY>"
}
}
}
}SeedBase MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"seedbase-node": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@seedbase/client"
],
"env": {
"SEEDBASE_API_KEY": "<YOUR_SEEDBASE_API_KEY>"
}
}
}
}SeedBase MCP'yi VS Code CLI içine yükleyin
$ code --add-mcp '{"name":"seedbase-node","type":"stdio","command":"npx","args":["-y","@seedbase/client"],"env":{"SEEDBASE_API_KEY":"<YOUR_SEEDBASE_API_KEY>"}}'SeedBase MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"seedbase-node": {
"command": "npx",
"args": [
"-y",
"@seedbase/client"
],
"env": {
"SEEDBASE_API_KEY": "<YOUR_SEEDBASE_API_KEY>"
}
}
}
}SeedBase MCP'yi Codex içine yükleyin
$ codex mcp add seedbase-node --env 'SEEDBASE_API_KEY=<YOUR_SEEDBASE_API_KEY>' -- npx -y @seedbase/clientSeedBase MCP'yi Codex config.toml içine yükleyin
~/.codex/config.toml
[mcp_servers.seedbase-node] command = "npx" args = ["-y", "@seedbase/client"] [mcp_servers.seedbase-node.env] SEEDBASE_API_KEY = "<YOUR_SEEDBASE_API_KEY>"
SeedBase MCP'yi Gemini CLI içine yükleyin
$ gemini mcp add -s user -e 'SEEDBASE_API_KEY=<YOUR_SEEDBASE_API_KEY>' seedbase-node npx -- -y @seedbase/clientSeedBase MCP'yi Gemini settings.json içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"seedbase-node": {
"command": "npx",
"args": [
"-y",
"@seedbase/client"
],
"env": {
"SEEDBASE_API_KEY": "<YOUR_SEEDBASE_API_KEY>"
}
}
}
}Yapılandırma
SEEDBASE_API_KEYGerekliGizliSeedBase API key (dr_sk_...) — create at https://seedba.se -> Settings -> API keys
| Ad | Açıklama | Sunucu |
|---|---|---|
| SEEDBASE_API_KEY | SeedBase API key (dr_sk_...) — create at https://seedba.se -> Settings -> API keys | GerekliGizli |
Otomatik kontroller
Çalıştırıldı 15 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirmarcelglaeser/seedbase-node is public and reachablegithub.com/marcelglaeser/seedbase-node ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyor@seedbase/client names marcelglaeser/seedbase-node as sourcenpmjs.com/package/@seedbase/client ↗Geçti
- Derleme kökeni (Sigstore onayı)Sigstore attestation for @seedbase/clientnpmjs.com/package/@seedbase/client/v/0.2.2#provenance ↗Geçti
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-07-12github.com/marcelglaeser/seedbase-node ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilNo popular package one edit away from @seedbase/clientGeçti
- Pakette veya bağımlılıklarında kritik uyarı yok1 resolved dependencies checked; no critical advisoryosv.dev ↗Geçti
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorinitialize answered with protocol 2025-06-18 in 1122 msGeçti
@seedbase/client
Generate realistic, relationship-preserving, privacy-safe test data for your databases — and pull it straight into your local or CI database.
Seedbase lives on seedbase.dev: you model (or import) a schema there, generate datasets, and use this package to pull them into Postgres, MySQL, SQLite and more. Schema-aware, foreign-key-correct, reproducible by seed.
This is the Node.js client, a counterpart to the Python SDK.
Install
npm install @seedbase/client
Zero runtime dependencies — pure ESM, built on the native fetch of Node 18+.
Quickstart
import { SeedbaseClient } from "@seedbase/client";
// Token from the argument, $SEEDBASE_TOKEN, or ~/.seedbase/config.json
const client = new SeedbaseClient({ token: "dr_sk_..." });
// Trigger a generation and wait for it to finish
const gen = await client.generate(projectId, { seed: 42, wait: true });
// Download the result (Uint8Array)
const bytes = await client.download(gen.id, { format: "sql" });
import { writeFile } from "node:fs/promises";
await writeFile("dump.sql", bytes);
MCP server (Claude Code, Claude Desktop & friends)
This package ships seedbase-mcp — a zero-dependency Model Context Protocol
server that lets AI assistants generate test data for you. Describe what you
need ("fill my Shop project with MySQL test data") and the assistant drives
SeedBase end-to-end through five tools:
| Tool | What it does |
|---|---|
list_projects |
List your SeedBase projects (id, name, database type) |
create_project |
Create a new, empty project |
import_schema |
Import a schema from SQL DDL (raw pg_dump --schema-only works), CSV/JSON or ORM model code |
get_ddl |
Get a project's schema as CREATE TABLE statements, per dialect |
generate_test_data |
Generate a fresh FK-consistent dataset and return it as SQL (large results are written to a local file, never truncated) |
Hosted (zero install) — point any Streamable-HTTP MCP client at
https://seedbase.dev/mcp with an Authorization: Bearer dr_sk_... header:
claude mcp add-json seedbase '{"type":"http","url":"https://seedbase.dev/mcp","headers":{"Authorization":"Bearer dr_sk_..."}}'
Local via Claude Code (stdio):
claude mcp add-json seedbase '{"type":"stdio","command":"npx","args":["-y","-p","@seedbase/client","seedbase-mcp"],"env":{"SEEDBASE_API_KEY":"dr_sk_..."}}'
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"seedbase": {
"command": "npx",
"args": ["-y", "-p", "@seedbase/client", "seedbase-mcp"],
"env": { "SEEDBASE_API_KEY": "dr_sk_..." }
}
}
}
Create a free account at seedbase.dev/register (no
credit card), then create an API key under Settings → API keys. The free tier is
enough to generate full, foreign-key-consistent datasets. The server is stdio-only,
talks exclusively to https://seedbase.dev, and stores nothing locally.
Authentication
The token is resolved in this order:
- The
tokenoption passed to the constructor. - The
SEEDBASE_TOKENenvironment variable. - The
tokenfield in~/.seedbase/config.json(written byseedbase login).
API keys with the dr_sk_ prefix are sent as Authorization: Bearer ..., other
tokens as Authorization: Token .... Get a key at
seedbase.dev/settings?tab=api-keys.
API
new SeedbaseClient({
token, // optional, see resolution order above
apiUrl, // default "https://seedbase.dev/api/v1" (https enforced, http only for localhost)
configPath, // override ~/.seedbase/config.json
requestTimeout, // per-request timeout in ms, default 30000
fetch, // inject a custom fetch (e.g. for tests)
});
| Method | Description |
|---|---|
listProjects() |
All datasets/projects (paginated, followed automatically). |
getProject(projectId) |
A single project. |
listGenerations(projectId) |
Generations for a project (paginated). |
getGeneration(generationId) |
A single generation. |
generate(projectId, opts) |
Trigger a generation. opts: { seed, rows, format, rebaseTo, wait, timeout, pollInterval }. With wait: true it polls until the generation reaches completed/failed/cancelled. |
download(generationId, { format }) |
Download the generated artifact as a Uint8Array. format defaults to "sql". |
seededRows(projectId, { seed, rows }) |
Generate and return the rows as { tableName: [row, ...] }, in foreign-key-safe order. |
exportConfig(projectId) |
The project's engine config as an object. |
importConfig(projectId, config) |
Replace the project's engine config. |
All methods are async and return Promises. Failures throw a SeedbaseError
(with .statusCode for HTTP errors), carrying a readable message that includes
the server's detail or field errors.
import { SeedbaseError } from "@seedbase/client";
try {
await client.getProject("missing");
} catch (err) {
if (err instanceof SeedbaseError) {
console.error(err.statusCode, err.message);
}
}
Prisma seed
Fill a Prisma-managed database with realistic, foreign-key-consistent data, in
one call. Your schema must already exist (your prisma migrate owns it);
SeedBase only fills it. Free tier.
// prisma/seed.ts
import { PrismaClient } from "@prisma/client";
import { SeedbaseClient } from "@seedbase/client";
import { seedPrisma } from "@seedbase/client/prisma";
const prisma = new PrismaClient();
const client = new SeedbaseClient({ token: process.env.SEEDBASE_TOKEN });
await seedPrisma(prisma, client, { project: process.env.SEEDBASE_PROJECT, seed: 42 });
Then run prisma db seed. A runnable demo (offline, no account) is in
examples/prisma-seed-demo.mjs.
Links
- Website: https://seedbase.dev
- Docs: https://seedbase.dev/docs
- API keys: https://seedbase.dev/settings?tab=api-keys
MIT licensed.
SeedBase MCP soruları
SeedBase MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add --env 'SEEDBASE_API_KEY=<YOUR_SEEDBASE_API_KEY>' seedbase-node -- npx -y @seedbase/client komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
SeedBase MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
SeedBase hangi veritabanlarını destekler?
Oluşturulan veri setlerini Postgres, MySQL, SQLite ve daha fazlasına aktarabilirsiniz.
SeedBase'i Prisma ile nasıl kullanabilirim?
Prisma tarafından yönetilen bir veritabanını tek bir çağrıyla gerçekçi ve foreign-key tutarlılığına sahip verilerle doldurmak için seedPrisma fonksiyonunu kullanabilirsiniz.
Sunucu verilerimi yerel olarak saklıyor mu?
Hayır, sunucu sadece stdio üzerinden çalışır ve yerel olarak hiçbir şey saklamaz.