[Feature]: Expose thread rename to agents via the t3-code MCP server (t3_thread_rename) #11564
Closed
Hugo-Persson
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Area
apps/server (t3-code MCP server), packages/contracts
Problem or use case
Thread titles are auto-generated from the first prompt, and users can rename a thread from the sidebar or chat header (right-click → Rename, double-click the title). None of that is reachable by the agent running inside the thread.
That matters for long-running threads whose purpose changes mid-way. A typical session starts as "Implement ENG-847", at this point the agent can rename. The agent knows exactly what the thread is about at every point, but the only way to keep the title accurate is for the user to stop and rename it by hand.
The rest of the thread surface is already moving towards agent access: the orchestrator work in #2829 adds
t3_thread_start,t3_thread_list,t3_thread_read,t3_thread_send,t3_thread_waitandt3_thread_interrupt. Renaming is the obvious gap in that set. Today the shipped MCP server only exposes thepreview_*tools.Proposed solution
Add a
t3_thread_renametool to the t3-code MCP server, alongside the planned thread tools.{ threadId?: string, title: string }. WhenthreadIdis omitted, rename the thread the calling agent is running in.t3_thread_*entries inpackages/client-runtime/src/work-log/presentation.ts.Optional follow-ups once the tool exists:
thread.renamekeybinding ([Feature]: Expose more actions as bindable keybinding commands #4641, feat(web): add an opt-in shortcut to rename the active thread #11430) and this tool would then share one code path.Related
t3_thread_*MCP toolsthread.renamecommandthread.renameshortcutAll reactions