How to wire Grok Bot to T3 Code over MCP and lock down thread permissions
Based on a post by 0xRafy (@0xRafy) on X · Nov 24, 2026
You'll end with: A dedicated Grok Bot that opens T3 Code threads for Claude Code, Codex, and Grok Build on your machine when an issue or alert comes in.
Why it's worth having: Event triggers wake the Bot only when work arrives, and the coding runs on the Claude, Codex, and Grok subscriptions you already pay for.
At a glance
The method, in short
- 1Create a separate manager Bot for coding work and wake it with event triggers, such as a labeled issue or a failing build.
- 2Turn on each provider in T3 Code under Settings, Providers, and switch on Grok Build, which is off by default.
- 3Send the Bot the T3 Code MCP message with the T3 Connect address, since the Bot runs in the cloud and cannot reach localhost.
- 4Set new threads to Supervised instead of Full access, give each thread its own worktree, and keep the MCP permission low.
Read the full guide from @0xRafy on X
The X article covers all 11 steps, from the manager prompt to model routing and second opinions.