跳到正文
Chrome Developers · AI 与浏览器·· 2026-06-09精选AI 评分65

Chrome 149 开放 WebMCP origin trial,让网页为智能体声明工具

Join the WebMCP origin trial

AI 导读

Chrome 官方宣布在 Chrome 149 中开放 WebMCP origin trial,开发者可为网页应用构建结构化工具,声明按钮、输入框等界面元素的用途并管理页面状态,让智能体无需猜测即可完成任务。

推荐理由

官方开放 WebMCP 源头试用,开发者可让智能体按声明工具操作网页表单和调试流程,并提交 API 反馈。

正文 · 原文

Join the WebMCP origin trial

Published: June 9, 2026

Build structured tools for agents to complete tasks efficiently and accurately in your web application with WebMCP.

In Chrome 149, you can sign up for the WebMCP origin trial. If you are new to origin trials, these are time-limited programs that offer early access to experimental platform features. While there may be usage limits, developers can integrate these features for live testing and gathering user feedback, with the goal of informing future iterations of the API.

What is WebMCP?

WebMCP lets you provide rules for interaction between web applications and agents. Instead of an agent guessing the purpose of an interface element, such as a button or input field, you can declare their purposes and manage page state.

Use cases

There are many ways to add WebMCP to your website. For example:

  • Correctly fill in complex, structured forms: Build a WebMCP tool to help users map data to fields correctly, instead of relying exclusively on autofill. For example, you can differentiate if a field requires a full name versus a separate first and last name.
  • Efficient application debugging: Build a diagnostics tool on a developer settings page, so an agent can trigger fixes that are otherwise hidden behind nested menus.

You can also help an agent understand interfaces that are designed for humans, such as calendar inputs.

Is your use case missing or do you have an idea you're excited about for WebMCP? Join the early preview program and share your feedback.

Build your website for the agentic era

At Google I/O 2026, we shared how you can prepare your websites to help agents perform tasks efficiently.

Our goal is to build APIs that any browser with agentic capabilities can implement and benefit from. Read the WebMCP documentation, including best practices and tool security guidance.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-06-09 UTC.

正文基于 Google 在 Chrome Developers 发布并共享的内容;代码示例适用 Apache 2.0 许可。 原文 · CC BY 4.0。中文正文由 AI 翻译,请结合原文核对。 配图与视频请前往原文查看。

来源:Chrome Developers · AI 与浏览器 · developer.chrome.com