Puppeteer
OfficialMCP server for browser automation using Puppeteer - navigate, click, screenshot, and more.
claude mcp add --transport stdio modelcontextprotocol-server-puppeteer npx -y @modelcontextprotocol/server-puppeteer
How to use
The Puppeteer MCP server allows you to automate browser interactions using Puppeteer, enabling you to navigate pages, take screenshots, and manipulate web elements programmatically. Developers can leverage this server for testing, web scraping, and any task that requires automated browser actions, streamlining workflows and enhancing productivity.
Once connected to the Puppeteer MCP server, you can utilize its suite of tools to automate various browser tasks. For instance, use puppeteer_navigate to visit a specific URL, puppeteer_click to interact with elements on the page, or puppeteer_screenshot to capture visual snapshots. You can also fill input fields with puppeteer_fill, select options from dropdowns using puppeteer_select, and run custom JavaScript with puppeteer_evaluate. These commands are designed to execute seamlessly, allowing you to craft complex browser automation scripts.
How to install
Prerequisites
- Node.js (version 12 or above) installed on your machine.
- An active internet connection to download the necessary packages.
Option A: Quick Start with npx
You can quickly start using the Puppeteer MCP server with the following command:
npx -y @modelcontextprotocol/server-puppeteer
Option B: Global Install Alternative
If you prefer to install the server globally, use this command:
npm install -g @modelcontextprotocol/server-puppeteer
After installation, you can run the server using modelcontextprotocol-server-puppeteer.
Additional notes
When configuring the Puppeteer MCP server, ensure that you have the necessary permissions for the browser actions you intend to automate, as some tasks may require elevated privileges. Additionally, consider setting environment variables such as PUPPETEER_SKIP_DOWNLOAD=true if you want to skip the automatic download of Chromium. Be aware that running headless browsers can sometimes lead to differences in rendering, so always test your automation in a real browser when possible.
Available tools
puppeteer_navigate
Navigate to a URL
puppeteer_screenshot
Take a screenshot
puppeteer_click
Click an element
puppeteer_fill
Fill an input field
puppeteer_select
Select from a dropdown
puppeteer_hover
Hover over an element
puppeteer_evaluate
Execute JavaScript in the page
Related MCP Servers
chrome-devtools
Chrome DevTools for coding agents
mcp -browserbase
Allow LLMs to control a browser with Browserbase and Stagehand
example
A ready-to-use MCP (Model Context Protocol) server template for extending Cursor IDE with custom tools. Deploy your own server to Heroku with one click, create custom commands, and enhance your Cursor IDE experience. Perfect for developers who want to add their own tools and commands to Cursor IDE without complex setup.
mcp-browser-agent
A Model Context Protocol (MCP) integration that provides Claude Desktop with autonomous browser automation capabilities. This agent enables Claude to interact with web content, manipulate DOM elements, execute JavaScript, and perform API requests.
review-flow
Automated AI code reviews powered — webhook-driven, real-time dashboard, MCP integration, smart queue with deduplication, multi-agent audits, and iterative follow-up reviews for GitLab MRs and GitHub PRs
mcp-screenshot
An MCP server that provides AI assistants with screenshot capabilities — both web page capture via Puppeteer and cross-platform system screenshots using native OS tools.