BeClaude

patchright-browser

New
17GitHub TrendingGeneralby rickicode

MCP server for browser automation via Patchright. Multi-profile Chromium, headed/headless, StreamableHTTP protocol. Includes dashboard, skills, and AI agent setup.

Summary

The patchright-browser MCP server enables Claude Code to control Chromium browsers for automated web tasks.

  • It supports multiple browser profiles, both headed and headless modes, and uses the StreamableHTTP protocol for efficient communication.
  • This skill is ideal for developers needing to automate complex browser interactions, such as form submissions, data extraction, or UI testing, directly from their coding environment.

Install & Usage

1
Open your MCP config
~/.claude.json
2
Add the server config

Add the configuration to "mcpServers": { "patchright-browser": { "command": "...", "args": [] } }

3
Restart Claude Code
/mcp

Use Cases

Automate login and data extraction from a web application that requires multi-step navigation.
Run headless browser tests for a web app across different user profiles without manual intervention.
Scrape dynamic content from a JavaScript-heavy website that traditional HTTP requests cannot handle.
Perform visual regression testing by capturing screenshots of web pages in headed mode.
Automate repetitive form submissions across multiple accounts using separate browser profiles.
Integrate browser automation into a CI/CD pipeline for end-to-end testing of web features.

Usage Examples

1

/patchright-browser navigate to https://example.com and take a screenshot

2

Use patchright-browser to log in to my admin panel, extract the user list, and save it as CSV

3

Run a headless browser session to test the checkout flow on my e-commerce site

View source on GitHub
mcpagent

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is patchright-browser?

The patchright-browser MCP server enables Claude Code to control Chromium browsers for automated web tasks. It supports multiple browser profiles, both headed and headless modes, and uses the StreamableHTTP protocol for efficient communication. This skill is ideal for developers needing to automate complex browser interactions, such as form submissions, data extraction, or UI testing, directly from their coding environment.

How to install patchright-browser?

To install patchright-browser: open your mcp config (~/.claude.json), then add the config to "mcpServers": { "patchright-browser": { "command": "...", "args": [] } }. Finally, /mcp in Claude Code.

What is patchright-browser best for?

patchright-browser is a mcp categorized under General. It is designed for: mcp, agent. Created by rickicode.

What can I use patchright-browser for?

patchright-browser is useful for: Automate login and data extraction from a web application that requires multi-step navigation.; Run headless browser tests for a web app across different user profiles without manual intervention.; Scrape dynamic content from a JavaScript-heavy website that traditional HTTP requests cannot handle.; Perform visual regression testing by capturing screenshots of web pages in headed mode.; Automate repetitive form submissions across multiple accounts using separate browser profiles.; Integrate browser automation into a CI/CD pipeline for end-to-end testing of web features..