What is WebMCP?
A new browser API that lets AI agents interact with websites the way developers intended — not through scraping, but through structured tools.
The problem with how AI agents use the web today
Right now, when an AI agent like Claude or ChatGPT needs to interact with a website — book a flight, add something to a cart, fill in a form — it has two bad options:
Scrape the page
The agent reads your HTML as raw text and tries to figure out what to click. Brittle, slow, breaks on every design update, and blocked by most anti-bot systems.
Use a custom API integration
The agent has a hand-crafted plugin for your specific site. Only works for the biggest platforms, and requires constant maintenance.
Neither approach scales. The web has billions of sites. AI agents can't have hand-crafted knowledge of all of them.
WebMCP: a native standard for agent-site communication
WebMCP (Web Model Context Protocol) is a browser API — initially introduced by Google in Chrome — that lets websites expose structured tools directly to AI agents.
Instead of an agent guessing what your "Add to Cart" button does, your site can explicitly declare:
{
name: "addToCart",
description: "Add a product to the shopping cart",
parameters: {
productId: "string",
quantity: "number"
}
}The AI agent sees this declaration and knows exactly how to call addToCart — no guessing, no scraping, no errors.
How it works
Site exposes tools via navigator.modelContext
A JavaScript API in the browser lets any page register named tools with descriptions and input schemas. It's part of the browser — no external service needed.
AI agent discovers the tools
When an AI agent navigates to a page, it checks navigator.modelContext for available tools — the same way a developer checks an API spec.
Agent calls the tool directly
The agent calls the tool with structured arguments. The tool's execute function runs in the browser, doing exactly what the site owner intended.
Result returned to the agent
The tool returns structured data back to the agent, which can continue the conversation or take further actions.
Native API vs. broad compatibility
WebMCP is currently in early preview in Chrome 146+. Aigentably ensures your tools work across all modern browsers automatically — no configuration needed on your end.
Why it matters
Think about what SEO did for search engines: it gave website owners a way to communicate structure and intent directly to crawlers. WebMCP does the same thing for AI agents.
Sites that expose clear WebMCP tools will be more useful to AI agents — and therefore more likely to be recommended, used, and acted upon — than sites that don't.
It's early. The standard is new. But the trajectory is clear: every major website will eventually be expected to be agent-ready, the same way every major website is expected to be mobile-ready today.
Further reading
Make your site agent-ready
Aigentably handles the WebMCP infrastructure. You define the tools.
Get started free