TSEP · Retained source

Chrome — WebMCP

Text view derived from the capture; the original document remains the evidence.

Claims and evidence · Download original gzip · Publisher source

Origin and method

SHA-256
f421ab1dd626717683bbdc9b25b2026473c68221fe97df46f18c8600e5caf08a
Captured
Capture method
anonymous_http_response_body
Text view
DOM text extraction; scripts, styles and embedded content omitted

The decompressed bytes were checked against their digest before rendering. Text is escaped; no script or resource from the source document runs. Layout, images and reading order may differ from the original.

Text from the original source: Chrome — WebMCP. Reproduced for verification; the original rights and licences remain applicable. Removal requests: agence@edikka.com.

Referenced passage

#get_started — Get started; #local_webmcp — Local WebMCP; #limitations — Limitations

AIA-topic-webmcp-1

Excerpt from the HTML node with the cited ID and, for a heading, its section.

Get started

Join the WebMCP origin trial
from Chrome 149. Learn more about how to
get started with origin trials.

Local WebMCP

WebMCP is available as a Chrome flag for local development:

Open Chrome and navigate to chrome://flags/#enable-webmcp-testing

Set the flag to Enabled.

Relaunch Chrome to apply the changes.

---

Local WebMCP

WebMCP is available as a Chrome flag for local development:

Open Chrome and navigate to chrome://flags/#enable-webmcp-testing

Set the flag to Enabled.

Relaunch Chrome to apply the changes.

---

Limitations

While WebMCP aims to make complex tasks simpler for agents and humans, there are
limitations:

Headless browsing: While it may be possible to run WebMCP tools
in headless environments, this API is primarily designed for local browser
workflows with a human in the loop.

Overhead for complex interfaces: If your site is highly complex, you
likely need to refactor or add JavaScript to handle application and interface
state.

Tool discoverability: Clients and browsers must visit a site directly to
know if it has callable tools.

Captured text

Skip to main content

Docs

Build with Chrome

Learn how Chrome works, participate in origin trials, and build with Chrome everywhere.

Web Platform

Isolated Web Apps (IWA)

Capabilities

Automation and testing

ChromeDriver

Extensions

Chrome Web Store

Chromium

Web on Android

Origin trials

Release notes

Productivity

Create the best experience for your users with the web's best tools.

DevTools

Lighthouse

Chrome UX Report

Accessibility

Modern Web Guidance

Get things done quicker and neater, with our ready-made libraries.

Workbox

Puppeteer

Experience

Design a beautiful and performant web with Chrome.

AI

Performance

CSS and UI

Identity

Payments

Privacy and security

Ads

Resources

More from Chrome and Google.

All documentation

Baseline open_in_new

web.dev open_in_new

PageSpeed Insights audit open_in_new

Case studies

Blog

New in Chrome

/

English

Deutsch

Español – América Latina

Français

Indonesia

Italiano

Nederlands

Polski

Português – Brasil

Tiếng Việt

Türkçe

Русский

עברית

العربيّة

فارسی

हिंदी

বাংলা

ภาษาไทย

中文 – 简体

中文 – 繁體

日本語

한국어

Sign in

Docs

AI in Chrome

AI in Chrome

Built-in AI

Get started

APIs and best practices

Hybrid AI

Best practices

AI in Extensions

WebMCP and Agents

Get started

Imperative API

Declarative API

Build effective tools

Learn Evals

Accelerate compute

Coding assistance

Modern Web Guidance

DevTools AI assistance

Docs

More

AI in Chrome

Built-in AI

More

WebMCP and Agents

More

Learn Evals

Accelerate compute

Coding assistance

More

Case studies

Blog

New in Chrome

WebMCP

Get started

Imperative API

Declarative API

WebMCP versus MCP

WebMCP user journeys

When to use WebMCP

Build effective tools

WebMCP tool security

Best practices

WebMCP Evals

Resources

Learn AI course

Create Evals course

Build with Chrome

Web Platform

Isolated Web Apps (IWA)

Capabilities

Automation and testing

ChromeDriver

Extensions

Chrome Web Store

Chromium

Web on Android

Origin trials

Release notes

Productivity

DevTools

Lighthouse

Chrome UX Report

Accessibility

Modern Web Guidance

Workbox

Puppeteer

Experience

AI

Performance

CSS and UI

Identity

Payments

Privacy and security

Ads

Resources

All documentation

Baseline <span class="material-icons" style="font-size: 12px;" aria-hidden="true" translate="no">open_in_new</span>

web.dev <span class="material-icons" style="font-size: 12px;" aria-hidden="true" translate="no">open_in_new</span>

PageSpeed Insights audit <span class="material-icons" style="font-size: 12px;" aria-hidden="true" translate="no">open_in_new</span>

Get started

APIs and best practices

Hybrid AI

Best practices

AI in Extensions

Get started

Imperative API

Declarative API

Build effective tools

Modern Web Guidance

DevTools AI assistance

Home

Docs

AI in Chrome

WebMCP and Agents

WebMCP

Stay organized with collections

Save and categorize content based on your preferences.

Alexandra Klepper

François Beaufort

Kasper Kulikowski

Published: May 18, 2026, Last updated: October 7, 2026

WebMCP is a
proposed web standard to help you build and expose structured tools for AI
agents. WebMCP provides JavaScript and
annotates HTML form elements so that agents know exactly how to interact with
page features, to support a user's experience. This can significantly improve
the performance and reliability of agent actuation.

Key Term: Actuation is the act of an agent simulating manual mouse clicks and
text input, as though it were the human user engaging with your website. These
can be single tasks, such as clicking a link or inputting content into a form,
or complex tasks, such as completing a purchase.

AI agents are a newer technology. They can help human users better complete
tasks which are highly complex and technical. WebMCP offers higher accuracy for
agentic task completion, and it can be added as a progressive enhancement.

Explainer
Web
Extensions
Chrome Status
Intent

GitHub
Origin trial

View
Intent to Experiment

Why WebMCP?

WebMCP provides rules for interaction that bridge the gap between web
applications and agents, improving efficiency, reliability, and task completion.
Instead of an agent reviewing the element, such as a button or a field, to
understand its purpose, the website declares the element's purpose, so it's
used as intended.

This is more reliable than actuation, which may have numerous steps and leaves
each step open to interpretation by the agent.

On the left, the agent scrapes the DOM. On the right, the agent
calls a tool. Try it yourself on our
appointment booking demo.

Websites can share explicit purpose, such as search or purchasing, by defining
a tool. Tools execute on your webpage visibly, so users gain trust
that tasks are completed as expected. This also keeps your brand and
human-centered design choices intact.

WebMCP supports:

Discovery: A standard way for pages to register tools with agents, such
as checkout or filter_results.

JSON Schemas:
Explicit definitions of inputs and expected outputs, to reduce hallucination
or misunderstanding.

State: A shared understanding of the current page context, so the agent
knows what resources are available to act on in real time.

Our goal is to build APIs that any browser with agentic capabilities can
implement and benefit from, so your users can more easily complete tasks. You
can follow along this process on
GitHub.

Use cases

There are many ways you could use WebMCP.
For example:

Help your customers get support. If you provide a software to customers,
you may have a complex support flow to address many different questions. You
can use WebMCP to help an agent more quickly navigate to the right form and
fill in fields with user-provided information.

Improve travel booking. Help agents book complex, multi-city and
multi-passenger trips with fewer steps.

Some actions may be sensitive, such as making a purchase. You can include a
command to request user interaction with a confirmation dialog.

In a practical sense, your tools could accomplish the following tasks:

Fill in structured forms: Build a submit_application tool to help agents
map data collected from the conversation with the user to form fields
correctly. For example, you can differentiate if a field requires a full name
versus a separate first and last name.

Support agent interactions in human-first interfaces: Certain fields are
designed for human users, but may not be understood by agents. You could build
a date_pick tool that allows for a complex date and time selection in a
reservation or event booking.

Quicker application debugging: You can build a run_diagnostics tool on a
developer settings page, so an agent can trigger fixes that are otherwise
hidden behind nested menus.

Is your use case missing? Or do you have an idea you're excited to share for
WebMCP? Raise questions and participate in discussion on GitHub.

Get started

Join the WebMCP origin trial
from Chrome 149. Learn more about how to
get started with origin trials.

Local WebMCP

WebMCP is available as a Chrome flag for local development:

Open Chrome and navigate to chrome://flags/#enable-webmcp-testing

Set the flag to Enabled.

Relaunch Chrome to apply the changes.

Use WebMCP APIs

There are two APIs you can use to set up your website tools:

Imperative API: Define different types of
tools with standard JavaScript, such as form input, navigation tools, state
management, or other functions.

Declarative API: Add annotations to a standard
HTML forms to create a WebMCP tool.

Note: Several major frameworks have experimental support for WebMCP, including
React,
Angular, and
Vue.

You can debug WebMCP tools and validate
how the browser parses the JSON Schema, with Chrome DevTools.

Limitations

While WebMCP aims to make complex tasks simpler for agents and humans, there are
limitations:

Headless browsing: While it may be possible to run WebMCP tools
in headless environments, this API is primarily designed for local browser
workflows with a human in the loop.

Overhead for complex interfaces: If your site is highly complex, you
likely need to refactor or add JavaScript to handle application and interface
state.

Tool discoverability: Clients and browsers must visit a site directly to
know if it has callable tools.

Permissions policy

Both APIs are gated by the tools
Permissions Policy.
The policy defaults to self, which allows tool registration in top-level and
same-origin contexts, and disables it for cross-origin iframes.

To allow WebMCP tools in a cross-origin iframe, add the allow="tools"
attribute to the iframe.

Demo

Examples of demos covering both imperative and declarative implementations are
available:

WebMCP zaMaker
uses the WebMCP Imperative API.

Travel demo (React)
uses the WebMCP Imperative API.

Le Petit Bistro demo
uses the WebMCP Declarative API.

You can also review and explore the demo source code on
GitHub.

Imitate an agent to test your tools

Caution: Chrome Extensions can query and execute WebMCP tools with
content scripts. Read more
about building secure tools and
agent safety considerations.

We've built two Chrome Extensions to help you see how WebMCP tools work in our
demos and your applications.

Install the Example Agentic Chrome Extension
to inspect, monitor, and execute WebMCP tools with natural language prompts. In
particular, this extension always trusts WebMCP annotations, which can alert
the agent to sensitive actions. This demonstrates how a tool may perform
differently with annotations.

By default, this extension uses a small Node server with an AI SDK. API keys are
required and stay on the local server. Your prompts are sent to the
gemini-3.6-flash model by default, but you can modify the model choice and API
provider in the extension's .env file. There are fields for OpenAI, Google,
and Anthropic or, alternatively, you can customize the extension to use a model
from another provider.

Alternatively, you can use a client-side model with the Prompt API. This doesn't
require API keys and data stays on your device. To do so, enable
chrome://flags/#prompt-api-tool-use.

Install the Model Context Tool Inspector Extension
to experiment with an agent and see how WebMCP tools work in live demos or your
own applications. Use natural language prompts to determine if the agent
interacts with WebMCP tools as expected.

To use Gemini to call your tools, you must have an API key, which you provide in
the extension's interface. Your prompts are sent by default to the
gemini-3.6-flash model. You can select a different Gemini model to
experiment with or customize the extension code to use another provider's model.

Note: These extensions are separate from
Gemini in Chrome.

Engage and share feedback

WebMCP is under active discussion and subject to change in the future. If you
try these APIs and have feedback, we'd love to hear it.

Join the WebMCP origin trial,
and follow the implementation for Chrome on
Chrome Status.

Read the WebMCP explainer,
raise questions and participate in discussion.

Read WebMCP best practices.

Read our WebMCP tool security guidance and
best practices.

If you have feedback on Chrome's implementation, file a
Chromium bug.

Next

Imperative API

arrow_forward

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-10-07 UTC.

Contribute

File a bug

See open issues

Related content

Chromium updates

Case studies

Archive

Podcasts & shows

Follow

@ChromiumDev on X

YouTube

Chrome for Developers on LinkedIn

RSS

Terms

Privacy

Manage cookies

English

Deutsch

Español – América Latina

Français

Indonesia

Italiano

Nederlands

Polski

Português – Brasil

Tiếng Việt

Türkçe

Русский

עברית

العربيّة

فارسی

हिंदी

বাংলা

ภาษาไทย

中文 – 简体

中文 – 繁體

日本語

한국어