Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. BackendGen
BackendGen logo
Health: ActiveRecent health check succeeded.Last checked 9/22/2026, 10:17:08 PM

BackendGen

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Validate compact backend specs and generate tested NestJS, Prisma, and PostgreSQL repositories.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "backendgen": {
      "command": "npx",
      "args": [
        "-y",
        "@2hemi/backendgen"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

BackendGen

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

What it is for

BackendGen is useful when an AI agent needs a real backend behind a frontend:

  • model entities, relations, filters, sorting, and pagination;
  • add authentication, roles, row ownership, organizations, and tenant isolation;
  • generate reservations, notifications, webhooks, durable jobs, and uploads;
  • preserve a clean boundary between compiler-owned code and application-owned custom code;
  • safely regenerate after a specification changes, with incremental migrations and explicit review gates for destructive changes.

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.

Requirements

  • Node.js 22 or newer
  • npm 10 or newer
  • PostgreSQL only when you want to run a generated project's integration tests

Try it in five minutes

You do not need an npm account or this repository to try BackendGen.

sh
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:

Terminal
npx -y @2hemi/backendgen diff backend.yaml --output ./team-api

Test a complete SaaS example

The repository includes working specifications from basic CRUD to a full-featured backend. This multi-tenant task example is a good first test:

sh
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:

ExampleDemonstrates
notes APICRUD, filtering, pagination, and sorting
auth notesAccounts, roles, ownership, and authentication
SaaS tasksOrganizations and enforced tenant isolation
hotel bookingReservations, overlap prevention, and notifications
all featuresCRUD, auth, organizations, reservations, notifications, webhooks, jobs, and uploads

Use it with an AI coding agent (MCP)

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:

config.json
{
  "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.

What is generated

For a valid specification, BackendGen produces a standalone repository with:

  • a NestJS API, Prisma schema, PostgreSQL migrations, OpenAPI setup, and tests;
  • generated endpoints and permission rules derived from the normalized spec;
  • src/generated/ for compiler-owned code and src/custom/ for code you own;
  • a .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.

Verification and limits

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:

  • one production target: NestJS + Prisma + PostgreSQL;
  • FastAPI and other backend targets are intentionally out of scope;
  • no hosted BackendGen SaaS or direct browser-v0 MCP integration yet;
  • do not make token-savings claims until the paired benchmark has real results.

Documentation

If you need to…Read
Write a specificationSpecification reference
Understand each supported featureFeature packs
Connect an AI agent or MCP clientAI builder integration
Customize a generated projectCustomization guide
Safely regenerate or change a schemaMigrations guide
Run tests locallyLocal testing
Understand security boundariesThreat model
ContributeContributing

Feedback and support

We are looking for developers and AI builders who will test BackendGen on a real, non-production project. Please open an issue with:

  1. what you were trying to build;
  2. your sanitized backend.yaml specification;
  3. the command or MCP client you used;
  4. what worked, what was confusing, and what you expected instead.

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.

Development

To work on BackendGen itself:

Terminal
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.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Openapi MCP Server logoOpenapi MCP Server

    Connect any HTTP/REST API server using an Open API spec (v3)

    πŸ’» Developer Tools3 views
    Compare vs Openapi MCP Server β†’
  • MCP Server Docker logoMCP Server Docker

    Integrate with Docker to manage containers, images, volumes, and networks.

    πŸ’» Developer Tools3 views
    Compare vs MCP Server Docker β†’
  • Andrea9293 MCP logoAndrea9293 MCP

    Local-first document management and semantic search for AI coding agents

    πŸ’» Developer Tools2 views
    Compare vs Andrea9293 MCP β†’
  • Shadcn Ui MCP Server logoShadcn Ui MCP Server

    MCP server that gives AI assistants seamless access to shadcn/ui v4 components, blocks, demos, and metadata.

    πŸ’» Developer Tools3 views
    Compare vs Shadcn Ui MCP Server β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

npm downloads
54
Package downloads in the last 30 days.
Last commit
2mo ago
Most recent push to the default branch.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about BackendGen

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "backendgen": { "command": "npx", "args": ["-y","@2hemi/backendgen"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBackendGen AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/backendgen?style=directory)](https://allmcps.com/mcp/backendgen)
HTML Embed
<a href="https://allmcps.com/mcp/backendgen"><img src="https://allmcps.com/api/badge/backendgen?style=directory" alt="BackendGen on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedJul 24, 2026
5/9 checks healthy over the last 45d
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 24, 2026
npm downloads54/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
40Quality signal: Fair Β· 40/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev Β· @2hemi/backendgen (npm)

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Best PostgreSQL MCP servers β†’Alternatives to BackendGen β†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients