Puppeteer MCP Server

Browser Automationstdiov0.6.2
Repository

Provides browser automation capabilities through the Model Context Protocol using Puppeteer. Enables AI agents to navigate web pages, take screenshots, click elements, fill forms, and execute JavaScript in a browser context. Useful for web scraping, testing, and interacting with web applications programmatically. Originally part of the reference servers, now archived and available in servers-archived.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "puppeteer": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-puppeteer"
      ]
    }
  }
}

Tools (5)

puppeteer_navigate

Navigate the browser to a specified URL and wait for the page to load.

{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "URL to navigate to"
    }
  }
}

puppeteer_screenshot

Take a screenshot of the current page or a specific element.

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for the screenshot"
    },
    "width": {
      "type": "integer",
      "description": "Viewport width in pixels"
    },
    "height": {
      "type": "integer",
      "description": "Viewport height in pixels"
    },
    "selector": {
      "type": "string",
      "description": "CSS selector of element to screenshot (captures full page if omitted)"
    }
  }
}

puppeteer_click

Click on an element identified by a CSS selector.

{
  "type": "object",
  "required": [
    "selector"
  ],
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector of the element to click"
    }
  }
}

puppeteer_fill

Fill a form input field with the specified value.

{
  "type": "object",
  "required": [
    "selector",
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "description": "Value to fill into the field"
    },
    "selector": {
      "type": "string",
      "description": "CSS selector of the input field"
    }
  }
}

puppeteer_evaluate

Execute JavaScript code in the browser page context and return the result.

{
  "type": "object",
  "required": [
    "script"
  ],
  "properties": {
    "script": {
      "type": "string",
      "description": "JavaScript code to execute in the browser"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Anthropic (@modelcontextprotocol)
Repository
https://github.com/modelcontextprotocol/servers-archived
License
MIT
Version
0.6.2
Stars
86,200
Last Updated
January 27, 2026