BackendGen for VS Code
io.github.sitouhemi/backendgen
Validate compact backend specs and generate tested NestJS, Prisma, and PostgreSQL repositories.
client:VS Code
transport:stdio
runtime:npm
Install BackendGen in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "backendgen-allowed-roots",
"description": "BACKENDGEN_ALLOWED_ROOTS",
"password": true
}
],
"servers": {
"backendgen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@2hemi/backendgen-mcp"
],
"env": {
"BACKENDGEN_ALLOWED_ROOTS": "${input:backendgen-allowed-roots}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs