GT MCP is currently in beta and some workflows may not be fully supported.

Overview

GT MCP allows AI agents to automatically create stacked PRs, breaking down large AI-generated changes into smaller, reviewable stacked pull requests.
  • With large AI-generated diffs, stacking is more essential than ever. Just like reviewing large human PRs, reviewing massive AI-generated diffs can be overwhelming, and makes it hard to understand what changes your agent has made.
  • Stacking breaks AI output into clear, sequential chunks, so you can understand what’s changing and why—earlier, faster, and in order. It helps your agent reason through changes chronologically, validating each step as it goes.

Installation

GT MCP is built into the Graphite CLI. Update your CLI version to 1.6.7 to get access: Homebrew
brew update && brew upgrade withgraphite/tap/graphite
npm
npm install -g @withgraphite/graphite-cli@stable

Setup

Claude Code

Terminal
claude mcp add graphite gt mcp

Cursor IDE

Open Cursor Settings > Tools & Integrations > Add Custom MCP
{
  "mcpServers": {
    "graphite": {
      "command": "gt",
      "args": ["mcp"]
    }
  }
}