You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: MCP app model context never reaches Claude threads #38284
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
In a Claude thread, open an MCP app that calls ui/update-model-context (e.g. after a button press in the app).
Send the next message.
Ask Claude what the app reported.
Expected behavior
Claude gets the app's latest note with the next message, as the docs say: "T3 Code sends the latest note from each app with your next message" (html-renders.md#L19). Codex threads get it.
Actual behavior
Claude never sees the note. T3 accepts it, and RunExecutionService passes it as appContext on every turn (RunExecutionService.ts#L2203-L2238). CodexAdapterV2 turns appContext into model context (CodexAdapterV2.ts#L843-L862), but ClaudeAdapterV2 never reads it, so the note is dropped there.
Is this intentional for Claude, or just not wired up yet? If there's a better way for an app to tell Claude what happened, I'd use that instead.
I'm building an MCP app for Jira drafts: when someone presses Create on the card, Claude should know the issue exists, e.g. to put the key in the commit. For now the app's own MCP server prepends what happened to its next tool result, so Claude only finds out once it calls one of those tools.
Activity