MCPSERV.CLUB
robertheadley

Chrome Debug MCP Server (Playwright)

MCP Server

Automate Chrome with Playwright and Greasemonkey API support

Stale(50)
42stars
1views
Updated Sep 12, 2025

About

This MCP server enables browser automation via Playwright, offering full Greasemonkey API support for userscript injection, multi‑tab management, network interception, and detailed logging. Ideal for developers needing programmable Chrome debugging and scripting capabilities.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Chrome Debug MCP Server

The Chrome Debug MCP Server is a purpose‑built Model Context Protocol implementation that lets AI assistants such as Claude control and debug Chromium‑based browsers via Playwright. By exposing a rich set of browser‑management commands, it bridges the gap between conversational AI and real‑world web interaction. Developers can ask an assistant to open pages, navigate through tabs, capture screenshots, and even manipulate page content—all without leaving the chat interface.

At its core, the server solves a common pain point: orchestrating complex browser workflows programmatically while maintaining state and context. Traditional automation scripts require manual scripting or a separate test runner; this MCP server turns those actions into lightweight, declarative commands that can be issued on demand. The result is a more fluid development cycle where UI testing, data scraping, and debugging can be triggered from within an AI conversation, reducing context switching and speeding up iteration.

Key capabilities are grouped into intuitive categories. Browser management covers launching a browser instance, creating, switching, and closing tabs, and navigating to arbitrary URLs. Greasemonkey API support brings a familiar userscript interface—, , , and cross‑origin requests—allowing developers to inject CSS, store persistent data, or perform background network calls without writing additional code. Resource interception gives fine‑grained control over network traffic: requests can be blocked, modified, or logged based on pattern matching, which is invaluable for performance testing and content filtering. Finally, a robust debugging subsystem captures detailed logs, timestamps, and organizes them into files, ensuring that every interaction can be reviewed or replayed.

Real‑world scenarios illustrate its versatility. In a QA pipeline, an AI could automatically open the latest build, run a suite of navigation tests, capture screenshots on failure, and report results—all through chat commands. For web developers, the server enables rapid prototyping of userscript logic by injecting styles or data storage commands and observing their effect in real time. Data scientists can leverage to pull APIs directly into the browser context, while security researchers use request interception to monitor and block malicious traffic during penetration tests.

Integration with existing AI workflows is seamless. The server’s commands are exposed via the MCP SDK, allowing any compliant client to issue them as if they were native functions. Because each command is stateless and returns structured results, the assistant can chain operations, handle errors gracefully, and maintain conversational context. The combination of Playwright’s powerful automation engine with the MCP interface gives developers a flexible, extensible tool that elevates browser interaction from ad‑hoc scripts to conversationally driven workflows.