MCP.so
登录

Chrome Debug MCP Playwright

@robertheadley

基本信息

分类

浏览器自动化

许可证

NOASSERTION

传输方式

stdio

作者

robertheadley

关于 Chrome Debug MCP Playwright

An MCP server to allow you to debug webpages using LLMs

Chrome Debug MCP Playwright 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Chrome Debug MCP Playwright 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Chrome Debug MCP Playwright?

Chrome Debug MCP Playwright is a Model Context Protocol (MCP) server that enables browser automation using Playwright, with full Greasemonkey API support. It is designed for developers who need programmatic control over Chromium-based browsers and want to inject userscripts with storage, notification, clipboard, and cross-origin request capabilities.

How to use Chrome Debug MCP Playwright?

Install via npm install chrome-debug-mcp-playwright. Then launch a browser with tool browser launch_browser --url "https://example.com" and use additional tools for page interaction, tab management, Greasemonkey operations, and request interception. A full command reference is available in COMMANDS.md.

Key features of Chrome Debug MCP Playwright

  • Browser launch and management for Chromium-based browsers
  • Multi-tab support with create, switch, and close capabilities
  • Full Greasemonkey API: GM_addStyle, GM_getValue, GM_setValue, GM_deleteValue, GM_notification, GM_setClipboard, GM_xmlhttpRequest
  • Network request interception with blocking, modification, and logging
  • Resource type filtering for granular control
  • Screenshot capture of browser pages
  • Detailed logging system with timestamped entries in organized log files

Use cases of Chrome Debug MCP Playwright

  • Automate web interactions across multiple tabs, such as form filling and navigation
  • Inject and test userscripts with Greasemonkey storage and notification APIs
  • Debug web applications by intercepting and logging network requests
  • Capture screenshots of pages for visual regression testing
  • Block or modify resource loading (e.g., images, CSS) during automated sessions

常见问题

1

What Greasemonkey API functions are supported?

Chrome Debug MCP Playwright supports `GM_addStyle`, `GM_getValue`, `GM_setValue`, `GM_deleteValue`, `GM_notification`, `GM_setClipboard`, and `GM_xmlhttpRequest`.

2

What are the system requirements?

You need Node.js 16 or higher, npm 7 or higher, and the Playwright browser automation library (installed automatically as a dependency).

3

How do I launch a browser and navigate to a URL?

Use the `launch_browser` tool with the `--url` flag, e.g., `tool browser launch_browser --url "https://example.com" --browserType "chromium"`.

4

Does this server support multiple browser tabs?

Yes, it includes tools to create, switch, and close tabs, allowing you to manage multiple concurrent pages.

评论

浏览器自动化 分类下的更多 MCP 服务器