drio
Open app

Configurable Puppeteer MCP Server

Source

Configurable Puppeteer MCP Server

Catalog onlyCatalog onlySTDIO

Overview

Configurable Puppeteer MCP Server is a Model Context Protocol server that provides browser automation capabilities using Puppeteer with customizable options.

To use the server, configure Puppeteer launch options through the PUPPETEER_ARGS environment variable and run the server using NPX with the specified command.

  • Browser automation capabilities - Console log monitoring - Screenshot capturing - JavaScript execution in the browser - Basic web interactions like navigation, clicking, and form filling - Configurable Puppeteer options through environment variables
  1. Automating web testing and scraping tasks.
  2. Taking screenshots of web pages for documentation.
  3. Executing JavaScript for dynamic content manipulation.
  4. Monitoring console logs for debugging web applications.

Add to your AI client

Use these steps to connect Configurable 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": {
    "mcp-configurable-puppeteer-afshawnlotfi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-configurable-puppeteer-afshawnlotfi"
      ]
    }
  }
}

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": {
    "mcp-configurable-puppeteer-afshawnlotfi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-configurable-puppeteer-afshawnlotfi"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

Can I customize the browser used by the server?

Yes! You can customize the browser by providing specific launch options in the `PUPPETEER_ARGS` environment variable.

Is it possible to capture screenshots of specific elements?

Yes! You can specify a CSS selector to capture screenshots of specific elements on the page.

What programming language is the server built with?

The server is built using JavaScript.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2711,"uuid":"1cd81761-1d47-4a78-abc6-0654c587ca8b","name":"mcp-configurable-puppeteer","title":"Configurable Puppeteer MCP Server","description":"Configurable Puppeteer MCP Server","avatar_url":"https://avatars.githubusercontent.com/u/6283745?v=4","created_at":"2025-03-13T09:47:51.352Z","updated_at":"2025-03-13T09:50:24.123Z","status":"created","author_name":"afshawnlotfi","author_avatar_url":"https://avatars.githubusercontent.com/u/6283745?v=4","tags":"puppeteer,browser-automation,mcp-server","category":"browser-automation","is_featured":false,"sort":1,"url":"https://github.com/afshawnlotfi/mcp-configurable-puppeteer","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-08 22:21:43\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]