BackendGen
v0.2.2Validate compact backend specs and generate tested NestJS, Prisma, and PostgreSQL repositories.
Values you need
| Variable | What it is | |
|---|---|---|
BACKENDGEN_ALLOWED_ROOTS | optional | Optional list of filesystem roots BackendGen may read and write, separated by ';' (or ':' between POSIX absolute paths). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add backendgen -- npx -y @2hemi/backendgen-mcp@0.2.2Add to
claude_desktop_config.json{
"mcpServers": {
"backendgen": {
"args": [
"-y",
"@2hemi/backendgen-mcp@0.2.2"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"backendgen": {
"args": [
"-y",
"@2hemi/backendgen-mcp@0.2.2"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"backendgen": {
"args": [
"-y",
"@2hemi/backendgen-mcp@0.2.2"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.backendgen]
command = "npx"
args = ["-y", "@2hemi/backendgen-mcp@0.2.2"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_capabilities, list_targets, describe_target, list_features, describe_feature, validate_spec, inspect_spec, preview_generation, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json