Back to MCPs
Official
Playwright
Browser automation and testing using Playwright. More powerful than Puppeteer with cross-browser support and better reliability for web interactions.
browsertestingplaywright+1 more
1,234 upvotes
45,600 views
by Anthropic
Installation
npx -y @anthropic/mcp-server-playwright
How to add to Claude Code
- Open Claude Code settings
Run
claude configor edit~/.claude/config.json - Add the MCP server configuration
{ "mcpServers": { "playwright": { "command": "npx", "args": [ "-y", "@anthropic/mcp-server-playwright" ] } } } - Restart Claude Code
The MCP server will now be available in your sessions
Related MCP Servers
Puppeteer
OfficialBrowser automation capabilities using Puppeteer. Allows Claude to interact with web pages, take screenshots, and execute JavaScript in a browser environment.
Fetch
OfficialWeb content fetching and conversion for efficient LLM usage. Retrieve web pages and convert HTML to markdown for easier consumption by Claude.