Token导航 LogoToken导航TokenDH.com
Playwright MCP Pumpjack logo
浏览器工具stdio官方级别未说明来源级核验

Playwright MCP Pumpjack

MCP Server

wrangler

Cloudflare Playwright MCP 是一个基于 Playwright 的浏览器自动化服务器,支持 AI 助手通过工具集控制浏览器,执行导航、输入、点击和截图等任务。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
浏览器自动化Cloudflare WorkersVS CodeTypeScriptClaude DesktopClaudeVS CodeVS Code Insiders

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

DAVIDwhitelabeledCA

提供方

DAVIDwhitelabeledCA

最后核验

2026/5/17 20:19

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx wrangler deploy

详细介绍

Cloudflare Playwright MCP Example

![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/playwright-mcp/tree/main/cloudflare/example)

Overview

It enables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.

The server can be used with various AI platforms including Cloudflare AI Playground, Claude Desktop, and GitHub Copilot in VS Code.

Deploy

Follow these steps to set up and deploy the project:

  1. Install dependencies:
npm ci
  1. Deploy to Cloudflare Workers:
npx wrangler deploy

Use with Cloudflare AI Playground

alt text

Cloudflare playground AI is a great way to test MCP servers using LLM models available in Workers AI.

  • Navigate to https://playground.ai.cloudflare.com/
  • Ensure model is set to llama-3.3-70b-instruct-fp8-fast
  • In MCP Servers, set URL to https://[my-mcp-url].workers.dev/sse
  • Click Connect
  • Status should update to Connected and it should list 14 available tools

You can now start to interact with the model, and it will run necessary tools to accomplish what was requested.

[!TIP] For best results, give simple instructions consisting of one single action, e. g., "Create a new todo entry", "Go to cloudflare site", "Take a screenshot"

Example of a conversation:

RoleMessage
UserGo to demo.playwright.dev/todomvc
Assistant*runs browser_navigate tool*
The page has been navigated to https://demo.playwright.dev/todomvc/. The page title is "React • TodoMVC". The page snapshot shows the content of the page, including a heading, a textbox, and several links.
UserCreate some todo entry
Assistant*runs browser_type tool*
A new todo entry "Buy groceries" has been created. The page snapshot shows the updated content of the page, including the new todo entry.
UserNice. Now create a todo in parrot style
Assistant*runs browser_type tool*
A new todo entry "Polly wants a cracker" has been created in parrot style. The page snapshot shows the updated content of the page, including the new todo entry.
UserAnd create another todo in yoda style
Assistant*runs browser_type tool*
A new todo entry "A walk, I must take" has been created in Yoda style. The page snapshot shows the updated content of the page, including the new todo entry.
UserTake a screenshot
Assistant*runs browser_take_screenshot tool*
alt text A screenshot of the current page has been taken. The screenshot is in PNG format and is 56KB in size.
UserNow click the checkbox of the parrot todo entry
Assistant*runs browser_clickt tool*
The checkbox of the parrot todo entry "Polly wants a cracker" has been clicked. The page snapshot shows the updated content of the page, with the checkbox now checked.
UserTake a screenshot
Assistant*runs browser_take_screenshot tool*
alt text A screenshot of the current page has been taken. The screenshot is in PNG format and is 58KB in size.
UserRemove completed todo entries
Assistant*runs browser_clickt tool*
The "Clear completed" button has been clicked. The page snapshot shows the updated content of the page, with the completed todo entry "Polly wants a cracker" removed.
UserTake a final screenshot
Assistant*runs browser_take_screenshot tool*
alt text A final screenshot of the current page has been taken. The screenshot is in PNG format and is 50KB in size.

Use with Claude Desktop

  1. Open the configuration file for Claude Desktop.
  2. Add the following JSON snippet under the mcpServers section:
{
  "mcpServers": {
    "cloudflare-playwright-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://[my-mcp-url].workers.dev/sse"
      ]
    }
  }
}
  1. Save the configuration file and restart Claude Desktop to apply the changes.

This setup ensures that Claude Desktop can communicate with the Cloudflare Playwright MCP server.

Here's an example of a session opening the TODO demo app, adding "buy lemons" and doing a screenshot, taking advantage of playwright-mcp tools and Browser Rendering:

alt text

Configure in VSCode

You can install the Playwright MCP server using the VS Code CLI:

# For VS Code
code --add-mcp '{"name":"cloudflare-playwright","type":"sse","url":"https://[my-mcp-url].workers.dev/sse"}'
# For VS Code Insiders
code-insiders --add-mcp '{"name":"cloudflare-playwright","type":"sse","url":"https://[my-mcp-url].workers.dev/sse"}'

After installation, the Playwright MCP server will be available for use with your GitHub Copilot agent in VS Code.

目录标签

目录标签

浏览器自动化Cloudflare WorkersVS CodeTypeScript本地部署AI助手Web自动化PlaywrightCloudflareWorkers

支持客户端

Claude DesktopClaudeVS CodeVS Code Insiders

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

session

运行时(runtime,运行环境)

Node.js

部署方式(deploymentType,部署类型)

remote-capable

来源包(packageName,安装包名)

wrangler

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiosessionremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP