MCP.so
登录

Playwright MCP Server

@showfive

基本信息

分类

浏览器自动化

传输方式

stdio

作者

showfive

关于 Playwright MCP Server

暂无概览

Playwright MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

Playwright MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Playwright MCP Server?

Playwright MCP Server is a server that provides Playwright web page content retrieval and interaction functionality using the Model Context Protocol (MCP). It allows AI assistants to navigate pages, retrieve content, detect interactive elements, and simulate mouse operations.

How to use Playwright MCP Server?

Install via Smithery with npx -y @smithery/cli install @showfive/playwright-mcp-server --client claude or manually by running npm install and then npm run build followed by npm start. The server exposes MCP tools such as navigate, get_all_content, get_visible_content, get_interactive_elements, move_mouse, mouse_click, mouse_wheel, drag_and_drop, and echo.

Key features of Playwright MCP Server

  • Page navigation to specified URLs
  • Full or visible page content retrieval
  • Interactive elements detection with position information
  • Mouse operation simulation (movement, clicks, scrolling)
  • Drag and drop support
  • Echo functionality for testing

Use cases of Playwright MCP Server

  • Automating web page content extraction for AI analysis
  • Performing UI tests by simulating mouse interactions
  • Retrieving visible content from dynamic web pages
  • Testing MCP client-server communication with the echo tool
  • Scraping full page text for downstream processing

常见问题

1

What tools does Playwright MCP Server provide?

It provides nine MCP tools: `navigate`, `get_all_content`, `get_visible_content`, `get_interactive_elements`, `move_mouse`, `mouse_click`, `mouse_wheel`, `drag_and_drop`, and `echo`.

2

How can I install Playwright MCP Server?

Install automatically via Smithery using `npx -y @smithery/cli install @showfive/playwright-mcp-server --client claude`, or manually by cloning the repo, running `npm install`, then `npm run build` and `npm start`.

3

What are the runtime requirements?

The README does not specify Node.js version or other system dependencies beyond requiring `npm`. Ensure necessary environment variables are set before using the server.

4

Does Playwright MCP Server support headless mode?

Yes, it offers configuration flexibility including headless/head mode selection, custom user agent, and viewport size settings.

5

Are there any usage restrictions?

Maintain appropriate intervals between requests and mouse operations to simulate real user interactions. Always follow the terms of service of target websites.

评论

浏览器自动化 分类下的更多 MCP 服务器