# PromptBranch (npm · @promptbranch/mcp)

Local-first MCP server for versioning, searching, evaluating, and improving AI prompts.

- Trust score: 79/100 (medium)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-24

## Components

- npm · `@promptbranch/mcp`: 79/100 (this document), [markdown](https://verifymcp.io/servers/promptbranch-promptbranch/promptbranch-mcp.md), [page](https://verifymcp.io/servers/promptbranch-promptbranch/promptbranch-mcp)

## Channel facts

- Registry: `npm`
- Package: `@promptbranch/mcp`
- Version: `0.2.6`
- 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-09-24.

- **Supply Chain Security**: 98/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.
  - 32 of 104 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 48/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 5 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 75/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 561 tokens (~93/item across 6 items; 6 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 70/100
  - Stability observed for 21 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).
  - 67% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 6 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the PromptBranch MCP server?

PromptBranch runs locally as an npm package, launched with npx -y @promptbranch/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add promptbranch-promptbranch -- npx -y @promptbranch/mcp
```

### Cursor

```json
{
  "mcpServers": {
    "promptbranch-promptbranch": {
      "command": "npx",
      "args": [
        "-y",
        "@promptbranch/mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "promptbranch-promptbranch": {
      "command": "npx",
      "args": [
        "-y",
        "@promptbranch/mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add promptbranch-promptbranch -- npx -y @promptbranch/mcp
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add promptbranch-promptbranch --command npx --arg -y --arg @promptbranch/mcp
```

### Hermes

```yaml
mcp_servers:
  promptbranch-promptbranch:
    command: "npx"
    args: ["-y", "@promptbranch/mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "promptbranch-promptbranch": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@promptbranch/mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add promptbranch-promptbranch -t stdio -c npx -a -y @promptbranch/mcp
```

### Other

```json
{
  "mcpServers": {
    "promptbranch-promptbranch": {
      "command": "npx",
      "args": [
        "-y",
        "@promptbranch/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-09-23 (score 79, +1)

No change was recorded against any check on this day. Stability & Change Management went from 63 to 67. That category is still filling its 30-day observation window: 19 days of observed history at the previous scan, 20 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-20 (score 78, +1)

No change was recorded against any check on this day. Stability & Change Management went from 53 to 57. That category is still filling its 30-day observation window: 16 days of observed history at the previous scan, 17 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-18 (score 77, +1)

No change was recorded against any check on this day. Stability & Change Management went from 47 to 50. That category is still filling its 30-day observation window: 14 days of observed history at the previous scan, 15 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-16 (score 76, +1)

No change was recorded against any check on this day. Stability & Change Management went from 40 to 43. That category is still filling its 30-day observation window: 12 days of observed history at the previous scan, 13 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-14 (score 75, +1)

No change was recorded against any check on this day. Stability & Change Management went from 33 to 37. That category is still filling its 30-day observation window: 10 days of observed history at the previous scan, 11 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-12 (score 74, +1)

No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-10 (score 73, +1)

No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-08 (score 72, +1)

No change was recorded against any check on this day. Stability & Change Management went from 13 to 17. That category is still filling its 30-day observation window: 4 days of observed history at the previous scan, 5 at this one. The score rises as the window fills, whether or not the server changes.

## MCP tools (6)

### `get_prompt` (~150 tokens)

Fetch and render a prompt. If status is needs_input, do not execute content: ask the user for every missingVariables value, then call get_prompt again with variables. Execute content only when status is ready. Defaults to the current (preferred) version; pin with version and/or branch.

Input parameters:

- `branch` (string): Branch name; defaults to the current version's branch
- `prompt` (string, required): Prompt title (exact or unique substring) or id
- `variables` (object): Values for {{variables}}. If the response says needs_input, ask the user for every missing variable and call get_prompt again.
- `version` (integer): Per-branch version number; defaults to the current version

### `search_prompts` (~75 tokens)

Full-text search over prompt titles, descriptions, tags, notes and version content.

Input parameters:

- `collection` (string): Restrict to this collection (name)
- `limit` (integer): Max results (default 10)
- `query` (string, required)
- `tag` (string): Restrict to prompts carrying this tag (name)

### `list_prompts` (~36 tokens)

List prompts in the library, optionally filtered by collection or tag.

Input parameters:

- `collection` (string)
- `tag` (string)

### `report_run` (~133 tokens)

Report that a prompt version was used: which tool/model ran it, the outcome rating (1–5) and a short result summary.

Input parameters:

- `metrics` (object): Arbitrary structured metrics (tokens, latency…)
- `model` (string)
- `outcomeRating` (integer)
- `prompt` (string, required): Prompt title (exact or unique substring) or id
- `resultSummary` (string)
- `tool` (string, required): Tool that ran the prompt, e.g. 'kimi-cli', 'mcp'
- `version` (integer): Per-branch version number; defaults to the current version

### `add_note` (~66 tokens)

Attach a freeform note to a prompt (or a specific version of it).

Input parameters:

- `body` (string, required)
- `prompt` (string, required): Prompt title (exact or unique substring) or id
- `versionId` (string): Specific version id; omit for a prompt-level note

### `suggest_variation` (~101 tokens)

Propose a rewritten version of a prompt. Creates a PENDING suggestion that a human must approve in the PromptBranch app before it becomes usable — agents propose, humans approve.

Input parameters:

- `baseVersion` (integer): Version number to base the suggestion on; defaults to current
- `newContent` (string, required)
- `prompt` (string, required): Prompt title (exact or unique substring) or id
- `rationale` (string, required): Why this change improves the prompt

## Diagnostics

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

## Score history

- 2026-09-24: 79
- 2026-09-23: 79
- 2026-09-22: 78
- 2026-09-21: 78
- 2026-09-20: 78
- 2026-09-19: 77
- 2026-09-18: 77
- 2026-09-17: 76
- 2026-09-16: 76
- 2026-09-15: 75
- 2026-09-14: 75
- 2026-09-13: 74
- 2026-09-12: 74
- 2026-09-11: 73
- 2026-09-10: 73
- 2026-09-09: 72
- 2026-09-08: 72
- 2026-09-07: 71
- 2026-09-06: 71
- 2026-09-05: 45
- 2026-09-04: 69
- 2026-09-03: 54

## Common questions

### What is the PromptBranch MCP server?

PromptBranch is an MCP server listed in the public MCP registry as io.github.PromptBranch/promptbranch. Local-first MCP server for versioning, searching, evaluating, and improving AI prompts. This page covers its npm package (@promptbranch/mcp).

### Is the PromptBranch MCP server safe to use?

PromptBranch scores 79 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the PromptBranch MCP server expose?

PromptBranch exposes 6 tools: get_prompt, search_prompts, list_prompts, report_run, add_note, suggest_variation. Their descriptions and schemas cost roughly 561 tokens of context every time the server is loaded.

### Is the PromptBranch MCP server still maintained?

PromptBranch is still listed as active in the MCP registry. We last reached this channel on 24 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the PromptBranch MCP server under?

PromptBranch declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@promptbranch/mcp
- Socket report: https://socket.dev/npm/package/@promptbranch/mcp
- Repository: https://github.com/PromptBranch/promptbranch
- Website: https://promptbranch.app/
- Changelog RSS feed: https://verifymcp.io/servers/promptbranch-promptbranch/promptbranch-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/promptbranch-promptbranch/promptbranch-mcp.json
- HTML version of this page: https://verifymcp.io/servers/promptbranch-promptbranch/promptbranch-mcp
