Skip to content

[mcp] Improve custom MCP elicitation#15800

Merged
mzeng-openai merged 5 commits intomainfrom
dev/mzeng/mcp_dont_ask_again
Mar 26, 2026
Merged

[mcp] Improve custom MCP elicitation#15800
mzeng-openai merged 5 commits intomainfrom
dev/mzeng/mcp_dont_ask_again

Conversation

@mzeng-openai
Copy link
Copy Markdown
Collaborator

@mzeng-openai mzeng-openai commented Mar 25, 2026

  • Don't run arc in yolo mode.
  • Support don't ask again for custom MCP tool calls.
  • Run arc for custom MCP tools in always allow mode.
@mzeng-openai mzeng-openai marked this pull request as ready for review March 25, 2026 21:09

`turnId` is best-effort. When the elicitation is correlated with an active turn, the request includes that turn id; otherwise it is `null`.

For MCP tool approval elicitations, form request `meta` includes
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is existing behavior for apps/connectors, just adding documentation here.

@mzeng-openai
Copy link
Copy Markdown
Collaborator Author

@codex please review

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6c1d37af00

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Collaborator

@shijie-oai shijie-oai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - would like to get some eyes from the agent team. Concern is a) mcp tool approvals for mcps installed from skills and what happens after the user remove the plugin.

@mzeng-openai mzeng-openai enabled auto-merge (squash) March 26, 2026 00:04
@mzeng-openai mzeng-openai merged commit 78799c1 into main Mar 26, 2026
60 of 62 checks passed
@mzeng-openai mzeng-openai deleted the dev/mzeng/mcp_dont_ask_again branch March 26, 2026 01:02
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants