Skip to content

Use cases

Agents provision worktrees, not just query them

MCP tools let agents 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. Agents that support AGENTS.md can use it as project context. Cross-repo service URLs follow the same gtl resolve contract as humans.

Read next

All use cases