# BackendGen (npm · @2hemi/backendgen-mcp)

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

- Trust score: 82/100 (high trust)
- Change this week: −9
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@2hemi/backendgen-mcp`: 82/100 (this document), [markdown](https://verifymcp.io/servers/sitouhemi-backendgen/2hemi-backendgen-mcp.md), [page](https://verifymcp.io/servers/sitouhemi-backendgen/2hemi-backendgen-mcp)

## Channel facts

- Registry: `npm`
- Package: `@2hemi/backendgen-mcp`
- Version: `0.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to SiTouhemi/Backendgen).
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 14 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 74/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 620 tokens (~51/item across 12 items; 12 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 89/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 68% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add sitouhemi-backendgen -- npx -y @2hemi/backendgen-mcp
```

### Codex

```bash
codex mcp add sitouhemi-backendgen -- npx -y @2hemi/backendgen-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "sitouhemi-backendgen": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@2hemi/backendgen-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add sitouhemi-backendgen --command npx --arg -y --arg @2hemi/backendgen-mcp
```

### Hermes

```yaml
mcp_servers:
  sitouhemi-backendgen:
    command: "npx"
    args: ["-y", "@2hemi/backendgen-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "sitouhemi-backendgen": {
      "command": "npx",
      "args": [
        "-y",
        "@2hemi/backendgen-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 82, +4)

- [functional improvement] Stability: unverified → 0.23

### 2026-08-01 (score 78, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-07-31 (score 63, −10)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 73, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 91, +32)

- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: fail
- [functional] First check of Tool coverage: 68
- [functional] First check of Schema quality: pass
- [functional] First check of Schema quality: good

### 2026-07-26 (score 59)

First indexed and scored.

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

## MCP tools (12)

### `get_capabilities` (~29 tokens)

What this compiler can generate: specification version, targets, features and response limits. Call this first.

### `list_targets` (~20 tokens)

Backend targets this compiler can generate, with their supported databases.

### `describe_target` (~29 tokens)

Full detail for one target: databases, capabilities and project commands.

Input parameters:

- `targetId` (string, required)

### `list_features` (~26 tokens)

Feature packs available, with their dependencies and conflicts. Use describe_feature for the configuration schema.

### `describe_feature` (~29 tokens)

One feature's configuration JSON Schema, dependencies, conflicts and worked examples.

Input parameters:

- `feature` (string, required)

### `validate_spec` (~72 tokens)

Validate a specification. Returns stable error codes and JSON pointers, so a failure can be fixed without guessing.

Input parameters:

- `spec` (object): The specification inline, as an object. Use this or specPath, not both.
- `specPath` (string): Path to a YAML or JSON specification, inside an allowed root.

### `inspect_spec` (~71 tokens)

Compile a specification and return the normalized backend IR: entities, endpoints, events, secrets and infrastructure.

Input parameters:

- `spec` (object): The specification inline, as an object. Use this or specPath, not both.
- `specPath` (string): Path to a YAML or JSON specification, inside an allowed root.

### `preview_generation` (~78 tokens)

Dry run: what generation would create, update, delete or refuse to overwrite. Writes nothing.

Input parameters:

- `outputPath` (string, required)
- `spec` (object): The specification inline, as an object. Use this or specPath, not both.
- `specPath` (string): Path to a YAML or JSON specification, inside an allowed root.

### `generate_backend` (~102 tokens)

Generate the backend. Refuses by default if a generated file was edited by hand; pass force to overwrite. Never overwrites src/custom/.

Input parameters:

- `force` (boolean): Overwrite generated files that have local modifications.
- `outputPath` (string, required)
- `spec` (object): The specification inline, as an object. Use this or specPath, not both.
- `specPath` (string): Path to a YAML or JSON specification, inside an allowed root.

### `run_generated_tests` (~59 tokens)

Run the generated project's test suites and return counts, not logs. Integration tests need a reachable database.

Input parameters:

- `install` (boolean): Install dependencies first.
- `integration` (boolean): Also run the integration suite.
- `outputPath` (string, required)

### `get_generation_report` (~35 tokens)

Read the generation manifest of an already-generated project: versions, checksums and file ownership.

Input parameters:

- `outputPath` (string, required)

### `explain_customization_points` (~70 tokens)

Where to put custom code for a specification, and which interface each extension point expects.

Input parameters:

- `spec` (object): The specification inline, as an object. Use this or specPath, not both.
- `specPath` (string): Path to a YAML or JSON specification, inside an allowed root.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/sitouhemi-backendgen/2hemi-backendgen-mcp#diagnostics

## Score history

- 2026-08-03: 82
- 2026-08-02: 78
- 2026-08-01: 78
- 2026-07-31: 63
- 2026-07-30: 73
- 2026-07-28: 91
- 2026-07-27: 91
- 2026-07-26: 59

## Links

- npm package: https://www.npmjs.com/package/@2hemi/backendgen-mcp
- Socket report: https://socket.dev/npm/package/@2hemi/backendgen-mcp
- Repository: https://github.com/SiTouhemi/Backendgen
- Changelog RSS feed: https://verifymcp.io/servers/sitouhemi-backendgen/2hemi-backendgen-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/sitouhemi-backendgen/2hemi-backendgen-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/sitouhemi-backendgen/2hemi-backendgen-mcp
