GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Generate Express.js backend projects with ORMs, auth, payments, and DevOps
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"backgen": {
"command": "npx",
"args": [
"-y",
"@ibrahimkhaled19/backgen"
]
}
}
}ターミナルでこれを実行します
claude mcp add backgen -- npx -y @ibrahimkhaled19/backgenプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"backgen": {
"command": "npx",
"args": [
"-y",
"@ibrahimkhaled19/backgen"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"backgen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ibrahimkhaled19/backgen"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント IbrahimKhaled19 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.14.0)がレジストリに届いたのは4 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
BackGen ships a built-in MCP (Model Context Protocol) server that AI assistants (Claude, Cursor, GitHub Copilot, VS Code) can use to scaffold projects on your behalf.
Run via CLI:
backgen mcp
Or configure your AI tool's MCP client:
{
"mcpServers": { "backgen": { "command": "npx", "args": ["-y", "@ibrahimkhaled19/backgen", "mcp"] } } }
Available MCP tools:
| Tool | Description |
|---|---|
init_project | Scaffold a new production-ready backend project with chosen ORM, preset, and plugins |
add_plugin | Install a plugin (jwt, clerk, stripe, s3, ratelimit, ci-github, dependabot, codeql, docker-registry, release) |
remove_plugin | Remove a previously installed plugin |
generate_resource | Generate a CRUD resource with fields, relations, validation, and Swagger |
generate_seed | Generate a database seed file for a resource |
generate_factory | Generate a test factory for a resource |
doctor | Validate an existing BackGen project for configuration issues |
list_plugins | List all available plugins with descriptions |
list_presets | List all available domain presets |
project_info | Show project metadata from the manifest |
Then just ask: *"Scaffold a SaaS backend with Prisma, JWT auth, and Stripe payments"*
Generate production-ready backend foundations so developers can focus on business logic, not boilerplate.
BackGen is a CLI tool that generates complete Express.js backend projects on Prisma, Drizzle, or Mongoose — with authentication, multi-tenant infrastructure, production hardening, Docker, and testing — all working out of the box.
npx @ibrahimkhaled19/backgen init my-api --orm drizzle
cd my-api npm run dev
Swagger docs at http://localhost:3000/docs in under 60 seconds. Pick your ORM, keep everything else.
init time, switch later via the manifestsaas-core preset ships Organizations, Memberships, Invitations, RBAC, tenant-scoped queries/health + /ready, error envelopebackgen add.backgenrc.json tracks ORM, plugins, versions, and ownership for upgrade/rollback# Install globally
npm install -g @ibrahimkhaled19/backgen
backgen init my-api --orm prisma backgen init my-api --orm drizzle backgen init my-api --orm mongoose
backgen init my-saas --preset saas-core --defaults
backgen add jwt backgen add clerk
backgen add ratelimit
backgen generate resource Product name:string price:number stock:number
cd my-api npm run dev
backgen init [name]Generate a new backend project.
backgen init my-api # interactive ORM picker
backgen init my-api --orm prisma # explicit ORM backgen init my-api --orm drizzle --defaults # Drizzle, non-interactive backgen init my-api --orm mongoose --skip-install backgen init my-api --preset saas-core --defaults # full multi-tenant domain backgen init my-api --preset healthcare # healthcare domain
Output:
.backgenrc.json manifest (records project.orm + plugins)No auth by default — choose your auth provider with backgen add.
backgen add [plugin]Install a plugin. Interactive multi-select if no argument.
backgen add # interactive multi-select
backgen add jwt # JWT authentication backgen add clerk # Clerk auth-as-a-service backgen add stripe # Stripe payments backgen add s3 # AWS S3 storage backgen add ratelimit # Per-IP / per-user rate limiting backgen add devops # Install all devops plugins at once
Available Plugins:
| Plugin | Category | Description |
|---|---|---|
jwt | auth | JWT authentication with refresh tokens |
clerk | auth | Clerk auth-as-a-service (conflicts with jwt) |
stripe | payment | Stripe checkout, webhooks, customers |
s3 | storage | AWS S3 upload, download, presigned URLs |
ratelimit | production | Per-IP rate limiting with Redis-ready store |
ci-github | devops | GitHub Actions CI pipeline (lint, typecheck, test, build, optional deploy) |
dependabot | devops | Automated dependency updates via Dependabot |
codeql | devops | CodeQL security analysis on push and schedule |
docker-registry | devops | Docker image build and publish to GHCR |
release | devops | Semantic release with npm publish and GitHub releases |
Conflict detection: jwt and clerk cannot be installed together.
Generate a complete domain in one command. Each preset creates multiple resources with relations, auto-installs JWT auth, and wires everything together.
backgen init my-api --preset healthcare
backgen init my-api --preset saas --defaults
Patient, Doctor, Appointment, Prescription, MedicalRecord — appointments between patients and doctors, prescriptions linked to patients, medical records per patient.
Organization, Team, Membership, Subscription, Invoice — organizations with teams and memberships, subscriptions with invoices.
Category, Product, Cart, Order, OrderItem, Payment — products in categories, carts with items, orders with line items and payments.
Contact, Company, Deal, Activity — companies with contacts, deals tracked through pipeline, activity logging.
Course, Lesson, Enrollment, Progress, Certificate — courses with lessons, student enrollments, progress tracking, certificates.
backgen remove [plugin]Remove a plugin. Interactive multi-select if no argument. Supports devops shorthand to remove all devops plugins.
backgen remove # interactive multi-select
backgen remove stripe # remove specific plugin backgen remove devops # remove all devops plugins
backgen generate resource [fields...]Generate a CRUD resource module.
# Interactive
backgen generate resource Product
backgen generate resource Product name:string price:number stock:number
backgen generate resource Appointment date:datetime status:string \ --relations "doctor:Doctor,patient:Patient"
backgen generate resource Product --fields "name:string,price:number"
Generated files:
src/modules/product/
product.controller.ts # CRUD endpoints product.service.ts # business logic product.repository.ts # database operations product.validation.ts # Zod schemas product.types.ts # TypeScript interfaces product.routes.ts # route definitions + Swagger product.test.ts # test placeholder
Field types: string, number, boolean, date, datetime
Relations: doctor:Doctor (belongsTo), patients:Patient (hasMany)
backgen generate seed Generate seed data for development.
backgen generate seed Product --count 10
Output: prisma/seeds/product.ts (Prisma), db/seeds/product.ts (Drizzle), or seeds/product.ts (Mongoose)
backgen generate factory Generate a test factory.
backgen generate factory Product
Output: src/factories/product.factory.ts
Usage:
import { createProduct } from "./factories/product.factory.js";
const product = await createProduct({ name: "Widget" });
backgen generate route [name]Generate a custom route module with a complete controller, service, validation, types, and route file -- including Swagger annotations. Routes are automatically registered in app.ts with the REGISTER_ROUTES marker.
Use this when you need a custom endpoint that doesn't fit the CRUD pattern (e.g., dashboards, reports, webhooks, custom actions). For standard CRUD, use generate resource instead.
backgen generate route # interactive prompt
backgen generate route reports # generate a /api/reports module backgen generate route webhooks # generate a /api/webhooks module
Generated files:
src/modules/reports/
reports.controller.ts # request handlers reports.service.ts # business logic reports.validation.ts # Zod schemas reports.types.ts # TypeScript interfaces reports.routes.ts # route definitions + Swagger
Key differences from `generate resource`:
/api/ with full Swagger docsbackgen generate migration [name]Generate a database migration (ORM-aware).
backgen generate migration add-product-table # runs prisma migrate dev / drizzle-kit generate / no-op for Mongoose
backgen syncReconcile .backgenrc.json with the project. Regenerates missing plugin files.
backgen sync
backgen mcpStart BackGen as an MCP server over stdio. Used by AI assistants (Claude, Cursor, VS Code) to scaffold projects programmatically.
backgen mcp
This is the same server exposed via the npx @ibrahimkhaled19/backgen backgen-mcp binary. It registers all 10 MCP tools listed in the AI-Ready section.
backgen healthShow system health information.
backgen health
Displays:
backgen doctorCheck proje
冒頭だけを表示しています。続きはリポジトリで読めます