ClaudeCloudflare Developer PlatformApr 15, 2026, 10:00 AM

Browser Run - Browser Run adds WebMCP support

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

claudeenmodel: claude-haiku-4-5

Browser Run adds WebMCP support for AI agent automation

Key Points

  • WebMCP enables AI agents to call website functions directly with typed parameters
  • Chrome beta features available through experimental browser pool with lab=true parameter
  • Integrates with CDP endpoint for MCP client connections and AI agent automation

Summary

Browser Run now supports WebMCP (Web Model Context Protocol), a new browser API from the Google Chrome team that enables AI agents to discover and call website functions directly instead of relying on slow screenshot-analyze-click loops.

Key Points

  • Structured tool discovery - Use navigator.modelContextTesting.listTools() to discover available actions on WebMCP-enabled websites
  • Direct tool execution - Call navigator.modelContextTesting.executeTool() with typed parameters for faster, more reliable automation
  • Human-in-the-loop support - Some tools can pause for user confirmation before completing sensitive actions
  • Chrome beta access - WebMCP requires Chrome beta features; use lab=true parameter in /devtools/browser requests to access experimental browser instances
  • CDP integration - Works with the recently launched CDP endpoint, allowing MCP clients to connect and enable AI agents to interact with websites directly

Benefits

Replaces unreliable screenshot-analyze-click loops with typed function calls, making browser automation faster, more reliable, and less fragile for AI agents.

Full Translation

Translations

A translation section that keeps the flow of the original article.

claudejamodel: claude-haiku-4-5

Browser Run が WebMCP サポートを追加

Browser Run が WebMCP サポートを追加

2026年4月15日

Browser Run (旧称 Browser Rendering) は、Google Chrome チームによる新しいブラウザ API である WebMCP ↗ (Web Model Context Protocol) をサポートするようになりました。

概要

インターネットは人間のために構築されたため、今日の AI エージェントによるナビゲーションは信頼性が低いものです。WebMCP により、ウェブサイトは AI エージェントが直接発見して呼び出すことができる構造化されたツールを公開できます。遅いスクリーンショット分析クリックループの代わりに、エージェントは searchFlights()bookTicket() などのウェブサイト関数を型付きパラメータで呼び出すことができるため、ブラウザ自動化がより高速で信頼性が高く、脆弱性が低くなります。

WebMCP でできること

  • ウェブサイトツールの発見 - navigator.modelContextTesting.listTools() を使用して、WebMCP 対応サイトで利用可能なアクションを確認します
  • ツールの直接実行 - 型付きパラメータで navigator.modelContextTesting.executeTool() を呼び出します
  • ヒューマンインザループインタラクションの処理 - 一部のツールは機密アクションを完了する前にユーザー確認を一時停止します

要件と設定

WebMCP には Chrome ベータ版機能が必要です。ブラウザインスタンスが Chrome ベータ版を実行している実験的プールがあるため、安定版 Chrome に到達する前に新しいブラウザ機能をテストできます。

WebMCP セッションを開始するには、/devtools/browser リクエストに lab=true を追加します:

curl -X POST "https://api.cloudflare.com/client/v4/accounts/{account_id}/browser-rendering/devtools/browser?lab=true&keep_alive=300000" \
  -H "Authorization: Bearer {api_token}"

AI エージェントとの統合

最近起動した CDP エンドポイントと組み合わせることで、AI エージェントも WebMCP を使用できます。MCP クライアントを Browser Run に CDP 経由で接続すると、エージェントはウェブサイトツールを直接発見して呼び出すことができます。

同じホテル予約デモが、今回は OpenCode を通じて AI エージェントによって駆動されます。

詳細情報

ステップバイステップガイドについては、WebMCP ドキュメントを参照してください。