Stacking (Graphite CLI)
GT MCP
Use the Graphite CLI with AI agents through Model Context Protocol
GT MCP is currently in beta. For the latest features, use the beta CLI.
GT MCP allows AI agents to run Graphite CLI commands, automatically breaking down large AI-generated changes into smaller, reviewable stacked pull requests.
Installation
GT MCP is built into the Graphite CLI. Install the beta CLI:
Terminal
Setup
Claude Code
Terminal
Cursor IDE
Add an MCP integration in Cursor settings: