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
{
"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