Playwright Cloud Browsers

com.microsoft由 microsoft.com 发布官方发布者v1.0.1更新于 Oct 29, 2026

Managed Playwright cloud browsers for scalable browser automation and AI agent workflows

发布方自己的服务:Microsoft Learn MCP

已验证Streamable HTTP可网页运行浏览器自动化开发者工具

概览

AI 生成的概览

远程 MCP 服务器,为 AI 智能体提供托管的 Playwright 云端浏览器,可创建会话、访问并检查页面、与页面元素交互。

可以做什么
  • 通过 Streamable HTTP 创建和关闭托管的云端浏览器会话
  • 访问页面并检查内容,例如报告页面的主标题
  • 在会话中与页面元素交互
  • 无需在本地安装 Playwright 或浏览器即可完成浏览器操作
  • 为端到端 Web 测试和 AI 智能体工作流提供托管云端浏览器支持
适用场景
当智能体需要在云端驱动真实浏览器来检查页面、操作元素或验证 Web 应用,且你已有 Playwright 工作区时适用。它免去本地浏览器安装,适合需要托管、按区域部署浏览器的 CI 或智能体工作流。
运行要求
使用工作区所在区域的远程端点,路径中包含工作区 ID。需要 Azure 订阅、可访问远程 MCP 预览版的 Playwright 工作区,以及在该工作区拥有使用浏览器会话权限的身份。认证使用 Microsoft Entra ID,客户端需支持 OAuth 发现。
安装前请注意
该远程 MCP 服务器处于预览阶段,不提供服务级别协议,不建议用于生产工作负载。访问令牌绝不可提交到代码库或粘贴到提示词中。智能体会操作真实网页,请留意其访问和交互的对象。底层服务会产生费用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Playwright Cloud Browsers,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Playwright Workspaces

✅ Playwright Workspaces is now Generally Available!

Playwright Workspaces is a fully managed service for end-to-end web testing, built on top of Playwright. With Playwright Workspaces, you can significantly speed up test execution by running tests in parallel using managed cloud-based browers. The service takes care of the underlying infrastructure and complexity, allowing you to validate your web app across major browsers on both Linux and Windows—so you can ship features faster and with greater confidence.

👉 Get started with the Quickstart

Documentation

The full documentation is now available on learn.microsoft.com

There you’ll learn how to:

  • Run and scale Playwright tests in the cloud
  • Optimize test suite performance and reliability
  • Test across multiple browsers and operating systems
  • Set up secure, region-aware test environments
  • Integrate with CI/CD

Playwright Cloud Browsers remote MCP (preview)

The Playwright Cloud Browsers remote MCP server gives AI agents managed cloud browsers over Streamable HTTP. Agents can create a browser session, navigate and inspect pages, interact with elements, and close the session without installing Playwright or a browser locally.

The remote MCP server is in preview, separately from the generally available Playwright Workspaces service. Preview features do not have a service-level agreement and are not recommended for production workloads.

Prerequisites and authentication

You need an Azure subscription, a Playwright workspace with access to the remote MCP preview, its region and workspace ID, and an identity with permission to use browser sessions in that workspace.

Use the endpoint for your workspace's region:

text
https://<region>.mcp.playwright.microsoft.com/playwrightworkspaces/<workspace-id>/mcp

Replace both placeholders with your workspace values. Use Microsoft Entra ID with a client that supports OAuth discovery. The server publishes protected-resource metadata; your signed-in identity must also have the required workspace RBAC access. See the authentication and setup guide for permissions and supported compatibility options. Never commit access tokens or paste them into prompts.

Connect from VS Code or the GitHub Copilot app

  • VS Code: Run MCP: Add Server from the Command Palette, select HTTP, enter the resolved workspace endpoint, and choose a configuration destination. Follow the server trust and Microsoft Entra sign-in prompts. See Add MCP servers in VS Code.
  • GitHub Copilot app: Open Customize > MCP, add a custom server using the resolved workspace endpoint, and follow the supported authentication prompts. See Configuring MCP servers.

With the server connected, ask the agent to create a browser session, open https://example.com, report the page's main heading, and close the session, including on failure. Inspect the actual MCP tool calls and outputs to verify the connection. See the service guide for session limits, supported tools, and troubleshooting authentication, timeouts, and expired sessions. Report service issues through this repository's issue tracker.

Registry metadata

The server is published as com.microsoft/playwright-cloud-browsers in the Official MCP Registry. The root server.json is a public copy of the published metadata. Publication and metadata updates are managed by the service team; changing this copy does not publish an update or establish a listing in downstream client catalogs.

Samples

Explore sample projects for different test runners:

Migrating from Microsoft Playwright Testing

Issues

To report a bug, request a feature, or ask for a quote limit increase, please use the Issues section of this repository.

More Resources

来源:README.md,提交 5b1f85e

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

2
  1. v1.0.1最新Oct 29, 2026
  2. v1.0.0Oct 23, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Microsoft 集成