WebMCP
A proposed browser standard, a draft on trial in Chrome, that lets a website register structured tools directly for in-tab AI agents, so the agent calls a typed function instead of guessing pixels or scraping buttons.

Also called: Web Model Context Protocol, navigator.modelContext.
For: Builders · Marketers · Must know
Why it matters
Browser agents break whenever a site moves a button or changes CSS. WebMCP gives the site control over what an agent can read, what arguments it must pass and what stays human-confirmed.
In practice
A glossary site registers search_glossary and show_page on document.modelContext. When a user asks their browser agent to find "agent harness", the agent calls search_glossary with { query: "agent harness" } and receives a bounded 1,500-character answer with canonical links instead of clicking through search inputs.
Watch for
Treat WebMCP tool outputs and page inputs as untrusted boundaries: sanitize invisible text, keep read tools read-only and never auto-submit forms or payments without explicit human confirmation.
How it compares
- Model Context Protocol: MCP runs over HTTP or stdio between an agent and a server; WebMCP runs inside the user’s browser tab using the site’s existing session and UI.
- Browser agent: A browser agent is the software driving the tab; WebMCP is the typed tool contract a website exposes so that agent does not have to scrape the DOM.
Related terms
Model Context Protocol · Browser agent · Tool calling · AI visibility
Try it here
What is WebMCP? · Add WebMCP to your site
Sources
Use in an AI agent: connect MCP at https://www.theglitch.ai/mcp and call get_glossary_term with webmcp, or read the Markdown edition.
Definition updated 2026-11-28.