Skip to content

Add experimental branch MCP tools - #271

Draft
nathanjcochran wants to merge 2 commits into
nathan/branches-2-existing-commandsfrom
nathan/branches-3-branch-tools
Draft

nathanjcochran wants to merge 2 commits into
nathan/branches-2-existing-commandsfrom
nathan/branches-3-branch-tools

Conversation

@nathanjcochran

@nathanjcochran nathanjcochran commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Adds MCP tools mirroring the tiger branch commands, registered only behind TIGER_EXPERIMENTAL: branch_create, branch_list, branch_get, branch_delete, branch_start, branch_stop, branch_resize, branch_rename, and branch_update_password.

  • The tools take IDs only. The resolve endpoint also matches names, so a match by name is refused.
  • branch_create and branch_resize take an iops parameter. The branch tools return IOPS in resources, as the service tools do, and branch_get also returns the parent's service_name.
  • The write tools are subject to read-only mode like the service tools, with a branch counting as DEV.

Follow-up: in the MCP test harness, an unexpected mock call inside a tool handler makes the test hang until the go test timeout instead of failing. gomock's Fatalf ends the handler goroutine without a response.

Behind the experimental gate, the branch_create, branch_list, branch_get,
branch_delete, branch_start, branch_stop, branch_resize, branch_rename, and
branch_update_password tools mirror the tiger branch commands. Like the
other tools, they take IDs only.
@nathanjcochran
nathanjcochran added this pull request to stack #273 October 21, 2026 22:07
@nathanjcochran nathanjcochran changed the title Add branch MCP tools Add experimental branch MCP tools Oct 21, 2026
@nathanjcochran nathanjcochran self-assigned this Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant