I use (in wsl) `claude mcp add playwright npx u/playwright/mcp @latest` only things that is tricky is that you cannot let claude install the browser or the deps since it needs sudo to elevate the commands, so just install them manually and follow the prompts in a terminal. then you can check using /mcp and see its installed and test it using a command like, `use playwright to navigate to google.com` Answer from BruceJillis on reddit.com
Cursor
forum.cursor.com › support › bug reports
Playwright mcp does not work - Bug Reports - Cursor - Community Forum
June 15, 2025 - Describe the Bug after update to 1.0, playwright mcp does not work by Page Not Found. The mcp shows red. It works in 0.5 version Steps to Reproduce after update to 1.0, playwright mcp does not work by Page Not Found. …
GitHub
github.com › microsoft › playwright-mcp › issues
microsoft/playwright-mcp
microsoft / playwright-mcp Public · Notifications · You must be signed in to change notification settings · Fork 1.9k · Star 23.7k · Search Issues · is:issue state:open · is:issue state:open Search · LabelsMilestonesNew issue · Open · Closed · Status: Open.
Author microsoft
Videos
13:52
Playwright MCP Server: Installing and getting started in VS Code ...
20:04
Playwright MCP Severs Explained: Automation and Testing - YouTube
17:33
Manual Testing with Playwright MCP – No Code, Just Prompts! - ...
03:08
How to Generate Playwright Tests using MCP + Copilot - YouTube
04:50
Let AI Explore Your Site & Write Tests with Playwright MCP! - YouTube
09:33
Playwright MCP Server: Auto-Generate Test code while running UI ...
Reddit
reddit.com › r/claudeai › anyone get microsoft playwright mcp to work with claude code?
r/ClaudeAI on Reddit: Anyone get Microsoft Playwright MCP to Work with Claude Code?
June 9, 2025 -
No matter what I try, Claude code cannot access the Microsoft Playwright MCP. I'm searching for troubleshooting tips, but can't find anything. Is there anyone using it?
[EDIT] Solved, "claude mcp add playwright -- npx "@playwright/mcp@latest" worked.
Top answer 1 of 4
2
I use (in wsl) `claude mcp add playwright npx u/playwright/mcp @latest` only things that is tricky is that you cannot let claude install the browser or the deps since it needs sudo to elevate the commands, so just install them manually and follow the prompts in a terminal. then you can check using /mcp and see its installed and test it using a command like, `use playwright to navigate to google.com`
2 of 4
1
Working on my end
npm
npmjs.com › package › @playwright › mcp
playwright/mcp
> npx @playwright/mcp@latest --help --allowed-hosts <hosts...> comma-separated list of hosts this server is allowed to serve from. Defaults to the host the server is bound to. Pass '*' to disable the host check. --allowed-origins <origins> semicolon-separated list of TRUSTED origins to allow the browser to request. Default is to allow all. Important: *does not* serve as a security boundary and *does not* affect redirects.
» npm install @playwright/mcp
Published Dec 20, 2025
Version 0.0.53
Author Microsoft Corporation
Repository https://github.com/microsoft/playwright-mcp
Homepage https://playwright.dev
GitHub
github.com › microsoft › playwright-mcp
GitHub - microsoft/playwright-mcp: Playwright MCP server
> npx @playwright/mcp@latest --help --allowed-hosts <hosts...> comma-separated list of hosts this server is allowed to serve from. Defaults to the host the server is bound to. Pass '*' to disable the host check. --allowed-origins <origins> semicolon-separated list of TRUSTED origins to allow the browser to request. Default is to allow all. Important: *does not* serve as a security boundary and *does not* affect redirects.
Starred by 24.7K users
Forked by 2K users
Languages TypeScript 54.4% | CSS 37.0% | JavaScript 6.0% | Dockerfile 1.6% | HTML 1.0%
GitHub
github.com › langchain-ai › langchain-mcp-adapters › issues › 178
Problems with Microsoft Playwright MCP Server · Issue #178 · langchain-ai/langchain-mcp-adapters
May 27, 2025 - The current ToolNode or create_react_agent() sends a single request, say, 'browser_navigate' to MCP Server. This causes the browser windows to open and navigate to the website but the connection is closed on Langgraph side. This causes t...
Published May 27, 2025
Cursor
forum.cursor.com › bug reports
Playwright MCP not working - Bug Reports - Cursor - Community Forum
October 14, 2025 - Where does the bug appear (feature/product)? Cursor IDE Describe the Bug After the last few updates, when I try to use any tools in playwright MCP, cursor keep saying tool xx not found(while other MCPs do working), I guess there’s a conflict between cursor’s browser control tools and playwright MCP tools, tried to downgrade to v1.6 then it works.
Reddit
reddit.com › r/openaicodex › codex v0.36.0 - windows - still no playwright mcp?
r/OpenaiCodex on Reddit: Codex v0.36.0 - Windows - Still no playwright MCP?
September 16, 2025 -
Trying to install playwright mcp for multiple versions now, and I still can't get it working with the latest version :
I have : MCP client for \playwright` failed to start: program not found`
Assigned the copdex_home through :
set CODEX_HOME=C:\Users\TBWS95\Desktop\codex\.codex
And Codex loads the toml file but doesn't load playwright correctly.
toml file :
model = "gpt-5-codex"
[mcp_servers.playwright]
command = "npx"
args = ["@playwright/mcp"]
env = { "PLAYWRIGHT_BROWSER" = "chromium", "PLAYWRIGHT_HEADLESS" = "false" }Anyone has been able to load playwright for codex on windows ?
Works like a charm on claude code.
Top answer 1 of 3
2
You need to use cmd /c for most npx commands in MCP clients on windows. This should be pretty standard knowledge now. Change it to command = cmd Args = [“/c”, “npx”, “@playwright/mcp”] That should work
2 of 3
1
I was struggling with that, too. For me the problem turned out to be npx not installed on PATH so I had to specify the installation path under "command".
DEV Community
dev.to › debs_obrien › letting-playwright-mcp-explore-your-site-and-write-your-tests-mf1
Letting Playwright MCP Explore your site and Write your Tests - DEV Community
June 18, 2025 - I used a different model(gtp4-1) today, and it seems to be working. LLM created a simple test, but it tests something useful, though. Nice. Thanks for your article! ... Hi, Debbie! Thank you for the post. I'm excited to give it a try! However, I'm running into some issues. I've installed the Playwright MCP extension, but the "Start server" option is greyed out.
Playwright MCP Server
executeautomation.github.io › release notes
Release Notes | Playwright MCP Server
Backward Compatibility: Manual width/height dimensions still work as before · Critical Fix: Console output buffering issue when running via npx · Problem: Users saw no console output when running npx @executeautomation/playwright-mcp-server --port 8931
GitHub
github.com › anthropics › claude-code › issues › 1383
[BUG] Playwright MCP frequently fails · Issue #1383 · anthropics/claude-code
May 28, 2025 - Sometimes it works great, it takes screenshots, it verifies its own work... then Claude is superbly useful. Other times it just can't seem to use playwright properly and so reverts to Curl. ⏺ Now I understand! According to CLAUDE.md, I need to "open a tab using the open_tab command in playwright" first. Let me use Playwright correctly to test the pages: ⏺ playwright:browser_tab_new (MCP)(url: "http://localhost:4000")…
Published May 28, 2025
GitHub
github.com › executeautomation › mcp-playwright
GitHub - executeautomation/mcp-playwright: Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌
Note for Claude Desktop Users: Claude Desktop currently requires stdio mode (command/args configuration). HTTP mode is recommended for VS Code, custom clients, and remote deployments. See CLAUDE_DESKTOP_CONFIG.md for details. # Using npx npx @executeautomation/playwright-mcp-server --port 8931 # Or after global installation playwright-mcp-server --port 8931
Starred by 5.1K users
Forked by 460 users
Languages TypeScript 93.6% | JavaScript 6.0%
GitHub
github.com › microsoft › playwright-mcp › issues › 771
Playwright MCP in n8n client Tool · Issue #771 · microsoft/playwright-mcp
April 27, 2025 - I tried to be using the MCP server inside the n8n client tool by exposing the endpoint via ngrok. it's not working but this is working in my cursor it gives the error like this
Published Jul 27, 2025
GitHub
github.com › openai › codex › issues › 2945
MCP client for `playwright` failed to start: program not found · Issue #2945 · openai/codex
August 30, 2025 - Run Codex it rteunrs MCP client for playwrightfailed to start: program not found · No response · No response · No response · 👍React with 👍4sloikod, dheerajawale-svg, cesarturotz and ebulku · No one assigned · bugSomething isn't workingSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serversIssues related to the use of model context protocol (MCP) serverswindows-osIssues related to Codex on Windows systemsIssues related to Codex on Windows systems ·
Published Aug 30, 2025