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
Simon Willison
til.simonwillison.net › claude-code › playwright-mcp-claude-code
Using Playwright MCP with Claude Code | Simon Willison’s TILs
I found I needed to explicitly say "playwright mcp" the first time, otherwise it might try to use Bash to run Playwright instead. The claude mcp add command will persist but will only affect the directory in which you run it.
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
Claude code + playwright mcp - how did you speed up the browser interactions
I say this with all the kindness in the world. Why the fuck would you burn Claude code tokens running playwright tests? Why would you not just write the tests and then have the tests run with CI/CD pipelines? More on reddit.com
Anyone get Microsoft Playwright MCP to Work with Claude Code? : ClaudeAI
Anyone get Microsoft Playwright MCP to Work with Claude Code?
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` More on reddit.com
CC using Playwright directly is vastly superior to Playwright MCP
You're absolutely right. (kek) People fail to realize it was already a fucking automation tool. Just use the tool. LMao More on reddit.com
Videos
03:00
Install Playwright MCP in Claude Desktop – AI-Powered Web ...
13:04
Claude Code Now Has Eyes | Playwright MCP Integration - YouTube
06:37
Claude Code + Playwright MCP = Perfect UI Every Time - YouTube
10:40
Integrate Playwright with Claude AI from Scratch | Full Setup & ...
13:52
Playwright MCP Server: Installing and getting started in VS Code ...
16:14
Playwright MCP for Claude Code: Don't Miss This Game-Changer - YouTube
GitHub
github.com › microsoft › playwright-mcp
GitHub - microsoft/playwright-mcp: Playwright MCP server
amp mcp add playwright -- npx @playwright/mcp@latest · Claude Code · Use the Claude Code CLI to add the Playwright MCP server: claude mcp add playwright npx @playwright/mcp@latest · Claude Desktop · Follow the MCP install guide, use the ...
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%
LinkedIn
linkedin.com › posts › debbie-obrien_install-playwright-mcp-in-claude-desktop-activity-7311004587279159296-N1Wy
Install Playwright MCP in Claude Desktop
We cannot provide a description for this page right now
Playwright MCP Server
executeautomation.github.io › playwright mcp server
Playwright MCP Server | Playwright MCP Server
npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude
Medium
medium.com › @kapilkumar080 › understanding-the-claude-playwright-mcp-server-setup-426a574cc232
Understanding the Claude + Playwright MCP Server setup | by Kapil kumar | Oct, 2025 | Medium
October 31, 2025 - | Step | What to do | Purpose | | ---- | --------------------------------------------------------- | --------------------------------------------- | | 1 | Install Node.js & Playwright | For browser automation | | 2 | `npm install -g @executeautomation/playwright-mcp-server` | Run the Playwright MCP server | | 3 | Install Claude Desktop | To talk to the MCP | | 4 | Add `mcp.json` config linking to Playwright MCP | Enable Claude ↔️ Playwright connection | | 5 | Restart Claude & test with commands | Automate browser tasks using natural language | | 6 | (Optional) Use VS Code for test editing | For debugging or code review |
Reddit
reddit.com › r/claudeai › claude code + playwright mcp - how did you speed up the browser interactions
Claude code + playwright mcp - how did you speed up ...
May 17, 2025 -
I have successfully integrated this playwright mcp -Microsoft one ( adding tools ) to Claude code . We can now add a prompt and pass it in Claude code headless cli .. however the browser navigation is quite slow .. for example it takes more than 4 seconds for Claude code to login using username and password..
How did you speed up the process ..? I am using WSL2
Thanks in advance
Top answer 1 of 4
10
I say this with all the kindness in the world. Why the fuck would you burn Claude code tokens running playwright tests? Why would you not just write the tests and then have the tests run with CI/CD pipelines?
2 of 4
2
how did you install the microsoft playwright mcp to claude code?
Playwright MCP Server
executeautomation.github.io › local development › installation
Installation | Playwright MCP Server
Modify your claude-desktop-config.json file as shown below to work with local playwright mcp server The file is generally located at C:\Users\{yourusername}\AppData\Roaming\Claude
Testomat
testomat.io › home › playwright mcp claude code
Playwright MCP Claude Code
October 27, 2025 - The Playwright MCP Claude code Desktop integration requires specific steps to follow. Here’s how to do it: ... Edit config. You need to access the Claude Desktop configuration File, which is named claude_desktop_config.json Then add or update the settings to define the MCP server with this JSON configuration snippet:
Address Ul. Koszykarska 27b-26, Kraków
N+1 Blog
nikiforovall.blog › ai › 2025 › 09 › 06 › playwright-claude-code-testing.html
Testing with Playwright and Claude Code | N+1 Blog
September 6, 2025 - So instead of writing detailed test scripts, you can describe what you want to test in plain English, and Claude will handle the rest. This setup is perfect for exploratory testing where you want to understand how an application behaves without writing formal test scripts first. First, you need to set up a Playwright MCP server and add following .mcp.json file to your project:
GitHub
github.com › executeautomation › mcp-playwright
executeautomation/mcp-playwright ...
2 weeks ago - 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%
Simon Willison
simonwillison.net › 2025 › Jul › 1 › using-playwright-mcp-with-claude-code
TIL: Using Playwright MCP with Claude Code
July 1, 2025 - Inspired by Armin ("I personally use only one MCP - I only use Playwright") I decided to figure out how to use the official Playwright MCP server with Claude Code. ... The claude mcp add command only affects the current directory by default - it gets persisted in the ~/.claude.json file.