Turnback MCP server
io.github.MFaizR77/turnback·v0.9.1·1 starsUndo a coding agent turn, including shell commands and untracked files.
not scanned yet
1 stars150 downloads/wk
Reviews
Write oneNobody has reviewed Turnback yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Turnback tools
No tool declarations could be read from the package source. They show once the server is installed.
How Turnback compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 73% of 4,460 AI and agents servers
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
- Downloads a week
- 150
- more than 71% of 1,538 AI and agents servers with a package
Release history: 3 versions in the registry since 2026-09-30, latest 2026-10-14, typically one every 13 days.
Install Turnback in Claude Code, Cursor or VS Code
Runs npx -y turnback on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add turnback -- npx -y turnback
What the publisher says
From the Turnback repository's README, as published. We do not edit it. Read it on GitHub
Turnback
Undo for AI coding agents, even after rm -rf.
One undo history for Claude Code, Codex, Cursor, Gemini CLI, OpenCode, and Antigravity CLI.
A real Turnback run. The agent is simulated with Claude Code's hook payloads; the rm -rf and every Turnback line are real. Recreate it with python scripts/demo/make_demo.py.
Why
Agent checkpoints track the agent's own edit tools. Claude Code's documentation says it plainly: "Checkpointing does not track files modified by Bash commands." So when an agent runs rm -rf, mv, a code generator, or git checkout -- ., rewind cannot bring those files back.
Turnback snapshots the workspace before every shell command and edit, into a shadow git repo under ~/.turnback:
- Undo a whole turn, or go back to just before one step of it.
- Tracked, untracked, and gitignored files (like .env) up to 5 MB are covered.
- Nothing writes to your project's .git unless you run turnback export --commit, and hooks never block the agent.
- One history across six agents. Through MCP, the agent can list and diff its own turns and restore them in two steps: a plan first, then the change.
Install
In Claude Code:
claude plugin marketplace add MFaizR77/turnback
claude plugin install turnback@turnbackThen use /turnback:turns, /turnback:diff-turn, /turnback:undo, and /turnback:report.
For Codex, Cursor, Gemini CLI, OpenCode, Antigravity CLI, or the CLI on its own (Node.js 22+ and Git 2.25+):
npm install -g turnback
turnback install all # user-level hooks and MCP for every agent
turnback install codex --project # or one agent, in this project onlyClaude Code, Codex, OpenCode, and Antigravity CLI have been tested live; Gemini CLI and Cursor are covered by tests built from their documented hook payloads. Details per agent: installation.
Compared with Claude Code's /rewind
They work side by side: rewind the conversation with /rewind, and the files with Turnback.
Everyday use
turnback list # recent turns with their prompts
turnback diff <turn> # what a turn changed
turnback undo --dry-run # show the plan
turnback undo --yes # undo the latest turn
turnback redo --yes # changed your mind
turnback steps <turn> # each edit and shell command in a turn
turnback restore <turn> --before-step 3 --yes
turnback mark "before migration" # a checkpoint of your own
turnback run -- npm run codegen # any command as an undoable turn, no agent needed
turnback recover src/app.ts # bring back one file an agent deleted turns ago
turnback blame src/auth.ts # which turn and prompt wrote each line
turnback ui # timeline in the browserWithout an agent
turnback run records any command as a turn, so a code generator, a codemod, or an agent without hooks gets the same undo. blame shows which turn wrote each line, and recover brings back a single file:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Turnback: common questions
- Is Turnback MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Turnback safety report
- How do I install Turnback?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Turnback need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Turnback maintained?
- The last commit was 34 days ago (2026-10-01). The latest release is v0.9.1.
- What can I use instead of Turnback?
- Servers from other publishers that do the same job: Serena MCP: the IDE for your agent MCP server, Figma Context MCP server and Basic Memory MCP server.
- How does Turnback compare with other AI and agents MCP servers?
- safety score 85/100 (higher than 73% of 4,460 AI and agents servers); github stars 1 (more than 50% of 2,711 AI and agents servers); downloads a week 150 (more than 71% of 1,538 AI and agents servers with a package). Full comparison.
Alternatives to Turnback
Same job from other publishers: the closest match first, then the best rated.
- Serena MCP: the IDE for your agentA powerful toolkit for coding, providing semantic retrieval and editing capabilities.not reviewedWidely usedC
- Figma ContextGive your coding agent access to your Figma data. Implement designs in any framework in one-shot.not reviewedWidely usedB
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- SuperCompressCompress coding-agent context ~64%. Hosted Neural Keep MCP for Cursor/Claude/Codex.not reviewedEstablishedB
- OrcareplayRead, replay and fork recorded coding-agent runs.not reviewedEstablishedA