Skip to content
Cursor

BackendGen for Cursor

io.github.sitouhemi/backendgen

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

client:Cursor transport:stdio runtime:npm

Install BackendGen in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "backendgen": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@2hemi/backendgen-mcp"
      ],
      "env": {
        "BACKENDGEN_ALLOWED_ROOTS": "<BACKENDGEN_ALLOWED_ROOTS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

BackendGen in other clients