Add `mcp_servers.<id>.default_tools_approval_mode`

Resolved 💬 6 comments Opened Apr 2, 2026 by br3ndonland Closed Apr 26, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

CLI

What feature would you like to see?

There is a config setting apps.<id>.default_tools_approval_mode for the experimental ChatGPT Apps/connectors support that sets "Default approval behavior for tools in this app unless a per-tool override exists."

MCP servers have no equivalent mode. It would be helpful to have a default approval mode for MCP servers, especially for read-heavy servers like Context7 or the OpenAI Developer docs MCP.

The goal would be to change this:

[mcp_servers.openai_developer_docs]
url = "https://developers.openai.com/mcp"

[mcp_servers.openai_developer_docs.tools.fetch_openai_doc]
approval_mode = "approve"

[mcp_servers.openai_developer_docs.tools.list_openai_docs]
approval_mode = "approve"

[mcp_servers.openai_developer_docs.tools.search_openai_docs]
approval_mode = "approve"

Into this:

[mcp_servers.openai_developer_docs]
url = "https://developers.openai.com/mcp"
default_tools_approval_mode = "approve"

Additional information

_No response_

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 3 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #15437

Powered by Codex Action

br3ndonland · 3 months ago
Potential duplicates detected. Please review them and close your issue if it is a duplicate. * Raw mcp_servers write tools cannot be configured to auto-approve in Codex desktop (Playwright + Linear) #15437 _Powered by Codex Action_

Not a duplicate.

richardgetz · 3 months ago

Is there any timeline or thread on the MCP approval flow we can follow? This is a productivity killer and yet all of the issues I have seen flagged are mostly ignored.

jstiers · 3 months ago

I have the same issue. This way MCP is unusable with codex

br3ndonland · 3 months ago

It looks like Codex 0.122 will support this (https://github.com/openai/codex/pull/17843).

br3ndonland · 2 months ago