Playwright MCP Server — Let Your AI Control a Real Browser (29K Stars)
Microsoft's Playwright MCP server gives your AI assistant a real browser. Not a screenshot parser — actual browser control. Navigate pages, fill forms, click buttons, extract data. 29.3K stars and it's official from Microsoft.
Here's the setup and what you can actually do with it.
Why This Matters
Without browser MCP, your AI can only work with text and code. With Playwright MCP, it can:
- Test your app — "Open localhost:3000, click the login button, verify the dashboard loads"
- Scrape data — "Go to this page and extract all the product prices"
- Fill forms — "Submit this contact form with these details"
- Debug visually — "Take a screenshot of the page after clicking checkout"
Setup: Claude Desktop
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@anthropic-ai/mcp-server-playwright"]
}
}
}
Setup: Claude Code
claude mcp add playwright npx -y @anthropic-ai/mcp-server-playwright
Setup: Cursor
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@anthropic-ai/mcp-server-playwright"]
}
}
}
What You Can Do
E2E Testing on the fly:
> "Open my app at localhost:3000, create a new account with test credentials, then verify the welcome email content appears"
Web scraping:
> "Go to news.ycombinator.com, get the top 10 stories with their point counts and comment counts"
Form automation:
> "Fill out the job application form at this URL with my details from resume.md"
Visual debugging:
> "Navigate to the checkout page, take a screenshot, and tell me if the total price is correct"
Alternatives
If Playwright isn't your style, there are other browser MCP servers:
- Chrome DevTools MCP (30.5K stars) — uses Chrome's DevTools protocol directly
- Scrapling (31.4K stars) — focused on web scraping with anti-detection
- Puppeteer MCP — lighter alternative using Puppeteer
Browse all browser MCP servers at Protodex — Browser/Web category.
*Browse 5,618 MCP servers with one-click install for Claude Desktop, Cursor, Goose, and more at protodex.io — 5,618 servers indexed with security scores.*