Repository navigation
Open
Labels
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Description
What: MCP profiles let the owner choose which outside MCP servers and which T3 tool groups a thread gets (for example, a code reviewer does not need the browser or game tools). Fewer tools means fewer processes, less usage and less risk.
Why the owner wants it: sub-agents start with every tool today, which costs usage and memory and gives them reach they do not need.
Already built:
- PR 1 settings and resolver: MCP profiles 1: settings and the profile resolver (nothing calls it yet) #227
- PR 2 Claude threads apply their profile's outside servers: feat(server): Claude threads apply their MCP profile's outside servers #528
- Carrying a profile to a linked machine, refusals, scheduled tasks and fork checks: fork seams: announce the lines that carry a parent's MCP profile to another machine (#532) #610 MCP profile carry: per-machine refuse, Claude-only docs, no-store rule (#640) #648 MCP profile carry: Claude-only docs, no empty name, fail closed, required key (#653) #658 Refuse a narrower MCP profile to a non-Claude instance; one settings fallback #669 Refuse a narrowed MCP profile at turn start on a provider that cannot apply it #679 MCP profiles: a broken settings.json or a launch never widens a thread to all (#681) #694 MCP profile: schedule_task and fork refuse a thread wider than the caller's (#693) #700 Scheduled tasks: check the saving thread's MCP profile in the service, and at run (#699) #716 MCP profiles: close the #700 and #716 follow-ups (#704, #719) #725
Left (checklist):
- PR 3 Settings section and the per-thread pick: MCP profiles: Settings section and thread pick logic (design PR 3) #804 (merged) (seam announce fork seams: announce the thread menu's MCP profile lines (MCP profile design PR 3, step 1); also restores the HO5 announcement lost in #777 #807, merged)
- PR 4 T3 tool groups on T3's own MCP server, for every provider: MCP profiles: T3 tool groups on T3's MCP server, for every provider #827 (merged) (follow-ups MCP profiles PR 4 (T3 tool groups): follow-ups from the #806 lenses #812, open)
- PR 5 Codex threads apply their profile's outside servers: MCP profiles part 5: Codex threads apply their profile's outside servers #826 (merged) (follow-ups MCP profiles part 5 (Codex): follow-ups from the lens reviews #814, open)
- PR 6 (optional) an orchestrator may give a sub-agent fewer tools on its own, never more: waits on owner question Owner question: may an orchestrator give a sub-agent fewer tools on its own (never more)? #102
Done when: the owner can pick a profile per project and per thread in Settings, Claude and Codex threads both get only the profile's tools, and a sub-agent can never get a wider profile than its parent.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Activity
scuttletoby commentedon Nov 28, 2026
Working on PR 6 (an orchestrator gives a sub-agent a narrower MCP profile, never wider; owner decision in #102), step 1: announce its seam lines.
🤖 Generated with Claude Code
fork seams: announce the MCP profile narrowing lines (#875 PR 6, step…
scuttletoby commentedon Nov 28, 2026
Working on PR 6 step 2: delegate_task takes an optional narrower
mcpProfile(checked within the caller's, recorded before the dispatch, read by the resolver for the whole lineage, carried to another machine as the resolved set). One fork PR, using the lines announced in #1182.🤖 Generated with Claude Code
delegate_task: the sub-agent's pick is narrowMcpProfile, a narrowing-…
MCP profiles PR 6: delegate_task gives a sub-agent a narrower profile
delegate_task: the sub-agent's pick is narrowMcpProfile, a narrowing-…
MCP profiles PR 6: one pick per child id, no leftovers; fork bytes in…
fork seams: announce the fork budget lines in AgentContextBudget.test…
MCP profiles PR 6: a pick is never dropped on a read that fails
MCP profiles PR 6: delegate_task gives a sub-agent a narrower profile (…
fork seams: announce the MCP profile narrowing lines (#875 PR 6, step…
fork seams: announce the fork budget lines in AgentContextBudget.test…
MCP profiles PR 6: delegate_task gives a sub-agent a narrower profile (…
scuttletoby commentedon Nov 29, 2026
Working on the follow-up left by PR 6 (#1215): the thread menu shows the profile the server applies, including a starter's narrower pick and the assistant's marks, read through one fork RPC
fork.mcpProfileFacts. Step 1: announce its seam lines (rpc.ts, ws.ts, RpcAuthorization.ts, RpcInstrumentation.ts).🤖 Generated with Claude Code
fork seams: announce the MCP profile facts RPC lines (#875) (#1285)
MCP profiles: the thread menu shows the profile the server applies (#875
scuttletoby commentedon Nov 29, 2026
Decision on the overlap flagged in #1294: upstream's per-thread toolOverrides (server side, no UI yet) and the fork's MCP profiles would both decide a thread's servers. When toolOverrides reaches the fork, the fork's profile becomes a thin layer on top of it: a profile pick writes toolOverrides, and the fork keeps only what upstream lacks (the menu entry, inheritance from the starter, unknown or cannot-apply never widening). Until then, nothing changes. The follow-up is tracked here.
🤖 Generated with Claude Code
fork seams: announce the sidebar thread menu's MCP profile lines (#875)…
MCP profiles: the thread menu's picks say what they give, and a late …
MCP profiles: the sidebar's thread menu shows and sets a thread's pro…
fork seams: withdraw two announcements nothing spends (#1318)