Browser Automation · Developer Tools

Better Playwright MCP logo

Better Playwright MCP

livoras/better-playwright-mcp

A high-performance Playwright MCP (Model Context Protocol) server with intelligent DOM compression and content search capabilities for browser automation.

Install

npm install -g better-playwright-mcp3
Author
@livoras
Category
Browser Automation, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Full Playwright browser automation via MCP

  • Client-server architecture with HTTP API

  • Ref-based element identification system ([ref=e1], [ref=e2], etc.)

  • Powerful regex-based content search using ripgrep

  • Persistent browser profiles with Chrome

  • 91%+ DOM compression with intelligent list folding

  • Semantic HTML snapshots using Playwright's internal APIs

  • High-performance search with safety limits

Tools (18)

  • createPage

    Create a new browser page with name and description

  • closePage

    Close a specific page

  • browserClick

    Click an element using its ref identifier

  • browserType

    Type text into an element

  • browserHover

    Hover over an element

  • browserSelectOption

    Select options in a dropdown

  • browserPressKey

    Press keyboard keys

  • browserFileUpload

    Upload files to file input

  • browserHandleDialog

    Handle browser dialogs (alert, confirm, prompt)

  • browserNavigate

    Navigate to a URL

  • browserNavigateBack

    Go back to previous page

  • browserNavigateForward

    Go forward to next page

  • scrollToBottom

    Scroll to bottom of page/element

  • scrollToTop

    Scroll to top of page/element

  • waitForTimeout

    Wait for specified milliseconds

  • waitForSelector

    Wait for element to appear

  • searchSnapshot

    Search page content using regex patterns (powered by ripgrep)

  • screenshot

    Take a screenshot (PNG/JPEG)

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Browser Automation
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Browser Automation
Browser Tools MCP logo

Browser Tools MCP

AgentDeskAI/browser-tools-mcp

3.8k

Give your AI coding agent eyes on the browser. BrowserTools MCP streams console output, network activity, screenshots and Lighthouse audits from your real Chrome session — the one already logged into your app — to any MCP-compatible client: Cursor, Claude Code, Windsurf, Cline, Zed, Gemini CLI, and others.

Browser Automation
MCP Playwright logo

MCP Playwright

executeautomation/mcp-playwright

3.3k

A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, generate test code, web scrapes the page and execute JavaScript in a real browser environment.

Browser Automation
Browserbase logo

Browserbase

browserbase/mcp-server-browserbase

1.4k

The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.

Browser Automation
Browser MCP Peo logo

Browser MCP Peo

browsermcp/mcp

1.2k

Browser MCP is an MCP server + Chrome extension that allows you to automate your browser using AI applications like VS Code, Claude, Cursor, and Windsurf.

Browser Automation