Skip to main content
bash TV

Playwright MCP + Claude Code: Setup in One Command

TestMu AI (Formerly LambdaTest)

172 views3 Dec 2026

YouTube

Playwright MCP setup for Claude Code, in one command: claude mcp add playwright npx @playwright/mcp@latest That adds Microsoft's official Playwright MCP server. Start a new Claude Code session, type /mcp, and check that playwright shows as connected. Claude reads the page through the accessibility tree, not screenshots. Tips: - Use it in every project: claude mcp add --scope user playwright -- npx @playwright/mcp@latest - Share it with your team: --scope project (writes .mcp.json) - Pass Playwright flags like --headless after the double dash Then turn what Claude found into a real test with KaneAI. Full guide, Playwright with Claude Code: https://www.testmuai.com/blog/playwright-mcp-claude-code/ Try KaneAI: https://www.testmuai.com/kane-ai/ #PlaywrightMCP #ClaudeCode #Playwright 🌐 Visit us: https://testmuai.com

Join the discussion

Have something to add?

Sign in to reply, follow this thread, and earn XP when your answer helps someone.