Puppeteer MCP server
MCP server by sultannaufal Verified · gh:sultannaufal
Puppeteer MCP server lets AI assistants control a browser through Puppeteer. It is self-hosted and suited to developers who want browser automation on their own infrastructure.
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 a self-hosted Model Context Protocol server that lets an AI assistant control a Chromium browser through Puppeteer. It provides 16 tools covering navigation, screenshots, clicks, form fields, JavaScript evaluation, advanced mouse actions, and cookie management. The server supports Streamable HTTP and legacy SSE transports, and it is protected by Bearer token API key authentication.
The server can be run with Docker Compose or installed manually with Node.js. Configuration covers ports, rate limits, session timeouts, and browser settings through environment variables. The source also lists health and stats endpoints for monitoring. The project is aimed at developers who want to run browser automation on their own infrastructure and connect it to clients such as Claude Code.
Written from the project's README and checked against it.
Tools it gives your assistant
puppeteer_navigateNavigates to URLs with safety validation.puppeteer_screenshotTakes full page or element screenshots.puppeteer_clickClicks elements with retry logic.puppeteer_fillFills input fields with validation.puppeteer_selectSelects options from dropdown elements.puppeteer_evaluateExecutes JavaScript with console capture.puppeteer_mouse_dragPerforms drag and drop between two coordinates.puppeteer_mouse_wheelScrolls with deltaX and deltaY control.puppeteer_set_cookiesSets authentication cookies such as session tokens or JWTs.puppeteer_get_cookiesRetrieves cookies for authentication state analysis.
What you need
- Node.js 18 or later
- npm 8 or later
- Docker 20.10 or later for containerized deployment
- An API key set in the environment
- Chromium, configured with PUPPETEER_EXECUTABLE_PATH
- About 1GB RAM recommended
Try asking
- Navigate to example.com and take a screenshot of the homepage.
- Fill the login form on this page and click the submit button.
- Drag the element at 100,100 to 300,200 on the current page.
Good to know
- The configuration table lists a test default API key, so the value must be changed.
- Default rate limit is 100 requests per 15-minute window.
- Docker on Windows requires WSL2.
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
Does Puppeteer MCP server support remote access?
Yes. The source describes remote SSE access along with Streamable HTTP and legacy SSE transports.
How is the server secured?
Requests require a Bearer token API key. The source also mentions CORS support, Helmet.js security headers, and a sandboxed Chromium browser.
Can Puppeteer MCP server run in Docker?
Yes. The source describes Docker containerization with multi-stage builds and a Docker Compose setup.
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 gh:sultannaufal from its verified domain in the official MCP Registry.
Is Puppeteer MCP server free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is Puppeteer MCP server safe to use?
It scores 42 of 100. Grades: maintenance F, licence F, quality C. 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.
