← Back to MCP servers

Model Context Protocol

Puppeteer MCP Server

Control headless Chrome for browser automation, screenshots, and web scraping via Puppeteer.

No auth required

Last reviewed Mar 2, 2026

Install

claude mcp add puppeteer --transport stdio -- npx -y @modelcontextprotocol/server-puppeteer
Scope: project

Available tools

ToolDescription
navigateNavigate the browser to a URL
screenshotCapture a screenshot of the current page
clickClick on a page element by selector
typeType text into an input element
evaluateExecute 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

  1. Install the server using the command above. Puppeteer will download a compatible version of Chromium automatically on first run.
  2. No API keys or authentication are needed -- everything runs locally on your machine.
  3. The server launches Chrome in headless mode by default, which is suitable for most automation tasks.
  4. 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.