You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex Desktop macOS: Computer Use approval denied via MCP elicitation for every app even after reinstall, reboot, and granting Screen Recording + Accessibility #18896
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.
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.
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
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:
macOS TCC state for Codex and Codex Computer Use
whether computer-use/list_apps works at all
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
"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.
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.
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.
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.
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.
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
Ask @Computer to play a random song using the native Music app.
The native request returns "Computer Use was not approved to use Music". No approval pop-up appears.
Try native Safari and System Settings: each returns the same denial naming that app.
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.
Activity
github-actions commentedon Apr 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
m13v commentedon Apr 22, 2026
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.
james-beep-boop commentedon Apr 22, 2026
Additional diagnostic update:
I reset TCC for
com.openai.sky.CUAService, re-granted permissions, and confirmed bothCodexandCodex Computer Useare enabled in:AccessibilityScreen & System Audio RecordingI then monitored macOS
tccdlive while triggering Computer Use requests forFinderandGoogle Chrome.Important result:
There was no Codex-related
tccdactivity at the moment of failure when filtering for:openaicodexskycuacom.openai.sky.CUAServicecom.openai.codexThis 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.
mrseth commentedon Apr 22, 2026
Hopefully this will be fixed soon!
DanielJD1216 commentedon Apr 23, 2026
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
IgorGanapolsky commentedon May 5, 2026
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:
CodexandCodex Computer Usecomputer-use/list_appsworks at allIf
list_appsworks butget_app_statefails immediately withComputer 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:
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/
IgorGanapolsky commentedon May 14, 2026
"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.
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.OhHeyAlan commentedon Jun 13, 2026
this issue is so annoying
elophanto commentedon Jun 20, 2026
The useful debugging split here is: OS permission, tool availability, and app-level approval are three separate gates.
If
list_appsworks, the MCP/plugin path is alive. If Finder/Chrome fail immediately with “approval denied via MCP elicitation” and there is no matchingtccdactivity, 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:
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
tccdevent is exactly the kind of signal I’d expect from an app-level approval-state bug rather than a raw macOS permission failure.bgdnr commentedon Jul 29, 2026
Still reproducible on the latest ChatGPT desktop build,
26.721.81911, on macOS26.5.2.Observed behavior:
Computer Use was not approved to use Calculator.TCC evidence captured during the Calculator reproduction:
com.openai.codex,com.openai.sky.CUAService.cli, andcom.openai.sky.CUAServicereached TCC.result: true/access request result was 1.Additional desktop-state evidence:
electron-openai-mcp-form-elicitations-enabledis stored asfalse.isOpenAIMcpFormElicitationsEnabled.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.
feat: distribute Macuse as an agent plugin for Claude Code and Codex (#2
chore(release): 1.3.0 [skip ci]
Svyatos-cmd commentedon Sep 30, 2026
Follow-up from another macOS desktop reproduction (2026-09-30):
com.adobe.PremierePro.26) and After Effects (com.adobe.AfterEffects.application).getApp()for Premiere fails before the approval flow with:Computer Use server error -10005: The screen capture size is invalid: (0.0, 0.0).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.
cjyc6s5c5v-sys commentedon Oct 5, 2026
Additional reproduction in ChatGPT desktop Work Mode with
@Computeron October 5, 2026.Environment and displayed settings
Steps and actual behavior
@Computerto play a random song using the native Music app.The calls that failed were
cua.getApp("com.apple.Music"),cua.getApp("com.apple.Safari"), andcua.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.