playwright-mcp
AGENTS.md40k starsChanged 5 days agoApache-2.0View on GitHub
This repo ships the npm package @playwright/mcp. The MCP server itself is in microsoft/playwright, in packages/playwright-core/src/tools/: mcp/ has the server, its config and its command line options, and backend/ has the tools. - What this repo owns: cli.js and index.js, which run the server of the pinned playwright-core, the types, the README, the Dockerfile, and the tests of the packaged server. - What is a copy or an output: roll.js copies config.d.ts from packages/playwright-core/src/tools/mcp/config.d.ts, and npm run lint generates the…
- Commits and pushes
Trending
More talk lately.about the whole repository
Who's talking about microsoft/playwright-mcp
- Playwright“How to Generate Playwright Tests using MCP + Copilot”YouTube · May 15, 2025 · 150k views
- Playwright“Playwright MCP: How AI Agents Can Control Your Browser”YouTube · Mar 28, 2025 · 75k views
- Checkly“Generating Playwright Tests With AI: Let's Try the New Playwright MCP Server!”YouTube · Jun 23, 2025 · 65k views
- Debbie O'Brien“Playwright MCP Servers Explained: Automation and Testing”YouTube · Nov 17, 2025 · 34k views
- tech mumus“NOVO MCP que permite o agente CONTROLAR O BROWSER! Playwright MCP”YouTube · Mar 30, 2025 · 16k views
The biggest 5 of 91 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 91
Talked about on Bluesky, YouTube, GitHub, Hacker News and the web (91 times).
On Bluesky · 42
- Mar 24, 2025With all the MCP hype, we went ahead and built an MCP server for Playwright. Ours is snapshot-based, which makes it faster and more… — @handle.invalid68 likes and reposts · 1 reply
- Mar 25, 2025Microsoft's Playwright, that enables reliable end-to-end testing for modern web apps ( playwright.dev ) built a Playwright MCP (… — @sungkim.bsky.socialsays it tested it54 likes and reposts · 1 reply
- Sep 3, 2025I'll say it loud (yet again) so they can hear it in the back: if you do web dev & you are comfortable using AI to assist with coding *EVEN… — @symmetricalboy.com10 likes and reposts · 2 replies
- Aug 9, 2025Among all the MCPs I dare to say that the Playwright MCP is the MVP for web dev Tell agent to - create TODO.md to track progress - update… — @fubits.dev8 likes and reposts · 2 replies
- Nov 16, 2025If you aren't offering an API or MCP interface for agents, you force users toward a browser solution like github.com/microsoft/pl... which… — @mooreds.com6 likes and reposts · 1 reply
37 more on Bluesky
- Oct 24, 2025Pretty impressed with the Cursor + Playwright MCP. Within a few minutes, it solved some tedious responsive fixed position updates that… — @radiantsunrise.bsky.social4 likes and reposts
- Dec 5, 2025📦 microsoft / playwright-mcp ⭐ 23,969 (+44) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social3 likes and reposts
- Aug 14, 2025📦 microsoft / playwright-mcp ⭐ 16,945 (+92) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social3 likes and reposts
- Apr 29, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / playwright-mcp ⭐ 31,763 (+205) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jan 11, 2026I just wrote a Claude Code Skill that will upload and create an Insurance Claim. This works by using the Microsoft Plawright MCP Server,… — @shahine.com2 likes and reposts
- Sep 3, 2025Last week I learned: Playwright ships its own MCP server. 👉 Still great for fast, reliable UI testing. 👉 But now agents can talk to your… — @jkordick.bsky.socialsays it tested it2 likes and reposts
- Aug 28, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / playwright-mcp ⭐ 18,388 (+137) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social2 likes and reposts
- Aug 22, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / playwright-mcp ⭐ 17,755 (+122) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social2 likes and reposts
- Aug 19, 2025Just tried Playwright. It gives vision to Claude Code 🤯 👀 💻👀 github.com/microsoft/pl... — @erickhun.bsky.social2 likes and reposts
- Aug 9, 2025The best way to learn is to read code. The Playwright MCP server that is using TypeScript is a good example to understand how to build a… — @alexvue.bsky.social2 likes and reposts
- Jul 22, 2025i hear playwright MCP works well for both of these in frontend code. Haven't used it myself though github.com/microsoft/pl... — @timkellogg.me2 likes and reposts · 2 replies
- Jul 10, 2025📦 microsoft / playwright-mcp ⭐ 14,276 (+93) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social2 likes and reposts
- May 25, 2025github.com/microsoft/pl... github.com/executeautom... ? — @gvatn.bsky.social2 likes and reposts
- Mar 24, 2025GitHub - microsoft/playwright-mcp: Playwright Tools for MCP https://github.com/microsoft/playwright-mcp — @tech-trending.bsky.social2 likes and reposts
- Nov 2, 2026• Playwright MCP: It gives your AI agent access to a real browser. It can navigate your app, fill out forms, click buttons, and check… — @pierrehenry.dev1 likes and repost
- Sep 25, 2026stumbled on microsoft/playwright-mcp — MCP browser for coding agents, uses the a11y tree so no vision model needed to click. anyone using… — @cdevmkt.bsky.social1 likes and repost
- Aug 8, 2026🚀 GitHub Intelligence Drop Kronos (Python • 🟢) ⭐ 36.2K → https://github.com/shiyu-coder/Kronos playwright-mcp (TypeScript • 🟢) ⭐ 35.9K →… — @githubfeed.bsky.social1 likes and repost
- Mar 27, 2026📦 microsoft / playwright-mcp ⭐ 29,822 (+78) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social1 likes and repost
- Feb 23, 2026I’ve heard Playwright is nice, but I do t know if there’s something more folks like for visual issues. github.com/microsoft/pl... — @push.cx1 likes and repost
- Feb 18, 2026📦 microsoft / playwright-mcp ⭐ 27,315 (+62) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social1 likes and repost
- Oct 18, 2025There is one MCP that still beats giving an LLM agent direct shell access (because that does achieve much in that case): playwright It… — @fry69.altq.net1 likes and repost · 2 replies
- Sep 27, 2025📦 microsoft / playwright-mcp ⭐ 20,496 (+68) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social1 likes and repost
- Sep 19, 2025📦 microsoft / playwright-mcp ⭐ 19,968 (+71) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social1 likes and repost
- Aug 26, 2025Or use Playwright MCP? github.com/microsoft/pl... — @sstranger.bsky.social1 likes and repost · 1 reply
- Jul 21, 2025Take for example github.com/microsoft/pl... - suddenly your LLM can open browsers, sign in, run UI tests, and all that :) — @juliusv.com1 likes and repost
- Jul 17, 2025A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact… — @suraj.io1 likes and repost · 2 replies
- Jul 17, 2025📦 microsoft / playwright-mcp ⭐ 14,857 (+75) 🗒 TypeScript Playwright MCP server — @github-trending-js.bsky.social1 likes and repost
- Jun 12, 2025Here. You probably need to be using this. Holy shit is it useful to me: github.com/microsoft/pl... — @symmetricalboy.com1 likes and repost · 1 reply
- May 29, 2025Playwright with MCP... I have to try that 😋 github.com/microsoft/pl... — @klemens.bsky.social1 likes and repost · 1 reply
- Apr 21, 2025Next up is dealing with login in my app, since it runs in a fresh session every time. I found a Playwright MCP server so I wonder if I can… — @nimobeeren.com1 likes and repost · 1 reply
- Apr 20, 2025https://github.com/microsoft/playwright-mcp — @tom-doerr.bsky.social1 likes and repost
- Apr 8, 2025orson scott card described AI jane scouring through the ansible, instantiating independent agents called 'reconstructions' & 'threads'. now… — @monsuta.bsky.social1 likes and repost
- Mar 24, 2025🔖 "GitHub - microsoft/playwright-mcp: Playwright Tools for MCP" https://github.com/microsoft/playwright-mcp — @lacolaco.bsky.social1 likes and repost
- Sep 11, 2026NUNOKAWAさん、こんにちは😀 画面情報が多い、操作ごとの確認が多い、スクリーンショットを頻繁にとるなどの結果で、トークンを大量消費する可能性があります。 特にPlaywright… — @pahoo.org0 likes and reposts · 1 reply
- Oct 6, 2025I see, so it's more to look at any good scraping library / anything that lets the llm read those web pages (to then further calculate the… — @greg.technology0 likes and reposts · 2 replies
- Apr 6, 2025server側は playwright-mcp github.com/microsoft/pl... — @geroof.bsky.social0 likes and reposts · 1 reply
- Mar 28, 2025A playwright MCP server from Microsoft, for connecting LLMs to Playwright - i.e. giving them a browser github.com/microsoft/pl... — @porg.dev0 likes and reposts · 1 reply
On YouTube · 23
- May 15, 2025How to Generate Playwright Tests using MCP + Copilot — Playwright150k views · 91 comments
- Mar 28, 2025Playwright MCP: How AI Agents Can Control Your Browser — Playwright75k views · 72 comments
- Jun 23, 2025Generating Playwright Tests With AI: Let's Try the New Playwright MCP Server! — Checkly65k views · 46 comments
- Nov 17, 2025Playwright MCP Servers Explained: Automation and Testing — Debbie O'Briensays it tested it34k views · 13 comments
- Mar 30, 2025NOVO MCP que permite o agente CONTROLAR O BROWSER! Playwright MCP — tech mumus16k views · 82 comments
18 more on YouTube
- Aug 31, 2025Adding Playwright and Supabase MCP's to new Codex CLI and IDE Extension (Tutorial) — JeredBlu14k views · 52 comments
- Aug 15, 2025Claude Code Can Do 10x More With Browser Access | Playwright MCP — Denis Volkhonskiysays it tested it8.8k views · 13 comments
- Apr 25, 2026Playwright MCP Setup in VS Code in 5 Minutes 🔥 | AT EP1 — Chanukya AI4.1k views
- May 23, 2026Claude AI Controls My Browser (Playwright MCP Setup) — RoboticQA Academy2.7k views · 1 comment
- Nov 3, 2026Microsoft's Playwright MCP (Apache-2.0) lets Claude Code drive a browser: forms, clicks, navigation, — Alberto Vision1.3k views
- Oct 23, 2026Connect Claude Code to Your Softwares with MCP (Model Context Protocol) — SonicMode1.3k views
- Oct 31, 20265 Free MCP Servers Every Claude Code User Needs for Websites - Playwright, DevTools, GitHub — TheSkillDrop952 views
- Apr 29, 2026Playwright MCP Turns Claude Desktop Into a Browser Agent — Build n Bloom528 views
- Apr 2, 2026Playwright + AI using GitHub Copilot — dtomyn_tech517 views
- Nov 1, 2026Playwright MCP Overview: Accessibility-Tree Automation for AI Web Testing — Alex Hittsays it tested it168 views
- Oct 25, 2026Cursor for Testers Finale: Skills + GitLab MCP + Playwright MCP, a Full Real Example** ← — Automate With SDET127 views · 2 comments
- Oct 17, 2026Playwright MCP Clicks Through Your App — Agent Guy Ram110 views
- Oct 29, 2026Playwright MCP Tutorial: What is LLM, AI Agent & MCP | Setup + Generate & Run Tests with AI — Code And Test 99 views
- Oct 17, 2026playwright mcp: the most popular mcp server (6.4m dl/week) — Age Gent84 views
- Oct 31, 2026Your AI wrote it. Playwright MCP tests it. #shorts — SkillDrop57 views
- Nov 2, 2026Does Claude need a real browser? Playwright MCP: legit or sh*t? #shorts — Adam Burge39 views
- Sep 20, 2026I Let Playwright MCP Find and Fix Accessibility Issues — Vishu39 views
- Nov 4, 2026Playwright MCP: Your AI Coded the Page. Has It Ever Opened It? #MCP #OpenSource — Insider Bites19 views
On GitHub · 20
- Jun 16, 2025Allow extensions to contribute modes, prompts and instructions — microsoft/vscode22 reactions · 13 comments
- Apr 2, 2025Using fnm to launch MCP server in Visual Studio Code using specific node version fails — Schniz/fnm13 reactions · 7 comments
- Aug 14, 2025typescript project init — kagent-dev/kmcp9 reactions · 4 comments
- Jan 25, 2026Feature Request: extension mode support — microsoft/playwright-cli5 reactions · 2 comments
- Aug 30, 2025MCP client for `playwright` failed to start: program not found — openai/codex4 reactions · 46 comments
15 more on GitHub
- Apr 7, 2025`StdioClientTransport#close()` does not wait until underlying process is closed — modelcontextprotocol/typescript-sdk4 reactions · 1 comment
- Aug 21, 2025Playwright MCP Initialization Fails on First Install Requiring Manual Restart — anthropics/claude-code3 reactions · 7 comments
- Aug 1, 2025Playwright browser is spawned in headless mode, when using internal MCP server, despite config saying otherwise — microsoft/copilot-intellij-feedback3 reactions · 1 comment
- Jul 7, 2026Bump the npm_and_yarn group across 7 directories with 23 updates — aggnhutquachcdc-roam/vscode2 reactions · 1 comment
- Jul 1, 2026Proposal: Official esa Agent Skills — esaio/esa-mcp-server2 reactions · 4 comments
- Dec 8, 2025`approval needed to continue` spam for auto approved tasks — microsoft/vscode2 reactions · 7 comments
- Sep 25, 2025[Feature]: Add support for custom headers to enable multi-tenant testing #925 — microsoft/playwright2 reactions · 1 comment
- Apr 6, 2025MCP client does not support ImageContent as tool result — RooCodeInc/Roo-Code2 reactions · 6 comments
- Mar 27, 2025[Server Submission]: playwright-mcp — cline/mcp-marketplace2 reactions
- Aug 7, 2026[deps] Update `@playwright/mcp` from 0.0.78 to 0.0.79 — github/gh-aw1 reaction · 3 comments
- Aug 7, 2026[ca] CLI version update: Claude Code, Codex, Playwright MCP, Pi (2026-08-07) — github/gh-aw1 reaction · 1 comment
- Jul 13, 2026[deps] Update `@playwright/mcp` from 0.0.77 to 0.0.78 — github/gh-aw1 reaction · 2 comments
- Jun 12, 2026[deps] Update `@playwright/mcp` from 0.0.75 to 0.0.76 — github/gh-aw1 reaction · 3 comments
- May 2, 2026[ca] chore: update CLI versions — Copilot 1.0.40, Playwright MCP 0.0.73 — github/gh-aw1 reaction
- May 2, 2026[ca] chore: update CLI versions — Copilot CLI 1.0.39 → 1.0.40, Playwright MCP 0.0.72 → 0.0.73 — github/gh-aw1 reaction · 1 comment
On Hacker News · 4
- Mar 26, 2025Playwright Tools for MCP181 points · 34 comments
- Mar 24, 2025Playwright MCP Server – Snapshot based – faster and more reliable than images6 points
- Mar 25, 2025Playwright MCP3 points
- Jan 24, 2026Playwright CLI1 point
On the web · 2
- Oct 3, 2026Microsoft Playwright MCP: The Official Server & GitHub Repo ... — playwright.aims-ai.com
- Jul 9, 2026Playwright MCP MCP Security Evaluation — trustvector.guard0.ai
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 70
Never add Co-Authored-By agents in commit message.
- Very specific: line 76
Create a branch: git checkout -b roll-pw-<version-suffix>.
- Very specific: line 77
Run npm test. Only proceed if all tests pass.
- Very specific: line 78
Commit with chore: roll Playwright to <version>, push, and open a PR against microsoft/playwright-mcp with the same title.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
How this repo depends on Playwright
This repo ships the npm package @playwright/mcp. The MCP server itself is in
microsoft/playwright, in packages/playwright-core/src/tools/: mcp/ has the server, its config
and its command line options, and backend/ has the tools.
- What this repo owns:
cli.jsandindex.js, which run the server of the pinnedplaywright-core, the types, the README, the Dockerfile, and the tests of the packaged server. - What is a copy or an output:
roll.jscopiesconfig.d.tsfrompackages/playwright-core/src/tools/mcp/config.d.ts, andnpm run lintgenerates the tools and options inREADME.mdfrom the tools. Change them upstream. - The pin:
package.jsonpins an alpha ofplaywrightandplaywright-core.npm view playwright-core@<alpha> gitHeadprints the upstream commit of an alpha, andnpm view @playwright/mcp@<version> dependencies.playwright-coreprints the alpha of a release. The pin is older than the tip of upstreammain. - Where a fix goes: most bugs and features are upstream. Work in a checkout of
microsoft/playwright,~/code/playwright, as itsAGENTS.mdsays. The tests of the server are itstests/mcp/. Fix here only what this repo owns. - How a fix arrives: with a roll, after
playwright@nexthas the upstream commit. The upstream PR saysRefs <issue url>for an issue of this repo, and the roll PR here saysFixes.
Paths such as ~/code/playwright
in this file assume that you check the repos out in ~/code.
Build and test
npm ci
npx playwright install --with-deps
npm run lint # regenerates README.md; CI fails when it changes a file
npm test # every project: chrome, msedge, chromium, firefox, webkit
npm run ctest # chrome only
npx playwright test tests/core.spec.ts --project=chromiumThere is no build step. Tests are in tests/*.spec.ts, with test and expect from
./fixtures. The client fixture is an MCP client that runs cli.js over stdio, startClient()
starts one with args or a config, and server and httpsServer serve the pages. Call a tool
with client.callTool({ name, arguments }) and check the result with toHaveResponse(). Add a case
to the test whose setup is closest instead of a new test, and run the file on every project.
Commit Convention
Semantic commit messages: label(scope): description
Labels: fix, feat, chore, docs, test, devops
git checkout -b fix-39562
# ... make changes ...
git add <changed-files>
git commit -m "$(cat <<'EOF'
fix(proxy): handle SOCKS proxy authentication
Fixes: https://github.com/microsoft/playwright/issues/39562
EOF
)"
git push origin fix-39562
gh pr create --repo microsoft/playwright --head username:fix-39562 \
--title "fix(proxy): handle SOCKS proxy authentication" \
--body "$(cat <<'EOF'
## Summary
- <describe the change very! briefly>
Fixes https://github.com/microsoft/playwright/issues/39562
EOF
)"Never add Co-Authored-By agents in commit message.
Branch naming for issue fixes: fix-<issue-number>
Rolling Playwright
- Run
node roll.js(ornpm run roll) to bumpplaywright,playwright-core, and@playwright/test, refreshconfig.d.ts, and regenerate the README. The script prints the resolved version — use its suffix for the branch name. It copiesconfig.d.tsfrom../playwright, a checkout ofmicrosoft/playwright: check out the commit that the new version was built from (npm view playwright-core@<version> gitHead) first. - Create a branch:
git checkout -b roll-pw-<version-suffix>. - Run
npm test. Only proceed if all tests pass. - Commit with
chore: roll Playwright to <version>, push, and open a PR againstmicrosoft/playwright-mcpwith the same title.
Preparing a Release
See .claude/skills/release.md.
Bots
The Playwright bot does the work below. It opens pull requests as the
microsoft-playwright-automation app. agent-triage.yml and
agent-review.yml hand it the labels:
agent-triageon an issue: finds the cause and fixes the issue if it can. A fix inmicrosoft/playwrightopens as a draft PR there.agent-implementon an issue: implements what the issue and the maintainers' comments say.agent-reviewon a PR: revises the PR, as the maintainers' review comments say.- agent-roll.yml and agent-release.yml, from the Actions tab: they hand a task to the bot. Roll Playwright to
playwright@next, as "Rolling Playwright" says. Or open thechore: mark v<version>PR with the release notes as its description, as the release skill says. Copy the notes into the release draft. - agent-task.yml, from the Actions tab: hands the bot the task that you type, with the skills of this repo.
Apply a label again to start another run.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

