codex - 💡(How to fix) Fix Windows: node_repl MCP fails with “Access is denied” when launched by Codex Desktop [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#21066Fetched 2026-05-05 05:53:58
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1subscribed ×1unsubscribed ×1

Error Message

failed to execute Node: Přístup byl odepřen. (os error 5)

  • The same wrapper configured as [mcp_servers.node_repl_direct] in config.toml loads in Codex, but tool call still fails with os error 5.

Root Cause

Browser Use fails before opening a tab because node_repl cannot start Node: failed to execute Node: Přístup byl odepřen. (os error 5)

RAW_BUFFERClick to expand / collapse

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

26.429.3425.0, CLI 0.128.0-alpha.1.

What subscription do you have?

Plus

What platform is your computer?

Win 11 25H2, build 26200.8246

What issue are you seeing?

Codex Desktop on Windows, app version OpenAI.Codex_26.429.3425.0, CLI 0.128.0-alpha.1.

Browser Use fails before opening a tab because node_repl cannot start Node: failed to execute Node: Přístup byl odepřen. (os error 5)

Manual checks:

  • node.exe runs from PowerShell.
  • node_repl.exe --disable-sandbox starts manually.
  • A wrapper CMD calling node_repl.exe --disable-sandbox works manually over MCP stdio and returns JS result 1+1 = 2.
  • The same wrapper configured as [mcp_servers.node_repl_direct] in config.toml loads in Codex, but tool call still fails with os error 5.

This suggests the failure is specific to MCP server / Node kernel launch context inside Codex Desktop.

Additional UI issue: The Artifacts / Sources popover opens on the right side and overlaps the vertical scrollbar. It prevents grabbing the scrollbar with the mouse. Esc, clicking outside, and the top-right panel button do not dismiss it reliably. This happens in Codex Desktop on Windows.

What steps can reproduce the bug?

Starting Browser Use

What is the expected behavior?

No response

Additional information

No response

extent analysis

TL;DR

The issue is likely related to the Node kernel launch context inside Codex Desktop, and a potential fix could involve adjusting the configuration or permissions for the node_repl executable.

Guidance

  • Investigate the permissions and access control settings for the node_repl executable to ensure it can be launched by the Codex Desktop application.
  • Verify that the node_repl executable is properly configured in the config.toml file, specifically the [mcp_servers.node_repl_direct] section.
  • Consider running the Codex Desktop application with elevated privileges to see if it resolves the issue.
  • Check the system event logs for any error messages related to the node_repl executable or the Codex Desktop application.

Notes

The issue seems to be specific to the Windows platform and the Codex Desktop application, and may be related to the way the node_repl executable is launched or the permissions it requires.

Recommendation

Apply workaround: Adjust the configuration or permissions for the node_repl executable to allow it to be launched by the Codex Desktop application, as the issue seems to be related to the launch context.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING