Skip to content

MCP client for playwright failed to start #11308

Open

Description

@artvinn

What version of Codex CLI is running?

codex-cli 0.98.0

What subscription do you have?

Business

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Darwin 24.6.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Alacritty

What issue are you seeing?

Starting codex with configured Playwright MCP gives error:

MCP client for `playwright` failed to start: MCP startup failed: handshaking with MCP server failed: connection closed: initialize response

⚠ MCP startup incomplete (failed: playwright)

It used to work just a few days ago though, maybe an update has broken it. I have it setup via config.toml:

[mcp_servers.playwright]
command = "npx"
startup_timeout_ms = 20_000
args = ["@playwright/mcp@latest", "--extension"]

What steps can reproduce the bug?

  1. Configure playwright MCP
  2. Start up codex via CLI

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Feb 10, 2026
  2. added
    CLI
    mcp
    on Feb 10, 2026
  3. etraut-openai commented on Feb 10, 2026

    @etraut-openai
    Contributor

    You mentioned that it worked previously. Could you try downgrading to confirm whether it was a regression in Codex? If so, what was the first version where you see the problem? It's also quite possible that something changed on your system (e.g. a configuration setting or environment variable) that caused this, so it's important for us to isolate the cause.

  4. AndreaPi commented on Feb 11, 2026

    @AndreaPi

    @artvinn BTW, I found that the Playwright skill (with playwright-CLI installed ofc) works just as well and uses way less tokens

  5. bitToQubits commented on Mar 1, 2026

    @bitToQubits

    I have personally found that just re-executing the installation command codex mcp add playwright npx "@playwright/mcp@latest solves the issue. The directory must have playwright installed on it.

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

    CLIbugmcp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions