Puppeteer MCP Server
MCP server by merajmehrabi Verified · npm:puppeteer-mcp-server
Puppeteer MCP Server gives AI assistants browser automation through Puppeteer. It can navigate pages, take screenshots, fill forms and run JavaScript. It can also connect to an existing Chrome window with remote debugging enabled.
Install Puppeteer MCP Server
Built from the published package, never by AI.
claude mcp add puppeteer-mcp-server -- npx -y puppeteer-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"puppeteer-mcp-server": {
"args": [
"-y",
"puppeteer-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Puppeteer MCP Server in Claude Desktop
{
"mcpServers": {
"puppeteer-mcp-server": {
"args": [
"-y",
"puppeteer-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"puppeteer-mcp-server": {
"args": [
"-y",
"puppeteer-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add puppeteer-mcp-server -- npx -y puppeteer-mcp-server{
"mcpServers": {
"puppeteer-mcp-server": {
"args": [
"-y",
"puppeteer-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Puppeteer MCP Server in Antigravity CLI
gemini mcp add puppeteer-mcp-server npx -y puppeteer-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the puppeteer-mcp-server block.
About
Puppeteer MCP Server is an MCP server that provides browser automation through Puppeteer. It can launch a new browser instance by default. It can also connect to an existing Chrome window that was started with remote debugging enabled, using the puppeteer_connect_active_tab tool.
The server exposes tools for navigating to URLs, taking screenshots, clicking, filling input fields, selecting dropdown options, hovering over elements and executing JavaScript. It logs browser operations and tool results to daily log files using Winston. The source describes it as an experimental project inspired by @modelcontextprotocol/server-puppeteer. It is aimed at users of Claude who want their assistant to control a browser.
Written from the project's README and checked against it.
Tools it gives your assistant
puppeteer_connect_active_tabConnects to an existing Chrome instance with remote debugging enabled.puppeteer_navigateNavigates the browser to a given URL.puppeteer_screenshotTakes a screenshot of the page or a specific element.puppeteer_clickClicks an element on the page using a CSS selector.puppeteer_fillFills out an input field with a given value.puppeteer_selectSelects an option in a dropdown menu.puppeteer_hoverHovers over an element on the page.puppeteer_evaluateExecutes JavaScript in the browser console.
What you need
- Node.js and npm
- Google Chrome for active tab mode
- Claude Desktop or the Claude VSCode extension for configuration
Try asking
- Open example.com and take a screenshot of the main heading.
- Connect to my open Chrome tab and click the login button.
- Fill the search box with my query and hover over the first result.
Good to know
- Described as an experimental implementation.
- Active tab mode requires Chrome started with remote debugging enabled.
- The source advises enabling remote debugging only on trusted networks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Puppeteer MCP Server
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.
Compare with browser-use, Pomerado or Selenide
Puppeteer MCP Server: common questions
Is this an official MCP server?
The source describes it as an experimental implementation inspired by @modelcontextprotocol/server-puppeteer. It does not state that it is official.
Can it control a Chrome window I already have open?
Yes. Start Chrome with --remote-debugging-port, then use the puppeteer_connect_active_tab tool. The source says the server preserves the Chrome instance and does not close it.
Where are the server logs stored?
Logs are written to the logs/ directory as mcp-puppeteer-YYYY-MM-DD.log files. The source says they rotate daily and are kept for 14 days.
How do I install Puppeteer MCP Server?
In Claude Code run claude mcp add puppeteer-mcp-server -- npx -y puppeteer-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Puppeteer MCP Server the official server?
Puppeteer MCP Server is published by npm:puppeteer-mcp-server from its verified domain in the official MCP Registry.
Is Puppeteer MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Puppeteer MCP Server safe to use?
It scores 61 of 100. Grades: maintenance F, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Puppeteer MCP Server?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does Puppeteer MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
