Supabase
MCP server for interacting with the Supabase platform
作者による説明(英語の原文)
Validate compact backend specs and generate tested NestJS, Prisma, and PostgreSQL repositories.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
BACKENDGEN_ALLOWED_ROOTS必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"backendgen": {
"command": "npx",
"args": [
"-y",
"@2hemi/backendgen-mcp"
],
"env": {
"BACKENDGEN_ALLOWED_ROOTS": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add backendgen --env BACKENDGEN_ALLOWED_ROOTS=your-value -- npx -y @2hemi/backendgen-mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"backendgen": {
"command": "npx",
"args": [
"-y",
"@2hemi/backendgen-mcp"
],
"env": {
"BACKENDGEN_ALLOWED_ROOTS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"backendgen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@2hemi/backendgen-mcp"
],
"env": {
"BACKENDGEN_ALLOWED_ROOTS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
BACKENDGEN_ALLOWED_ROOTS envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント SiTouhemi で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.2.2)がレジストリに届いたのは4 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
BackendGen is a deterministic backend compiler for AI coding agents. Give an agent a compact, versioned YAML or JSON specification and it can generate a structured, tested backend instead of inventing database models, permissions, API routes, and migrations from scratch.
It currently generates NestJS 11 + Prisma 6 + PostgreSQL repositories, including a typed TypeScript client and a small frontend-contract.json for the frontend agent to consume. Generated projects have no BackendGen runtime dependency.
Alpha status: BackendGen is ready for design-partner trials and local
projects. Review generated applications before production use; it has not yet
completed independent security review or three design-partner trials.
npm CLI · npm MCP server · Report an issue · Design-partner program
BackendGen is useful when an AI agent needs a real backend behind a frontend:
BackendGen is not a hosted backend service, deployment platform, or frontend builder. It runs locally and produces code that a developer or coding agent can review, customize, test, deploy, and connect to a frontend.
You do not need an npm account or this repository to try BackendGen.
mkdir backendgen-try
cd backendgen-try
npx -y @2hemi/backendgen init backend.yaml --name team-api npx -y @2hemi/backendgen validate backend.yaml npx -y @2hemi/backendgen generate backend.yaml --output ./team-api
cd team-api npm install npm test
The generated project runs prisma generate during installation, so this first-run path does not require a separate Prisma command. From the parent directory, use npx -y @2hemi/backendgen test-generated --output ./team-api --install when an agent should perform installation, validation, build, and unit tests through one bounded compiler command.
init creates a valid starter specification. Edit backend.yaml, then run validate and generate again. Before regenerating an existing project, use diff to preview what would change:
npx -y @2hemi/backendgen diff backend.yaml --output ./team-api
The repository includes working specifications from basic CRUD to a full-featured backend. This multi-tenant task example is a good first test:
git clone https://github.com/SiTouhemi/Backendgen.git
cd Backendgen
npx -y @2hemi/backendgen validate examples/saas-tasks/backend.yaml npx -y @2hemi/backendgen generate examples/saas-tasks/backend.yaml --output ./generated/saas-tasks
cd generated/saas-tasks npm install npm test
Browse every example and what it demonstrates in examples/README.md:
| Example | Demonstrates |
|---|---|
| notes API | CRUD, filtering, pagination, and sorting |
| auth notes | Accounts, roles, ownership, and authentication |
| SaaS tasks | Organizations and enforced tenant isolation |
| hotel booking | Reservations, overlap prevention, and notifications |
| all features | CRUD, auth, organizations, reservations, notifications, webhooks, jobs, and uploads |
The MCP package lets an AI agent discover supported backend features, validate a spec, preview changes, generate a backend, run generated tests, return the frontend handoff contract and customization guidance. It can also explain customization points. It runs locally over stdio—no BackendGen account or network listener is required.
Migration SQL is returned only when the agent explicitly requests it for review; generated source remains omitted from normal responses.
Add this server to an MCP-capable client, giving it only a directory you trust:
{
"mcpServers": { "backendgen": { "command": "npx", "args": ["-y", "@2hemi/backendgen-mcp"], "env": { "BACKENDGEN_ALLOWED_ROOTS": "/absolute/path/to/projects" } } } }
For Codex, Claude Code, Cursor, ChatGPT desktop, Windows, Lovable Desktop, and the correct v0 handoff, follow the client-specific commands in docs/AI_BUILDERS.md. The complete MCP security and tool reference is in docs/MCP.md.
Once connected, give your agent a request such as:
Create a multi-tenant task-management backend. First inspect BackendGen's
capabilities and relevant features. Write a spec, validate it, preview the
generation, generate it inside this project, and run the generated tests.
Keep custom behavior in the documented customization points.
For a valid specification, BackendGen produces a standalone repository with:
src/generated/ for compiler-owned code and src/custom/ for code you own;.backendgen/manifest.json that records ownership and hashes;frontend-contract.json and a typed TypeScript client for frontend agents.On regeneration, BackendGen preserves custom files, refuses to overwrite edited generated files unless you explicitly use --force, and requires explicit review for destructive or data-dependent schema changes. Read docs/MIGRATIONS.md before changing a live schema.
The repository's CI verifies compiler, CLI, MCP, security-contract fuzzing, package-installation, and generated-project scenarios. Generated projects are also built and tested against PostgreSQL in the release test matrix. See the local verification record and security contract for the exact evidence.
That evidence does not prove that every generated application is safe for production. You remain responsible for reviewing the specification, generated code, secrets, infrastructure, and deployment configuration.
Current boundaries:
| If you need to… | Read |
|---|---|
| Write a specification | Specification reference |
| Understand each supported feature | Feature packs |
| Connect an AI agent or MCP client | AI builder integration |
| Customize a generated project | Customization guide |
| Safely regenerate or change a schema | Migrations guide |
| Run tests locally | Local testing |
| Understand security boundaries | Threat model |
| Contribute | Contributing |
We are looking for developers and AI builders who will test BackendGen on a real, non-production project. Please open an issue with:
backend.yaml specification;Never include API keys, .env files, private customer code, or production database data. For security vulnerabilities, follow SECURITY.md instead of opening a public issue. Full support details are in SUPPORT.md.
To work on BackendGen itself:
npm ci
npm test npm run test:fuzz:ci npm run test:e2e npm run test:distribution
Maintainers preparing a release can run the same non-publishing gate through npm run verify:release. PostgreSQL-backed execution remains the separate npm run verify:local:postgres workflow described in local testing.
BackendGen is licensed under Apache-2.0. Generated projects belong to their users.