Use cases

Agents provision worktrees, not just query them

The MCP server exposes the full GTL toolset: create worktrees, allocate resources, wire up cross-repo dependencies, and control the dev server. AI agents work with real allocations instead of guessing ports and parsing stdout.

MCP: first-class automation interface

gtl mcp starts the Model Context Protocol server. Agents in Cursor, Claude Code, Windsurf, and other MCP-compatible editors call tools directly instead of parsing shell output.

JSON flags for shell-only agents

Agent context file

gtl install writes an AGENTS.md file with instructions for setup, teardown, and server management. Any MCP-compatible editor reads it as context. Cross-repo service URLs follow the same gtl resolve contract as humans.

Read next

All use cases