Skip to content

Codex refuses to use playwright mcp #5381

Closed

Description

@davidbenhaim

What version of Codex is running?

codex-cli 0.46.0

What subscription do you have?

max

Which model were you using?

gpt-5-codex high

What platform is your computer?

mac

What issue are you seeing?

codex refuses to use playwright mcp to interact with webpages for development / debugging:

Image (pardon my french)

playwright mcp is installed and part of the config for codex.

model = "gpt-5-codex"
model_reasoning_effort = "high"

[mcp_servers.playwright]
command = "npx"
args = ["@playwright/mcp@latest"]

even if codex acknowledges its installed it refuses to interact with the webpages saying it cant or whateve reason.

What steps can reproduce the bug?

just try to get codex to use playwright mcp to debug.

What is the expected behavior?

claude code does this fine so codex should too

Additional information

this really impairs codex' ability to do webdev.

Activity

  1. added
    mcpIssues related to the use of model context protocol (MCP) servers
    on Oct 20, 2025
  2. github-actions commented on Oct 20, 2025

    @github-actions
    Contributor
  3. davidbenhaim commented on Oct 20, 2025

    @davidbenhaim
    Author
    Image
  4. gpeal commented on Oct 21, 2025

    @gpeal
    Contributor

    Can you try with the 0.48 alpha CLI? We changed a few things to nudge the model to use MCP tools.
    https://github.com/openai/codex/releases/tag/rust-v0.48.0-alpha.2

  5. davidbenhaim commented on Oct 21, 2025

    @davidbenhaim
    Author

    for sure I'll give it a shot and let you know!

  6. fallonou1999 commented on Oct 23, 2025

    @fallonou1999

    Can you try with the 0.48 alpha CLI? We changed a few things to nudge the model to use MCP tools. https://github.com/openai/codex/releases/tag/rust-v0.48.0-alpha.2

    yeah it really works better with mcp tools in 0.48 alpha.2

  7. gpeal commented on Oct 23, 2025

    @gpeal
    Contributor

    I'm going to close this out for now, hopefully things are working better.

    If you think there are additional issues, feel free to reopen this or another issue.

  8. davidbenhaim commented on Oct 24, 2025

    @davidbenhaim
    Author

    confirmed this is working way better for me now too. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) servers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions