Skip to content
Gemini CLI

BackendGen for Gemini CLI

io.github.sitouhemi/backendgen

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

client:Gemini CLI transport:stdio runtime:npm

Install BackendGen in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

BackendGen in other clients