MCP.so
ログイン

Puppeteer MCP Server

@rotexhawk

基本情報

カテゴリ

ブラウザ自動化

ライセンス

Apache-2.0

トランスポート

stdio

作者

rotexhawk

Puppeteer MCP Server について

MCP Puppeteer Server HomeAssistant Add-on

Puppeteer MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "Mcp-Puppeteer-Server": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp/puppeteer",
        "-f",
        "src/puppeteer/Dockerfile",
        "."
      ]
    }
  }
}

Puppeteer MCP Server のツール

7

Navigate to any URL in the browser

Capture screenshots of the entire page or specific elements

Click elements on the page

Hover elements on the page

Fill out input fields

Select an element with SELECT tag

Execute JavaScript in the browser console

概要

What is Puppeteer?

Puppeteer is an MCP server that provides browser automation capabilities using Puppeteer, enabling LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

How to use Puppeteer?

You can run Puppeteer via Docker (using headless Chromium) or via NPX. Configure it in your MCP client (e.g., Claude Desktop) with the command and arguments provided in the README.

Key features of Puppeteer

  • Browser navigation to any URL
  • Screenshot capture of full page or elements
  • Click, hover, fill, and select on web pages
  • Execute arbitrary JavaScript in the browser
  • Monitor console logs from the browser

Use cases of Puppeteer

  • Automate web browsing tasks for LLM-driven workflows
  • Capture screenshots of web pages for analysis or record-keeping
  • Interact with web forms and extract data programmatically

よくある質問

1

What is the difference between Docker and NPX usage?

The Docker implementation runs headless Chromium, while the NPX version opens a visible browser window.

2

What resources does Puppeteer provide?

It provides access to console logs via `console://logs` and screenshots via `screenshot://<name>` as PNG images.

3

What dependencies are required to run Puppeteer?

You need either Docker or Node.js with NPX installed, along with a compatible MCP client (e.g., Claude Desktop).

4

How are screenshots stored and accessed?

Screenshots are stored in memory and accessible via the name specified during capture using the resource URI `screenshot://<name>`.

5

Can Puppeteer run without a display server?

Yes, when using Docker the browser runs headless, so no display server is required.

コメント

「ブラウザ自動化」の他のコンテンツ