Does Playwright MCP work with ChatGPT (Codex)?

Yes. Playwright MCP passed every step of our test in ChatGPT (Codex) on Oct 21, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.

Result

ResultPassed
Date testedOct 21, 2026
Plan tested onChatGPT Plus
App versionCodex CLI 0.162.0-alpha.17.2
Server package@playwright/mcp 0.0.83
Connect timeconnect time not recorded
Modelgpt-6-luna (reasoning low)

Steps

  1. install OK
  2. connect OK
  3. tools visible OK
  4. agent task: click reveal OKnavigate + interact + read back. The code is computed by page JavaScript only after the click.

From our own harness run, not the maker’s claims. How we test.

Versions tested

Codex CLI 0.162.0-alpha.17.2 · @playwright/mcp 0.0.83 · connect time not recorded · tested Oct 21, 2026

Server package tested: @playwright/mcp 0.0.83 (npm, Node v20.19.2; resolved 2026-10-21)

Direct and key dependencies as resolved: playwright 1.64.0-alpha-1790635538000 · playwright-core 1.64.0-alpha-1790635538000

All 2 resolved dependencies
playwright==1.64.0-alpha-1790635538000
playwright-core==1.64.0-alpha-1790635538000

Captured with: npm ls --all --json in the npx env.

What happened in this run

Install config we used

[mcp_servers.playwright]
command = "npx"
args = ["-y", "@playwright/mcp@latest", "--headless", "--isolated"]

Connection check

server answered tool calls during the task

Tools check

verified via task step: agent saw and called the server's tools

Agent task: click reveal

  • Tool calls, in order: playwright:browser_navigate, playwright:browser_snapshot, playwright:browser_click, playwright:browser_snapshot

Raw details from our harness log for this run. Secrets redacted.

Set it up in ChatGPT (Codex)

Copy-paste config for every app is on the Playwright MCP page. Not connecting? ChatGPT (Codex) MCP troubleshooting.

Other apps we tested it in: Claude Code (passed) · Cursor (passed) · Claude Desktop (passed).

All MCP servers tested in ChatGPT (Codex)

Featured