AIエージェントが管理されたクラウドブラウザセッションを作成し、リモートでページの閲覧、コンテンツの解析、要素の操作を行えるようにします。
別名 Azure/playwright-workspaces, playwright-workspaces
- スター
- 16
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 1.0.1
- 最終コミット
- 2026年10月27日
- ライセンス
- MIT
Playwright Workspaces MCPとは
AIエージェントが管理されたクラウドブラウザセッションを作成し、リモートでページの閲覧、コンテンツの解析、要素の操作を行えるようにします。
プロジェクトのREADMEから生成された概要
Playwright Workspaces MCP server について
Playwright Cloud Browsersの主な機能は、管理されたクラウドブラウザセッションを通じて、AIエージェントがライブのWebコンテンツとやり取りできるようにすることです。このリモートMCP serverを使用すると、エージェントはPlaywrightやブラウザバイナリをローカルにインストールすることなく、ページの閲覧、コンテンツの解析、要素の操作が可能になります。Streamable HTTP上で動作するため、VS CodeやGitHub Copilotアプリなどのクライアントから、それぞれのMCP設定を通じてアクセスできます。
このサービスを利用するには、開発者はAzureサブスクリプションと、特定のworkspace IDおよびリージョンを持つPlaywrightワークスペースを用意する必要があります。認証はOAuth discoveryを備えたMicrosoft Entra IDに依存しており、接続するアイデンティティには特定のワークスペースRBACアクセスが必要です。このプレビュー版は、エージェントがワークスペース固有のエンドポイントに接続することで、Webタスクをリモートで実行できる手段を提供し、基盤となるインフラストラクチャやブラウザの複雑さをユーザーに代わって処理します。
できること
- 1リモートでのWebページ解析AIエージェントに特定のWebサイトを開かせ、ページ内で見つかったメインの見出しを報告させます。
- 2要素操作の自動化エージェントにWebアプリケーション内をナビゲートさせ、さまざまなUI要素を操作するよう指示します。
- 3クラウドベースのブラウザテスト管理されたクラウドブラウザを使用して、異なるOSやブラウザ間でWebテストを実行およびスケールさせます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Playwright Workspaces MCPのインストール方法
Playwright Workspaces ではアカウントごとに専用のエンドポイントが割り当てられるため、ここにコピーできるアドレスはありません。プロバイダーから取得したアドレスを波かっこ内の部分と置き換え、リモートサーバーとしてクライアントに追加してください。
https://{region}.mcp.playwright.microsoft.com/playwrightworkspaces/%7BworkspaceId%7D/mcp
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能azure/playwright-workspaces is public and reachablegithub.com/azure/playwright-workspaces ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-27github.com/azure/playwright-workspaces ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答Endpoint did not answer initialize: unreachable検出事項
README
GitHubで見る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:
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:
- Playwright Test with JavaScript/TypeScript
- NUnit with C#
- Python
- Playwright Library projects
- Foundry Prompt Agents using Playwright Workspaces Remote MCP
- Foundry Hosted Agents using Playwright Workspaces Remote MCP
- App Verification Skills (verify skill)
Migrating from Microsoft Playwright Testing
- See the Migration Guide and Troubleshooting Tips
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
Playwright Workspaces MCPのよくある質問
Playwright Cloud Browsers MCP serverとは何ですか?
Streamable HTTPを介してAIエージェントに管理されたクラウドブラウザを提供するリモートMCP serverです。これにより、ローカルにPlaywrightをインストールすることなく、エージェントがセッションの作成、ページの閲覧、コンテンツの解析、要素の操作を行うことができます。
Playwright Workspaces MCP serverへの認証方法を教えてください。
OAuth discoveryをサポートするクライアントを使用してMicrosoft Entra IDを使用します。また、サインインしたアイデンティティに、必要なワークスペースのRBACアクセス権限が必要です。
接続にはどのエンドポイントを使用すればよいですか?
リージョンとworkspace IDのプレースホルダーを置き換えた、ワークスペースのリージョンエンドポイントを使用してください。
このリモートMCP serverは本番環境で使用できますか?
いいえ。このリモートMCP serverはプレビュー版であり、SLA(サービス品質保証)は提供されていません。本番環境のワークロードでの使用は推奨されません。
VS Codeにサーバーを追加するにはどうすればよいですか?
コマンドパレットからMCP: Add Serverを実行し、HTTPを選択してワークスペースのエンドポイントを入力します。その後、信頼の確認とMicrosoft Entraへのサインインのプロンプトに従ってください。