# Turnback (npm · turnback)

Undo a coding agent turn, including shell commands and untracked files.

- Trust score: 81/100 (high trust)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-02

## Components

- npm · `turnback`: 81/100 (this document), [markdown](https://verifymcp.io/servers/mfaizr77-turnback/turnback.md), [page](https://verifymcp.io/servers/mfaizr77-turnback/turnback)

## Channel facts

- Registry: `npm`
- Package: `turnback`
- Version: `0.9.0`
- 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-10-02.

- **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**: 100/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to MFaizR77/turnback).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 69/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 880 tokens (~67/item across 13 items; 13 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 10/100
  - Stability observed for 3 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 87/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 61% 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 13 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 13 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

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

Turnback runs locally as an npm package, launched with npx -y turnback. 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 mfaizr77-turnback -- npx -y turnback
```

### Cursor

```json
{
  "mcpServers": {
    "mfaizr77-turnback": {
      "command": "npx",
      "args": [
        "-y",
        "turnback"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "mfaizr77-turnback": {
      "command": "npx",
      "args": [
        "-y",
        "turnback"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add mfaizr77-turnback -- npx -y turnback
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add mfaizr77-turnback --command npx --arg -y --arg turnback
```

### Hermes

```yaml
mcp_servers:
  mfaizr77-turnback:
    command: "npx"
    args: ["-y", "turnback"]
```

### Netclaw

```json
{
  "McpServers": {
    "mfaizr77-turnback": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "turnback"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add mfaizr77-turnback -t stdio -c npx -a -y turnback
```

### Other

```json
{
  "mcpServers": {
    "mfaizr77-turnback": {
      "command": "npx",
      "args": [
        "-y",
        "turnback"
      ]
    }
  }
}
```

## 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-10-02 (score 81, +16)

- [security improvement] Malware scan: unverified → pass

### 2026-10-01 (score 65, 0)

- [security improvement] Malware scan: unverified → pass
- [functional] Package version: 0.8.0 → 0.9.0

### 2026-09-30 (score 65, +12)

- [security regression] Known CVEs: pass → unverified
- [security improvement] Malware scan: unverified → pass
- [security improvement] Provenance: fail → pass
- [security] The attested source repository moved: MFaizR77/turnback
- [functional regression] Schema quality: 53 → 65
- [functional regression] Schema quality: 53 → 60
- [functional regression] Dependency health: 1.00 → unverified
- [functional improvement] Tool coverage: 50% → 61%
- [functional improvement] Stability: unverified → 0.03
- [functional improvement] Security disclosure: fail → pass
- [functional] Dependency health: 1.00 → pass
- [functional] Package version: 0.1.0 → 0.8.0
- [functional] Package version: 0.1.0 → 0.7.0
- [functional] Package version: 0.1.0 → 0.6.0
- [functional] Package version: 0.1.0 → 0.5.0
- [functional] Package version: 0.1.0 → 0.4.0

### 2026-09-29 (score 53)

First indexed and scored.

## MCP tools (13)

### `list_turns` (~40 tokens)

List recorded agent turns, newest first

Input parameters:

- `limit` (integer)
- `workspace` (string): Workspace folder; defaults to the server working directory

### `diff_turn` (~45 tokens)

Show changes made during a turn

Input parameters:

- `patch` (boolean)
- `turn` (string, required)
- `workspace` (string): Workspace folder; defaults to the server working directory

### `turn_steps` (~56 tokens)

List the edit and shell steps of a turn. Pass a step ref as restore target to return to just before that step.

Input parameters:

- `turn` (string, required)
- `workspace` (string): Workspace folder; defaults to the server working directory

### `file_history` (~54 tokens)

List the turns that changed a file or folder, newest first

Input parameters:

- `path` (string, required): File or folder, relative to the workspace or absolute
- `workspace` (string): Workspace folder; defaults to the server working directory

### `blame_file` (~101 tokens)

For each line of a text file: the turn that last wrote it (agent, time, prompt), "before" Turnback started recording, or "outside" a turn (changed between turns)

Input parameters:

- `end` (integer): Last line to include
- `path` (string, required): File, relative to the workspace or absolute
- `start` (integer): First line to include
- `workspace` (string): Workspace folder; defaults to the server working directory

### `recover_file` (~109 tokens)

Find the newest snapshot holding a version of one file or folder that differs from disk (for a deleted file, the last one that had it). For a folder, paths lists only its files that are missing or different; files added since are left alone. Nothing is written: pass the returned target and paths to restore to bring it back.

Input parameters:

- `path` (string, required): File or folder, relative to the workspace or absolute
- `workspace` (string): Workspace folder; defaults to the server working directory

### `search_turns` (~54 tokens)

Find turns whose prompt, shell commands, or edited paths contain the text

Input parameters:

- `limit` (integer)
- `query` (string, required)
- `workspace` (string): Workspace folder; defaults to the server working directory

### `diff_range` (~105 tokens)

Show what changed from a turn start, mark, or snapshot ref to another point or to the current files (default). Use it to review your own work before saying a task is done.

Input parameters:

- `from` (string, required): Turn ID (its start), mark label, or snapshot ref
- `patch` (boolean)
- `to` (string): Same forms as from; defaults to the current files
- `workspace` (string): Workspace folder; defaults to the server working directory

### `compare_turns` (~68 tokens)

Compare the results of two turns: files changed only by one, by both with different or identical results, and the diff from A to B

Input parameters:

- `a` (string, required)
- `b` (string, required)
- `workspace` (string): Workspace folder; defaults to the server working directory

### `session_report` (~55 tokens)

Markdown report of one agent session: each turn's prompt, commands, and changed files. Defaults to the latest session.

Input parameters:

- `session` (string)
- `workspace` (string): Workspace folder; defaults to the server working directory

### `status` (~31 tokens)

Show Turnback storage and protection status

Input parameters:

- `workspace` (string): Workspace folder; defaults to the server working directory

### `restore` (~89 tokens)

Preview or restore workspace files to a turn baseline or a snapshot ref (for example a step ref from turn_steps). Call once for a plan, then again with confirm_token as token.

Input parameters:

- `paths` (array)
- `target` (string): Turn id or snapshot ref (restore only)
- `token` (string)
- `workspace` (string): Workspace folder; defaults to the server working directory

### `redo` (~73 tokens)

Preview or undo the last restore. Call once for a plan, then again with confirm_token as token.

Input parameters:

- `paths` (array)
- `target` (string): Turn id or snapshot ref (restore only)
- `token` (string)
- `workspace` (string): Workspace folder; defaults to the server working directory

## Diagnostics

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

## Score history

- 2026-10-02: 81
- 2026-10-01: 65
- 2026-09-30: 65
- 2026-09-29: 53

## Common questions

### What is the Turnback MCP server?

Turnback is an MCP server listed in the public MCP registry as io.github.MFaizR77/turnback. Undo a coding agent turn, including shell commands and untracked files. This page covers its npm package (turnback).

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

Turnback scores 81 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 2 October 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. 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 Turnback MCP server expose?

Turnback exposes 13 tools: list_turns, diff_turn, turn_steps, file_history, blame_file, and 8 more. Their descriptions and schemas cost roughly 880 tokens of context every time the server is loaded.

### Is the Turnback MCP server still maintained?

Turnback is still listed as active in the MCP registry. We last reached this channel on 2 October 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 Turnback MCP server under?

Turnback 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/turnback
- Socket report: https://socket.dev/npm/package/turnback
- Repository: https://github.com/MFaizR77/turnback
- Changelog RSS feed: https://verifymcp.io/servers/mfaizr77-turnback/turnback.xml
- Changelog JSON feed: https://verifymcp.io/servers/mfaizr77-turnback/turnback.json
- HTML version of this page: https://verifymcp.io/servers/mfaizr77-turnback/turnback
