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.
Discussions

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
🌐 r/ClaudeAI
35
8
May 17, 2025
Anyone get Microsoft Playwright MCP to Work with Claude Code? : ClaudeAI
🌐 r/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
🌐 r/ClaudeAI
24
9
June 9, 2025
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
🌐 r/ClaudeCode
65
100
August 27, 2025
🌐
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%
🌐
Medium
medium.com › everyday-ai › claude-code-playwright-mcp-put-eye-on-your-website-a0f5851f8106
Claude Code + Playwright MCP = Put Eye on your website | by Manpreet Singh | Everyday AI | Medium
August 21, 2025 - Claude Code + Playwright MCP = Put Eye on your website hey!! just imagine you’re trying to build something cool, like a new website. You’ve got a Claude Code, that can write all the tricky …
🌐
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
🌐
Made With Love
madewithlove.com › blog › claude-as-tester-using-playwright-and-github-mcp
Claude as tester using Playwright and GitHub MCP
July 22, 2025 - Based on the ticket, I gave Claude the following prompt: Use playwright MCP, go to <testing environment URL> log in with username <user> and password <password, create a new event with the role <Role>. You should only add one role, do not press ...
Find elsewhere
🌐
Claude MCP
claudemcp.com › servers › playwright
Microsoft Playwright MCP - Claude MCP Servers
Playwright MCP server providing browser automation capabilities for large language models - Claude MCP Servers - Claude MCP Community
🌐
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

🌐
Bugster
bugster.dev › playwright-mcp-guide
Playwright MCP: Using AI Agents for Browser Testing with Claude | Bugster
January 7, 2025 - Learn how to use Playwright MCP with Claude Code for AI-powered browser automation. Complete guide to setup, authentication, available tools, and building intelligent testing workflows.
🌐
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.
🌐
Medium
kailash-pathak.medium.com › api-testing-with-llm-claude-and-playwright-mcp-model-context-protocol-a08d6ab979dd
API Testing with LLM(Claude) and Playwright MCP (Model Context Protocol) | by KailashPathak | Medium
October 3, 2025 - Let’s walk through setting up the Playwright MCP server for API testing, based on the ExecuteAutomation repository. ... Node.js: Install the LTS version. ... Claude Desktop Client or VS Code: For running the MCP server.
🌐
X
x.com › simonw › status › 1940197916267986946
Using Playwright MCP with Claude Code
I figured out how to add the official Playwright browser automation MCP to Claude Code. Run this before you start "claude": claude mcp add playwright npx '@playwright/mcp@latest' Now Claude Code can use a Chrome browser directly!
🌐
LobeHub
lobehub.com › mcp › sia819-claude-code-playwright-mcp
claude-code-playwright-mcp | MCP Servers · LobeHub
1 month ago - { "mcpServers": { "sia819-claude-code-playwright-mcp": { "args": [ "/c", "npx", "-y", "@playwright/mcp@latest", "--user-data-dir=./playwright-profile" ], "command": "cmd" } } } Let us know, and we will add it as soon as possible~Submit MCP