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
MCP Apps: let a user always allow ui/message from a trusted server #43283
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)
An "Always allow for this server" checkbox in the confirm dialog, stored per MCP server (revocable in settings).
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.
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.
Activity
juliusmarminge commentedon Nov 26, 2026
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.