MCP.so
ログイン

MCP Server Playwright

@thesimsguy

基本情報

カテゴリ

ブラウザ自動化

ライセンス

MIT license

トランスポート

stdio

作者

thesimsguy

MCP Server Playwright について

概要はまだありません

MCP Server Playwright の設定

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

{
  "mcpServers": {
    "mcp-server-playwright-thesimsguy": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@automatalabs/mcp-server-playwright",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Server Playwright のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is MCP Server Playwright?

MCP Server Playwright is a Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. It enables large language models (LLMs) to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

How to use MCP Server Playwright?

Install the server via Smithery (npx -y @smithery/cli install @automatalabs/mcp-server-playwright --client claude) or using npx (npx @automatalabs/mcp-server-playwright install) or mcp-get. The installation process checks OS compatibility and automatically creates or updates the Claude desktop configuration file at the appropriate path. The required configuration adds a playwright entry under mcpServers in the Claude config.

Key features of MCP Server Playwright

  • Full browser automation capabilities
  • Screenshot capture of entire pages or specific elements
  • Comprehensive web interaction (navigation, clicking, form filling)
  • Console log monitoring
  • JavaScript execution in browser context

Use cases of MCP Server Playwright

  • LLM-driven web page navigation and data extraction
  • Visual feedback through screenshot capture for LLM agents
  • Automated form filling and element interaction
  • Executing custom JavaScript in the browser console
  • Monitoring browser console logs for debugging

よくある質問

1

What tools does MCP Server Playwright provide?

It provides tools for navigation (`browser_navigate`), screenshot capture (`browser_screenshot`), clicking elements (`browser_click`, `browser_click_text`), hovering (`browser_hover`, `browser_hover_text`), filling input fields (`browser_fill`), selecting options (`browser_select`, `browser_select_text`), and executing JavaScript (`browser_evaluate`).

2

How do I capture a screenshot?

Use the `browser_screenshot` tool with a required `name` parameter and optional `selector` and `fullPage` booleans (default `false`). The captured screenshot is then accessible via the `screenshot://<n>` resource.

3

Can I run JavaScript in the browser?

Yes, use the `browser_evaluate` tool with a `script` parameter (e.g., `"document.title"`) to execute JavaScript in the browser console.

4

Where are screenshots and console logs stored?

Screenshots are available as PNG images at `screenshot://<n>`, referenced by the name given during capture. Console logs are available as text at `console://logs`, including all browser console messages.

5

How do I configure MCP Server Playwright with Claude?

After installation, the Claude config file is automatically updated with a `playwright` entry: `"command": "npx"`, `"args": ["-y", "@automatalabs/mcp-server-playwright"]`. On Windows the config is at `%APPDATA%\Claude\claude_d

コメント

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