T

Turnpack

Fewer back-and-forth AI turns. A local MCP server that gathers context in one call and ships multi-file edits behind your tests, with automatic byte-exact rollback.

  • InstallableWe know how to install it, but have not yet seen it complete a handshake.
  • Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.
  • Coding Agents
  • 67stars
  • No ratings User RatingsBe the first to rate and review this MCP server!
  • UpdatedDec 1, 2026
  • Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time — check back soon.

Install Turnpack

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "turnpack": {
      "command": "npx",
      "args": [
        "-y",
        "turnpack"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetNo health check has run yet.

We have not completed a health check for this listing yet.

From the project README


Measured on one rename task in Claude Code 2.1.280 with Claude Sonnet 5, median of three runs each: model round trips 6 with built-in tools and 3 with Turnpack, time 23.4 seconds and 12.7, output tokens 2,044 and 873, cost $0.131 and $0.084.

Drawn from the recorded runs in bench/results. One small task, three runs per arm: what that does and does not show.

AI coding agents work in round trips: the model asks for something, waits, reads the result, and asks again. Each trip is a full model turn, a wait for the first token and then the tokens themselves. Today's apps already run independent reads side by side, so the trips that are left are the ones that depend on each other. A search has to come back before the agent knows which files to open. An edit has to land before the tests can run. And when the tests fail at the end, your repo is left half-edited while the agent spends more turns backing out.

Turnpack is a small local MCP server that gives the agent three tools to fold those trips together:

ToolOne call doesSo that
packA regex search with the code around each hit, several files (whole, by line range, or just one function), glob listings and git statusThe agent gets its context in one turn. Replies are size-capped, and .env and key files are redacted.
shipEdits across any number of files, then your test commandEither everything passes and stays, or every file is restored byte-for-byte and the agent gets the failing output. None of the four apps we checked does this on its own.
batchA short read-only script over the repo"Which of these 40 files export X?" costs one turn and a ten-line answer instead of 40 reads.

It runs entirely on your machine: no API keys, no account, no telemetry, no network calls, and zero runtime dependencies. It works with Claude Code and Claude Desktop, Codex CLI and the ChatGPT desktop app, OMP, Grok Build, Cursor, Gemini CLI, OpenCode and anything else that speaks MCP over stdio.

The rename task as it actually ran. With built-in tools, six round trips: search, read five files, edit five files, read package.json, run the tests, report. With Turnpack, three: one pack call, one ship call that makes nine edits in five files and runs the tests, report.

Both columns are the tool calls of those same recorded runs, not an illustration.

Try it in 10 seconds

Terminal
npx turnpack demo

This builds a throwaway repo in your temp folder, runs all three tools against it, and deletes it. Nothing in your own projects or AI app config is touched.

Output of npx turnpack demo and npx turnpack doctor

The recording is generated from the real output of those two commands (scripts/render-assets.py), so it cannot drift from what the tool does. doctor is run on a temporary home directory in which init has just set up five apps, which is why it lists them.

Want to run it straight from this repository instead of npm? npx github:OnlyTerp/turnpack demo

What it looks like

A rename that misses a call site is the classic way an agent breaks a build. Here is that mistake going through ship. The agent renames a function but forgets the file that imports it:

config.json
{
  "edits": [
    {
      "path": "src/tax.js",
      "search": "export function calculateTax(amount)",
      "replace": "export function computeTax(amount)"
    }
  ],
  "verify": "npm test"
}
server.ts
FAILED_AND_ROLLED_BACK: verify "npm test" failed (exit code 1).

Restored 1 file(s) to byte-exact pre-edit snapshots. The workspace is unchanged; fix the edit and ship again.

Changed by this call and tested together: src/tax.js (line 3).

The failing output does not mention any file this call changed. It names src/invoice.js:1, a file this call did not change: often a caller or a test the change has not reached yet.

$ npm test
> test
> node test/invoice.test.js

file:///home/you/shop/src/invoice.js:1
import { calculateTax } from "./tax.js";
         ^^^^^^^^^^^^
SyntaxError: The requested module './tax.js' does not provide an export named 'calculateTax'

The repo is exactly as it was, and the reply names the file the edit missed. It ships again with both files:

config.json
{
  "edits": [
    {
      "path": "src/tax.js",
      "search": "export function calculateTax(amount)",
      "replace": "export function computeTax(amount)"
    },
    {
      "path": "src/invoice.js",
      "search": "calculateTax",
      "replace": "computeTax",
      "replace_all": true
    }
  ],
  "verify": "npm test"
}
text
SHIPPED_AND_VERIFIED in 283ms: 2 file(s) changed: src/tax.js (line 3), src/invoice.js (lines 1, 4).

$ npm test  (passed)
> test
> node test/invoice.test.js

ok - invoice total includes tax

Two turns, and at no point was the working tree broken. Both replies are real output, with Node's internal stack frames cut from the first and the project path shortened.

And the pack call that came before it
config.json
{
  "query": "calculateTax",
  "files": ["src/tax.js", { "path": "src/invoice.js", "symbol": "invoiceTotal" }, ".env"],
  "git_status": true
}
server.ts
## GIT STATUS
## master

## SEARCH "calculateTax" (3 hits, engine=rg)
src/invoice.js:1: import { calculateTax } from "./tax.js";
src/invoice.js:4:   return Number((subtotal + calculateTax(subtotal)).toFixed(2));
src/tax.js:3: export function calculateTax(amount) {

## FILES (3)
### FILE: src/tax.js (L1-6/6)
1 | export const TAX_RATE = 0.08;
2 |
3 | export function calculateTax(amount) {
4 |   return Number((amount * TAX_RATE).toFixed(2));
5 | }
6 |

### SYMBOL: src/invoice.js :: function invoiceTotal (L3-5/6)
3 | export function invoiceTotal(subtotal) {
4 |   return Number((subtotal + calculateTax(subtotal)).toFixed(2));
5 | }

### FILE: .env
[REDACTED SECRET FILE: .env — pass allow_secrets: true if intentional]

Set it up

You need Node.js 22 or newer. Then:

Terminal
npx turnpack init
Terminal
npx turnpack doctor

init finds the AI apps you have installed, shows you exactly what it would change, and asks before writing. By default that is Claude Code, Claude Desktop, Codex (the CLI and the ChatGPT desktop app share one config), OMP and Grok Build.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Turnpack

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "turnpack": { "command": "npx", "args": ["-y","turnpack"] } }

Fewer back-and-forth AI turns. A local MCP server that gathers context in one call and ships multi-file edits behind your tests, with automatic byte-exact rollback.

We don't have confirmed pricing for turnpack. Listing it on AllMCPs is free, but that says nothing about what the server itself costs — check the project's own site for current pricing.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTurnpack AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/turnpack?style=directory)](https://allmcps.com/mcp/turnpack)
HTML Embed
<a href="https://allmcps.com/mcp/turnpack"><img src="https://allmcps.com/api/badge/turnpack?style=directory" alt="Turnpack on AllMCPs" /></a>