Model Context Protocol
Puppeteer MCP Server
Control headless Chrome for browser automation, screenshots, and web scraping via Puppeteer.
Last reviewed Mar 2, 2026
Install
claude mcp add puppeteer --transport stdio -- npx -y @modelcontextprotocol/server-puppeteerAvailable tools
| Tool | Description |
|---|---|
| navigate | Navigate the browser to a URL |
| screenshot | Capture a screenshot of the current page |
| click | Click on a page element by selector |
| type | Type text into an input element |
| evaluate | Execute JavaScript code in the browser |
What it does
The Puppeteer MCP Server provides browser automation through Google's Puppeteer library, giving your AI coding assistant the ability to control a headless Chrome instance. It can navigate pages, interact with DOM elements, capture screenshots, and run JavaScript -- making it a versatile tool for testing and web interaction.
Puppeteer is one of the most established browser automation libraries in the Node.js ecosystem. This MCP server wraps its capabilities in a clean interface that AI assistants can use to help you test web applications, scrape data, and debug front-end issues.
Use cases
- Automate browser-based testing of your web application during development
- Capture screenshots to verify UI rendering and visual changes
- Scrape structured data from web pages for research or data collection
- Debug front-end rendering issues by inspecting the live DOM
- Test JavaScript execution in a real browser environment
- Automate repetitive browser tasks like form filling and navigation
Getting started
- Install the server using the command above. Puppeteer will download a compatible version of Chromium automatically on first run.
- No API keys or authentication are needed -- everything runs locally on your machine.
- The server launches Chrome in headless mode by default, which is suitable for most automation tasks.
- For debugging visual issues, you may want to configure headed mode so you can see the browser window. Check the server documentation for configuration options.
Compatibility
Related MCP servers
AWS MCP Server
Interact with AWS services including S3, Lambda, CloudWatch, and ECS from your AI coding assistant.
Context7 MCP Server
Fetch up-to-date library documentation and code examples directly into your AI coding assistant.
Docker MCP Server
Manage Docker containers, images, and builds directly from your AI coding assistant.