Parfournir.
Skills/merajmehrabi/Puppeteer Mcp Server

Puppeteer Mcp Server

Experimental MCP server for browser automation using Puppeteer (inspired by @modelcontextprotocol/server-puppeteer)

MITmcp-server
Install
npm
npx puppeteer-mcp-server
SKILL.md

Puppeteer MCP Server

![smithery badge](https://smithery.ai/server/@merajmehrabi/puppeteer-mcp-server)
This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.

Acknowledgment

This project is an experimental implementation inspired by @modelcontextprotocol/server-puppeteer. While it shares similar goals and concepts, it explores alternative approaches to browser automation through the Model Context Protocol.

<a href="https://glama.ai/mcp/servers/lpt1tvbubf"></a>

Features

  • Navigate web pages
  • Take screenshots
  • Click elements
  • Fill forms
  • Select options
  • Hover elements
  • Execute JavaScript
  • Smart Chrome tab management:

  • - Connect to active Chrome tabs
    - Preserve existing Chrome instances
    - Intelligent connection handling

    Project Structure

    /
    ├── src/
    │ ├── config/ # Configuration modules
    │ ├── tools/ # Tool definitions and handlers
    │ ├── browser/ # Browser connection management
    │ ├── types/ # TypeScript type definitions
    │ ├── resources/ # Resource handlers
    │ └── server.ts # Server initialization
    ├── index.ts # Entry point
    └── README.md # Documentation

    Installation

    Option 1: Install from npm

    npm install -g puppeteer-mcp-server
    

    You can also run it directly without installation using npx:

    npx puppeteer-mcp-server
    

    Option 2: Install from source

  • Clone this repository or download the source code
  • Install dependencies:
  • npm install
    

  • Build the project:
  • npm run build
    

  • Run the server:
  • npm start
    

    MCP Server Configuration

    To use this tool with Claude, you need to add it to your MCP settings configuration file.

    For Claude Desktop App

    Add the following to your Claude Desktop configuration file (located at %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

    If installed globally via npm:

    {
    "mcpServers": {
    "puppeteer": {
    "command": "puppeteer-mcp-server",
    "args": [],
    "env": {}
    }
    }
    }

    Using npx (without installation):

    {
    "mcpServers": {
    "puppeteer": {
    "command": "npx",
    "args": ["-y", "puppeteer-mcp-server"],
    "env": {}
    }
    }
    }

    If installed from source:

    {
    "mcpServers": {
    "puppeteer": {
    "command": "node",
    "args": ["path/to/puppeteer-mcp-server/dist/index.js"],
    "env": {
    "NODE_OPTIONS": "--experimental-modules"
    }
    }
    }
    }

    For Claude VSCode Extension

    Add the following to your Claude VSCode extension MCP s

    ... [truncated — view full README on GitHub]

    Details

    Categorybrowser
    Typemcp-server
    Sourcenpm
    LicenseMIT
    Versionv0.7.2

    Use this skill

    Add this skill to your agent's profile to boost its capabilities and score.

    Add to My Agent