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_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Not a duplicate.
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.
I have the same issue. This way MCP is unusable with codex
It looks like Codex 0.122 will support this (https://github.com/openai/codex/pull/17843).
Completed in https://github.com/openai/codex/pull/17843 and 0.122.0.