Skip to content

Codex Desktop macOS: Computer Use approval denied via MCP elicitation for every app even after reinstall, reboot, and granting Screen Recording + Accessibility #18896

Open

Description

@james-beep-boop

What version of the Codex App are you using (From “About Codex” dialog)?

Codex Desktop app 26.417.41555

What subscription do you have?

Pro

What platform is your computer?

macOS on Apple Silicon

What issue are you seeing?

Computer Use cannot control any app.

list_apps works and returns installed/running apps, but every actual app-control request fails with:

Computer Use approval denied via MCP elicitation for app '...'

This happens for:

  • Google Chrome
  • Safari
  • Finder

Codex itself returns a different expected message (not allowed ... for safety reasons), so that appears unrelated.

What steps can reproduce the bug?

  1. Open Codex Desktop on macOS.
  2. Ensure the Computer Use plugin is enabled.
  3. Attempt a Computer Use action such as get_app_state for Finder or Google Chrome.
  4. The request fails immediately with:
    • Computer Use approval denied via MCP elicitation for app 'com.apple.finder'
    • or
    • Computer Use approval denied via MCP elicitation for app 'com.google.Chrome'

What is the expected behavior?

Codex Desktop should surface and complete the per-app approval flow, then allow Computer Use to capture app state and control the approved app.

Additional information

The backend creates the approval request, but the approval never completes successfully in the desktop app.

Additional information

I verified the following:

  • list_apps works, so the plugin/MCP server is running.
  • The problem is not Chrome-specific:
    • Finder fails the same way.
    • Safari fails the same way.
  • I fully quit Codex, reinstalled Codex Desktop, rebooted the Mac, and retried.
  • I manually added and enabled both of these in macOS privacy settings:
    • Codex
    • Codex Computer Use
  • They are enabled in:
    • Privacy & Security > Accessibility
    • Privacy & Security > Screen & System Audio Recording

I also inspected local behavior and found:

  • The backend still emits the approval request, for example:
    • Allow Codex to use Google Chrome?
  • Earlier logs on this same Mac showed successful approval handling in older sessions:
    • mcpServer/elicitation/request response={"action":"accept","content":{},"_meta":null}
  • In current failing sessions, the desktop notifications service starts, but there is no successful approval completion path for the request.

This makes it look like a Codex Desktop approval / elicitation bug rather than a macOS permission issue or a browser-specific issue.

Relevant symptoms

  • Computer Use helper present: com.openai.sky.CUAService
  • Accessibility granted
  • Screen Recording granted
  • Approval request still fails at the Codex Desktop elicitation layer

Notes

This is reproducible after:

  • reinstall
  • reboot
  • fresh thread
  • testing multiple apps
  • confirming both required macOS permissions are enabled

Activity

  1. added
    app
    on Apr 21, 2026
  2. added
    bug
    mcp
    on Apr 21, 2026
  3. github-actions commented on Apr 21, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. m13v commented on Apr 22, 2026

    @m13v

    I ran into this exact pattern shipping a macOS agent on AXUIElement and ScreenCaptureKit. elicitation denials after reinstall almost always trace to a TCC mismatch on the helper binary, not the parent app. the CUAService gets its own tcc row keyed on code signature, and reinstall can leave a stale entry that silently fails even when the UI shows it as granted. worth trying tccutil reset All com.openai.sky.CUAService then relaunch and re-grant. also open Console.app filtering on tccd while you trigger the action, the real denial reason shows up there even when the elicitation layer just says approval denied. the per-app approval gate sits on top of TCC so both have to line up.

  5. james-beep-boop commented on Apr 22, 2026

    @james-beep-boop
    Author

    Additional diagnostic update:

    I reset TCC for com.openai.sky.CUAService, re-granted permissions, and confirmed both Codex and Codex Computer Use are enabled in:

    • Accessibility
    • Screen & System Audio Recording

    I then monitored macOS tccd live while triggering Computer Use requests for Finder and Google Chrome.

    Important result:
    There was no Codex-related tccd activity at the moment of failure when filtering for:

    • openai
    • codex
    • sky
    • cua
    • com.openai.sky.CUAService
    • com.openai.codex

    This means the request is not reaching the actual macOS TCC permission-enforcement stage.

    The user-facing error still occurs immediately:

    • Computer Use approval denied via MCP elicitation for app 'com.apple.finder'
    • Computer Use approval denied via MCP elicitation for app 'com.google.Chrome'

    Conclusion:
    The failure appears to happen entirely inside Codex Desktop’s own MCP elicitation / approval flow before a real macOS protected-access request is made.

  6. mrseth commented on Apr 22, 2026

    @mrseth

    Hopefully this will be fixed soon!

  7. DanielJD1216 commented on Apr 23, 2026

    @DanielJD1216

    Problem: your thread is likely affected by a Codex Desktop Computer Use approval bug..
    Solution: start a new thread and ask it to us chrome using Computer Use.

    But know this that computer use is extremely slower than browser automation

  8. IgorGanapolsky commented on May 5, 2026

    @IgorGanapolsky

    I hit this same class of failure while setting up a Mac agent workstation, and the useful distinction was separating three layers that all look like "permission denied" from the outside:

    1. macOS TCC state for Codex and Codex Computer Use
    2. whether computer-use/list_apps works at all
    3. whether Codex Desktop's MCP elicitation/approval path completes for a specific app

    If list_apps works but get_app_state fails immediately with Computer Use approval denied via MCP elicitation, that points more at the Codex approval/elicitation layer than basic Screen Recording or Accessibility.

    The smoke test I now use is:

    peekaboo permissions
    codex mcp list
    # then ask the agent to use Computer Use to list running apps
    # only after that, test one approved app such as Finder or Chrome

    I wrote up the practical checklist I used here:
    https://igorganapolsky.github.io/openclaw-mac-ai-workstation-setup/troubleshooting.html

    I also packaged the full Mac setup as a paid done-for-you service, but the checklist itself should help people narrow whether they are dealing with TCC, plugin availability, or the Desktop elicitation bug:
    https://igorganapolsky.github.io/openclaw-mac-ai-workstation-setup/

  9. IgorGanapolsky commented on May 14, 2026

    @IgorGanapolsky

    "Approval denied every app even after reinstall, reboot, grant" is the cleanest TCC bundle-ID mismatch signature. macOS records permission against the bundle identifier that was running when you granted it, and if you ran Codex from an unsigned DMG copy or a previous build with a different signature, TCC has approval for that bundle — but the running process has a different bundle ID, so the MCP elicitation gets denied no matter how many times you re-grant.

    ps -axo pid,comm | grep -i codex
    codesign -dv --verbose=2 /Applications/Codex.app 2>&1 | grep -E "Identifier|TeamIdentifier"
    # Compare to what TCC has approved (will prompt for Full Disk Access):
    sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db \
      "SELECT client, auth_value FROM access WHERE service IN ('kTCCServiceScreenCapture','kTCCServiceAccessibility');"
    

    If the running bundle ID differs from the TCC-approved one, the fix is to fully remove the old/unsigned copies and re-grant against the canonical signed bundle.

    Full walkthrough of this and 5 other root causes for "Computer Use unavailable / approval denied": https://igorganapolsky.github.io/openclaw-mac-ai-workstation-setup/troubleshooting.html

    Free script in the repo (scripts/self-diagnose.mjs) bundles the codesign vs TCC comparison with secret redaction. $19 quick read on that page reviews the bundle and confirms the cause.

  10. OhHeyAlan commented on Jun 13, 2026

    @OhHeyAlan

    this issue is so annoying

  11. elophanto commented on Jun 20, 2026

    @elophanto

    The useful debugging split here is: OS permission, tool availability, and app-level approval are three separate gates.

    If list_apps works, the MCP/plugin path is alive. If Finder/Chrome fail immediately with “approval denied via MCP elicitation” and there is no matching tccd activity, that’s a strong signal the request is dying before macOS TCC is even asked.

    For agent computer-use systems, I’d make that boundary explicit in the approval model:

    • can enumerate apps / windows
    • can inspect app state
    • can propose an action
    • can execute low-risk navigation
    • can type / upload / submit externally

    Each gate should log where it failed: MCP server, desktop elicitation, OS permission, or target app. Otherwise all of these collapse into the same user-facing “permission denied,” and users end up resetting the wrong layer.

    Not claiming this is the root cause here, but the repro detail about no tccd event is exactly the kind of signal I’d expect from an app-level approval-state bug rather than a raw macOS permission failure.

  12. bgdnr commented on Jul 29, 2026

    @bgdnr

    Still reproducible on the latest ChatGPT desktop build, 26.721.81911, on macOS 26.5.2.

    Observed behavior:

    • Computer Use fails for every tested application, including Calculator, Finder, and Google Chat.
    • The expected per-app approval prompt never appears.
    • The tool immediately returns: Computer Use was not approved to use Calculator.
    • The problem persists after fully quitting/restarting ChatGPT and testing from fresh tasks.
    • Both ChatGPT and Codex Computer Use have Accessibility and Screen & System Audio Recording permission.

    TCC evidence captured during the Calculator reproduction:

    • com.openai.codex, com.openai.sky.CUAService.cli, and com.openai.sky.CUAService reached TCC.
    • The AppleEvents request returned result: true / access request result was 1.
    • No macOS or MDM denial was recorded.

    Additional desktop-state evidence:

    • electron-openai-mcp-form-elicitations-enabled is stored as false.
    • The installed desktop code passes this value into isOpenAIMcpFormElicitationsEnabled.
    • Computer Use’s per-app policy calls an MCP elicitation to display the approval prompt and throws the approval error when the response is not accepted.

    This suggests the current failure is in the desktop MCP form-elicitation/approval feature state rather than macOS Accessibility, Screen Recording, AppleEvents, or MDM policy.

  13. added a commit that references this issue on Aug 3, 2026
  14. Svyatos-cmd commented on Sep 30, 2026

    @Svyatos-cmd

    Follow-up from another macOS desktop reproduction (2026-09-30):

    • ChatGPT/Codex Computer Use is enabled in the desktop settings.
    • macOS Privacy & Security shows both ChatGPT and Codex Computer Use enabled for Screen & System Audio Recording and Accessibility.
    • The app inventory succeeds and lists Adobe Premiere (com.adobe.PremierePro.26) and After Effects (com.adobe.AfterEffects.application).
    • No per-app approval prompt is shown to the user. Calling getApp() for Premiere fails before the approval flow with: Computer Use server error -10005: The screen capture size is invalid: (0.0, 0.0).
    • Fully quitting and reopening the desktop app did not resolve it.

    This appears to be another failure in the desktop Computer Use approval/capture path rather than missing macOS permissions or an Adobe-specific problem. Expected behavior: surface the per-app approval request (including an option to save an Always allow approval) and then return app state for Premiere and After Effects.

    I could not capture the ChatGPT desktop/macOS build numbers through the failing Computer Use channel; no local paths or user data are attached.

  15. cjyc6s5c5v-sys commented on Oct 5, 2026

    @cjyc6s5c5v-sys

    Additional reproduction in ChatGPT desktop Work Mode with @Computer on October 5, 2026.

    Environment and displayed settings

    • macOS version reported by the user: 27 Golden Gate 27.0.1.
    • ChatGPT Settings > Computer use > Any App: ON.
    • Always-allowed apps: None yet.
    • macOS Privacy & Security > Screen & System Audio Recording: ChatGPT and Codex Computer Use both ON.
    • macOS Privacy & Security > Device Control and Data Access: ChatGPT and Codex Computer Use both ON.
    • The exact desktop app build, subscription, and workspace type were not collected.

    Steps and actual behavior

    1. Ask @Computer to play a random song using the native Music app.
    2. The native request returns "Computer Use was not approved to use Music". No approval pop-up appears.
    3. Try native Safari and System Settings: each returns the same denial naming that app.
    4. Verify the displayed permissions above and retry Music: the same denial persists without a prompt.

    The calls that failed were cua.getApp("com.apple.Music"), cua.getApp("com.apple.Safari"), and cua.getApp("com.apple.systempreferences"). App inventory succeeds. The built-in browser also works, including YouTube playback, so the observed failure is specific to the native app-access path.

    Expected behavior
    Surface the required per-app approval prompt and allow access after approval, or explain which permission or policy prevents access.

    In-product feedback was submitted successfully. No root cause has been confirmed. Restarting, reinstalling, and testing a fresh thread have not been verified for this reproduction.

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

    appbugcomputer-usemcp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions