Playwright mcp fails on windows : program not found

Resolved 💬 0 comments Opened Sep 8, 2025 by sbrusse-git Closed Sep 8, 2025

What version of Codex is running?

codex-cli 0.30.0

Which model were you using?

_No response_

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

Trying to install playwright for codex but it just doesn't work.

[mcp_servers.playwright]
command = "npx"
args = ["@playwright/mcp@latest"]
env = { PLAYWRIGHT_BROWSER = "chromium", PLAYWRIGHT_HEADLESS = "false" }

With or without env, nothing works, always got program not found.

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗