Skip to content

"danger-full-access" keeps asking for MCP permissions #16394

Closed

Description

@grzegorznowak

What version of Codex CLI is running?

0.117.0, 0.118.0

What subscription do you have?

pro

Which model were you using?

gpt-5.4

What platform is your computer?

debian devcontainer on ubuntu

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

Agent keeps asking me for confirmation to run mcp tools, despite it running in the danger mode.

What steps can reproduce the bug?

have this as part of your config.toml

sandbox_mode = "danger-full-access"

# any other mcp would probably do, I'm just using mine as an example
[mcp_servers.chunk-hound]
command = "chunkhound"
# Optional
args = ["mcp", "/workspaces/"]
tool_timeout_sec = 12000
startup_timeout_sec = 30

What is the expected behavior?

Execution should be "no questions asked". As it was up to and including version 0.116.0

Additional information

No response

Activity

  1. added
    CLIIssues related to the Codex CLI
    mcpIssues related to the use of model context protocol (MCP) servers
    sandboxIssues related to permissions or sandboxing
    on Apr 1, 2026
  2. grzegorznowak commented on Apr 1, 2026

    @grzegorznowak
    Author

    yup those are valid duplicates afaict. Closing mine to not flood the stream

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

    bugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverssandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions