Git Worktree MCP

Clean worktrees for coding agents. Local, small, and safe to inspect.

Installation

Install the Groveyard MCP package in the repository where agents should work.

npm install @groveyard/mcp

Usage

Ask your agent to use Groveyard. The server returns the workflow context it needs to stay safe.

You:
"Create a Groveyard session for the auth refactor."

Groveyard gives the agent:
sessionId     which session to use
worktreePath  where edits are allowed
nextSteps     read, edit, test, diff, report
guardrails    scoped files + approved commands
checklist     status, diff, commit or cleanup