Skip to content

[Bug]: MCP app model context never reaches Claude threads #38284

Closed

Description

@AntonPieper

Before submitting

  • 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

  1. In a Claude thread, open an MCP app that calls ui/update-model-context (e.g. after a button press in the app).
  2. Send the next message.
  3. 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.

Impact

Minor bug or occasional failure

Version or commit

main 56e449f (checked in the source)

Environment

macOS, T3 Code desktop, Claude provider

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

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

  1. added
    bug
    needs-triage
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions