drio
Open app

Puppeteer MCP Server

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

Puppeteer MCP Server is a browser automation tool that allows users to interact with web pages through Puppeteer, enabling both new browser instances and connections to existing Chrome windows.

To use the server, you can either launch a new browser instance or connect to an existing Chrome window with remote debugging enabled. Follow the provided instructions to set up and connect.

  • Navigate web pages - Take screenshots - Click elements - Fill forms - Select options - Hover elements - Execute JavaScript - Smart Chrome tab management
  1. Automating web testing and scraping tasks.
  2. Taking screenshots of web pages for documentation.
  3. Filling out forms automatically for testing purposes.

Add to your AI client

Use these steps to connect Puppeteer MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

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

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

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

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

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

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "merajmehrabi-puppeteer-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-merajmehrabi-puppeteer-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

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

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

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

FAQ

Can I connect to any Chrome instance?

Yes, as long as it has remote debugging enabled.

Is there a limit to the number of tabs I can manage?

No, you can manage multiple tabs as long as they are within the same Chrome instance.

Is Puppeteer MCP Server free to use?

Yes, it is open-source and free to use.