Skip to content

MCP Apps: let a user always allow ui/message from a trusted server #43283

Not planned

Description

@marcelmokos

What happens
An MCP App (a review card in the thread) sends ui/message after the user clicks a button in it, e.g. "Send answers" posts the user's review answers to the agent. T3 asks "Send this message from ?" every time. The click already was the user's decision, so the dialog asks a second time.

What would help (either one)

  1. An "Always allow for this server" checkbox in the confirm dialog, stored per MCP server (revocable in settings).
  2. Or skip the dialog when the message comes right after a user gesture inside the app iframe (as browsers do for popups).

Also useful
The thread's state (working / idle / awaiting input) in hostContext, so an app can use ui/update-model-context while the agent is working and only send ui/message when it is idle.

Workaround we use now
For "merge when checks pass" the app writes the action to its server's state, and the thread acts when watch_pull_request wakes it; auto-settle on merge closes the thread. Actions that need the agent right away (sending review answers) still go through the dialog.

Activity

  1. juliusmarminge commented on Nov 26, 2026

    @juliusmarminge
    Member

    Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions