Codex can't use playwright mcp to interact with a real browser?

Resolved 💬 1 comment Opened Sep 3, 2025 by MikeK184 Closed Sep 3, 2025

What version of Codex is running?

_No response_

Which model were you using?

_No response_

What platform is your computer?

running in WSL 2 on windows with linux 24

What steps can reproduce the bug?

As the Title suggests, I migrated from Claude Code to Codex due to recent issues, however quickly realise the Codex is unable to use the playwright mcp or puppeteer to open a browser tab/window and navigate like a "user"? it can only write some scripts, but that is useless in my case as I need it to navigate and take snapshots/read errors.

Is this not possible currently or is there some limitation/workaround to get this working?

This is my config.toml:

# ---------- MCP servers ----------
[mcp_servers.context7]
command = "npx"
args    = ["-y", "@upstash/context7-mcp"]

[mcp_servers.playwright-mcp]
command = "npx"
args    = ["-y", "playwright-mcp"]

[mcp_servers.puppeteer-mcp]
command = "npx"
args    = ["-y", "@modelcontextprotocol/server-puppeteer"]
# -----------------------------------------

[mcp_servers.serena]
command = "uvx"
args = [
  "--from",
  "git+https://github.com/oraios/serena",
  "serena",
  "start-mcp-server",
  "--context",
  "ide-assistant",
  "--project",
  "$(pwd)"
]

What is the expected behavior?

To open a browser/chrome and navigate like a user

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗