Skip to content

feat(mcp): thread groups, drain status, and cross-project thread list for agents - #230

Merged
pandec merged 4 commits into
devfrom
fork/mcp-thread-tools
Oct 7, 2026
Merged

pandec merged 4 commits into
devfrom
fork/mcp-thread-tools

Conversation

@pandec

@pandec pandec commented Oct 7, 2026

Copy link
Copy Markdown
Owner

The fork CLI is being removed in favor of in-app MCP tools. Three things it offered had no tool equivalent: thread groups (a fork feature), checking whether a thread is fully quiet before a session handover, and finding threads bound to a worktree across all projects (the worktree-cleanup claim check).

  • New fork tool t3_thread_groups: list (sidebar order, Active included, unarchived counts), create (exact-name match returns the existing group), move_thread (into a group or back to Active; standard cross-thread access rules). Uses the same settings revision and ordering semantics as the web client.
  • New fork tool t3_thread_drain_status (read-only): active run, queued runs, and background work via getBackgroundWorkDrain, with a single quiet flag.
  • t3_thread_list gains allProjects and an exact worktreePath filter, and rows include projectId and worktreePath. Additive; defaults unchanged.

Part of the CLI-to-MCP move with #228 and #229.

Claude Opus 5.5 via Claude Code (T3 Code)

@pandec
pandec marked this pull request as ready for review October 7, 2026 05:43
@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 01b835df-3af7-481f-a8ac-c197286d8e71
📥 Commits

Reviewing files that changed from the base of the PR and between 2bcaab6 and 6a060b0.

📒 Files selected for processing (16)
  • README.md
  • apps/server/src/mcp/McpHttpServer.ts
  • apps/server/src/mcp/OrchestratorMcpService.threadList.test.ts
  • apps/server/src/mcp/OrchestratorMcpService.ts
  • apps/server/src/mcp/ThreadGroupsMcpService.ts
  • apps/server/src/mcp/toolkits/orchestrator/tools.ts
  • apps/server/src/mcp/toolkits/threadDrain/handlers.test.ts
  • apps/server/src/mcp/toolkits/threadDrain/handlers.ts
  • apps/server/src/mcp/toolkits/threadDrain/tools.ts
  • apps/server/src/mcp/toolkits/threadGroups/handlers.test.ts
  • apps/server/src/mcp/toolkits/threadGroups/handlers.ts
  • apps/server/src/mcp/toolkits/threadGroups/registration.test.ts
  • apps/server/src/mcp/toolkits/threadGroups/tools.ts
  • apps/server/src/orchestration-v2/ThreadManagementService.ts
  • docs/orchestration-v2/orchestrator-mcp-server.md
  • packages/contracts/src/orchestratorMcp.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pandec
pandec merged commit 84c09c6 into dev Oct 7, 2026
@pandec
pandec deleted the fork/mcp-thread-tools branch October 7, 2026 06:42
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