
A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

An MCP server that exposes a single execute tool running JavaScript in a Node.js VM with a Puppeteer browser global for full API access in one call.
Puppeteer-based MCP server for browser automation is cataloged as an MCP server attributed to iatsiuk. An MCP server that exposes a single execute tool running JavaScript in a Node.js VM with a Puppeteer browser global for full API access in one call. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: WTFPL. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Puppeteer-based MCP server for browser automation are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. The VM isolates code for convenience, not security, and is not designed to run untrusted code.
It is not designed for multi-tenant or shared server deployments, executing untrusted code from external sources, or building web services that accept arbitrary user input.
Yes. By default it downloads Chrome for Testing, but you can point the CHROME_PATH environment variable at your system Chrome executable instead.
README.md · e586f1bb7feb · Fetched 2026-11-13 11:37:53 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
MCP server for browser automation via Puppeteer. Unlike other browser MCPs that expose fixed tools (navigate, click, screenshot), this server executes arbitrary JavaScript code with direct access to the Puppeteer Browser instance.
Most browser MCP servers provide a limited set of predefined actions. This approach requires multiple round-trips for complex workflows and can't handle edge cases.
pptr-mcp takes a different approach: it exposes a single execute tool that runs your JavaScript code in a Node.js VM with a browser global. You write Puppeteer code directly, getting full API access in one call.
Traditional MCP (5 round-trips) pptr-mcp (1 round-trip)
================================ ================================
Agent Server Agent Server
| | | |
|-- navigate --->| |-- execute ---->|
|<-- ok ---------| | |
| | | +------------------------+
|-- waitFor ---->| | | const page = await |
|<-- ok ---------| | | browser.newPage(); |
| | | | await page.goto(url); |
|-- click ------>| | | await page.click(s); |
|<-- ok ---------| | | await page.type(i, t); |
| | | | return await |
|-- type ------->| | | page.screenshot(); |
|<-- ok ---------| | +------------------------+
| | | |
|-- screenshot ->| |<-- result -----|
|<-- image ------| | |
| | | |
npm install -g pptr-mcp
Add to your MCP client config (e.g., Claude Desktop):
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": ["pptr-mcp"]
}
}
}
With CLI options:
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": ["pptr-mcp", "--no-headless", "--viewport=1080p"]
}
}
}
With custom Chrome flags (after --):
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": [
"pptr-mcp",
"--viewport=1280x720",
"--",
"--proxy-server=http://proxy:8080"
]
}
}
}
| Option | Description |
|---|---|
--no-headless | Run with visible browser window |
--viewport=VALUE | Set viewport size (e.g., 1920x1080 or 1080p) |
--help, -h | Show help |
-- [args] | Pass remaining args to Chrome |
Unknown options before -- are also passed to Chrome.
Install as a Claude Code plugin:
/plugin marketplace add iatsiuk/pptr-mcp
/plugin install pptr-mcp@pptr-mcp
| Variable | Description |
|---|---|
CHROME_PATH | Path to Chrome executable |
PUPPETEER_EXECUTABLE_PATH | Alternative to CHROME_PATH |
PUPPETEER_CACHE_DIR | Browser download cache directory |
PPTR_MCP_TIMEOUT | Execution timeout in ms (default: 30000) |
Executes JavaScript code with access to Puppeteer browser.
| Name | Type | Default | Description |
|---|---|---|---|
code | string | required | JavaScript code to execute |
persistent | boolean | true | Reuse browser session across calls |
Show browser window during execution:
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": ["pptr-mcp", "--no-headless"]
}
}
}
Use your own Chrome profile with saved logins and cookies:
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": ["pptr-mcp", "--", "--user-data-dir=/path/to/profile"]
}
}
}
By default, pptr-mcp downloads Chrome for Testing - a version optimized and tested for the bundled Puppeteer. To use your system Chrome instead:
{
"mcpServers": {
"puppeteer": {
"command": "npx",
"args": ["pptr-mcp"],
"env": {
"CHROME_PATH": "/path/to/chrome"
}
}
}
}
This server is designed for trusted local development with LLM assistants (Claude Code, Cursor, etc.). The executing code comes from the LLM at your request.
--no-sandbox flag is used for Docker/container compatibility.persistent: true (default), cookies and browser state are preserved across calls. Use persistent: false for isolation.Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Puppeteer-based MCP server for browser automation from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/pptr-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.