Technical Intelligence

WebMCP: How to Let AI Agents Use Your Website

calendar_today Date: 2026.08.16
person Author: Jim Hunt
monitoring Intelligence: AI Search Optimization
WebMCP hardware-style tool bus with modular website functions connected by blue cables

WebMCP is a new way for a website to hand AI agents a set of tools they can call directly, instead of leaving them to poke at your page and guess. It is early, it runs as a Chrome origin trial, and it points at where the agentic web is going.

I added it to this site, so this is both what WebMCP is and what it takes to wire it up.

Key takeaways

  • WebMCP lets your site expose named tools (search, look up, submit) that an AI agent in the browser can call directly.
  • It is the difference between an agent guessing from your HTML and an agent calling a function you defined.
  • It runs through the browser. In Chrome it is currently an origin trial, switched on with a token in your page head.
  • The API is small: register tools with a name, description, input schema, and a function, then the agent can list and call them.
  • It is early and limited, but it is a concrete preview of the agent-readable web, and worth understanding now.

What is WebMCP?

WebMCP is a browser standard, still taking shape, that lets a website publish tools for AI agents. Instead of an agent reading your page and working out how to search or submit a form, your site says: here is a search tool, here is a contact tool, call them directly.

The name borrows from MCP, the Model Context Protocol that connects AI models to tools. WebMCP brings that idea to the open web, in the browser, so an agent visiting your page can use the tools you expose.

Why it matters

Today, an agent that wants to do something on your site has to reverse-engineer it: find the search box, guess the form fields, click the right button. It is brittle, and it breaks when your layout changes.

WebMCP replaces the guessing with a contract. You define a tool once, and the agent calls it the same way every time. For a business, that means an agent can reliably use your site, search your catalog, check availability, start an inquiry, instead of stumbling through a human-only interface.

It is the action layer of AI readiness. Structured data tells an agent what is true; WebMCP lets it do something about it.

How WebMCP works infographic showing an agent request, browser tools, site function, and returned result

How WebMCP works

The mechanics are simpler than they sound.

In Chrome’s current origin trial, you add a token to your page head to turn the feature on. Then, in JavaScript, you register tools on the browser’s model-context interface. Each tool has a name, a short description, an input schema, and a function that runs when the agent calls it.

Once registered, an agent can list your tools and call them. On this site, I registered tools to search the articles, list the latest ones, and submit a contact inquiry. An agent in a supporting browser can call those directly.

The details are still moving. The exact interface and browser support change between Chrome versions, so treat any specific code as a snapshot. The shape, register tools and let agents call them, is the stable part.

ANATOMY OF A WEBMCP TOOL
PartPurposeGood patternRisk to avoid
NameStable callable identifiersearch_catalogVague or changing names
DescriptionTells the agent when to use itState scope and expected resultMarketing copy instead of behavior
Input schemaDefines accepted parametersRequired fields, types, limitsUnbounded free-form input
FunctionRuns the website actionValidate, execute, return structured dataHidden side effects
Permission boundaryProtects consequential actionsRead-only first, confirmation before writesSilent submission or purchase

Start with read-only search and lookup tools. Add actions that change data only after the permission boundary is explicit.

How to add WebMCP to your site

  1. Request a Chrome origin-trial token for the WebMCP feature for your domain, and add it as a meta tag in your page head.
  2. Decide which tools to expose. Start with read-only ones: search, look up, list. Save actions that change data for later.
  3. Register each tool in JavaScript with a clear name, description, input schema, and the function it runs.
  4. Test it in a supporting browser by listing and calling your tools, and confirm an agent gets what it needs.

Should you bother yet?

WebMCP is early. Browser support is limited, the spec is moving, and most of your traffic is still human. So no, you do not need it live this week.

But it is worth understanding and worth a small experiment, because it is the clearest signal yet of what an agent-ready site looks like: one that offers tools, not just pages. Getting familiar now means you are ready when it matures. For where it sits in the bigger effort, see AI readiness: is your business ready for AI agents.

FAQ

What is WebMCP?
A browser capability that lets a website expose tools (like search or submit) an AI agent can call directly, instead of guessing how to use the page. It brings the Model Context Protocol idea to the open web.
How is WebMCP different from SEO or structured data?
Structured data tells an agent what is true on your page. WebMCP lets an agent do something, calling a tool you defined. One is the facts layer, the other is the action layer.
Is WebMCP available now?
It is early. In Chrome it is an origin trial you enable with a token in your page head, and support changes between versions. Treat it as an experiment, not a finished standard.
How do I add WebMCP to my website?
Get a Chrome origin-trial token and add it to your head, then register tools in JavaScript with a name, description, input schema, and function. Start with read-only tools like search and lookup.
Do I need WebMCP yet?
Not urgently. Most traffic is still human and support is limited. But a small experiment now puts you ahead, since it shows what an agent-ready site looks like.

 

WebMCP is a small spec with a big implication: the web is starting to offer agents tools, not just text. Sites that expose useful tools will be the ones agents can actually act on.

It is one layer of being ready for agents. To see how the rest of your site holds up, run the Agentic Readiness Check.

Free Chrome Extension

See what ChatGPT is really searching

SubSeed captures the hidden Google queries ChatGPT runs behind every answer and enriches them with search volume, CPC, and keyword difficulty.

Try SubSeed Free

Share Technical Insight

Help scale the signal across your technical network

One Click, More Gridlok

Make Gridlok a Preferred Source on Google

See Gridlok surfaced more often in your Top Stories, AI Overviews, and AI Mode. One click, applied across Google Search.

Add as Preferred Source
Article Reference: 418
Return to Blog close