Windows - Playwright MCP issue

Resolved 💬 4 comments Opened Aug 20, 2025 by tomasmarekk Closed Sep 3, 2025

What version of Codex is running?

0.23.0

Which model were you using?

gpt-5

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

I understand that Codex CLI on Windows isn’t ideal, but it would be great if you could fix the Playwright MCP functionality as soon as possible, since it’s one of the most important MCP servers for AI development.

I’m not sure whether this affects other Codex MCP configurations on Windows, but I’m having trouble setting up this MCP correctly. I’ve tried many options and I keep getting the following error in Codex:

Prompt: "go to http://localhost:3000/ and investigate Next.js error."

tool failed, duration: 3ms
playwright.browser_navigate({"url":"http://localhost:3000/"})
### ResultError: listen UNKNOWN: unknown error 0.0.0.0

This is my config.toml file:

[mcp_servers.playwright]
command = "C:\\Program Files\\nodejs\\node.exe"
args = ["C:\\Users\\xxxx\\AppData\\Roaming\\npm\\node_modules\\@playwright\\mcp\\cli.js", "--headless", "--browser", "chromium"]

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗