Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TURNPACK_LOGNoLog which Turnpack tools your agent calls.
TURNPACK_ROOTNoPin the workspace root to a specific project folder. If unset, Turnpack uses the folders your app reports over MCP roots, then CLAUDE_PROJECT_DIR when the client is Claude, then the directory the server started in.
TURNPACK_ALLOW_EXECNoSet to 1 to enable ctx.exec in batch scripts, turning off the read-only promise.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Turnpack folds multi-step file work into single calls.

  • Need 2+ files, or a search plus the code around what it finds? Call pack once (query + context + files + globs + git_status together) instead of separate read/search calls.

  • Changing 2+ files, or making any change that must pass a test or typecheck? Call ship once with every edit (search/replace edits, or one patch in apply_patch or unified-diff format) and a verify command. If verify fails, all files are restored automatically and you get the failing output: fix the edit and ship again.

  • Need a fact about many files (counts, outlines, which files match)? Call batch with a short script and return only the summary. For one small edit to a file you already have open, your normal edit tool is fine. This project's check: pnpm test (from package.json). Use it as ship's verify.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
packA

Read and search the project in ONE call instead of several: a regex search (with the lines around each hit if you ask), any number of files (whole, a line range, or one function), glob listings and git status together. Use it whenever you need 2+ files, or a search plus what it finds. Output is size-capped; .env files and keys are redacted.

shipA

Edit files and run the tests in ONE call. Applies search/replace edits or a patch, new files, moves and deletes across any number of files, then runs your verify command(s). If verify fails, every file is restored byte-for-byte and you get the failing output. If an edit cannot be applied, nothing is written and the reply shows the nearest text. Prefer it over separate edit calls (or apply_patch) plus a test run whenever a change spans files or must pass a check.

batchA

Run a short read-only JS script over the repo to answer a question that would otherwise take many reads (count usages, outline every file, filter files by content). The script gets ctx.files(glob), ctx.read(path, start, end), ctx.outline(path), await ctx.grep(pattern), await ctx.gitStatus(). Return a compact summary, not raw file contents. It cannot write files or run commands.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 3 tools

Disambiguation4/5

ship is clearly the write/test tool, while pack and batch are both read-only repo inspection tools. Their descriptions differentiate declarative search/read aggregation from programmable JS scripting, but an agent could still hesitate between batch and pack for queries like counting usages or filtering files.

Naming Consistency3/5

All names are short lowercase single words, but they mix a verb (ship) with collective nouns (batch, pack) without a predictable verb_noun pattern. They are readable and memorable, but not systematically consistent.

Tool Count4/5

Three tools is at the low end but each is broad and earns its place: edit/test, scripted read-only analysis, and aggregated read/search. The set is intentionally compact rather than thin.

Completeness4/5

Core code-editing lifecycle is covered: multi-file edits, creates, moves, deletes, test verification, rollback, plus rich read/search and git status. Minor gaps include no arbitrary command execution beyond verify and no git commit/diff operations, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues