STANDARD · §2.5 · ACT · LAST REVIEWED SEPTEMBER 2026

What is WebMCP?

A browser proposal that lets a web page hand an agent a set of tools, instead of making it click through the UI.


Agent Readiness Compare editors · Spec status checked September 2026

Answer

WebMCP is a proposal from the W3C Web Machine Learning Community Group that lets developers expose web application functionality, either JavaScript functions or HTML forms, as tools with natural language descriptions that an in-browser agent can call. The current explainer uses document.modelContext with methods such as registerTool(). It is in active development, so APIs may change.

Maintainer:
W3C Web Machine Learning Community Group
Status:
Community Group proposal, in active development

1.What is WebMCP?

WebMCP lets a page describe its own actions to an agent running in the browser. A travel site could register a 'search flights' tool; a SaaS pricing page could register a 'compare plans' tool. The agent calls the tool with structured input instead of guessing which buttons to press, and the call runs in the page with the user's existing session.

Authors listed on the proposal include engineers from Microsoft (Brandon Walderman, Leo Lee, Andrew Nolan) and Google (David Bokan, Khushal Sagar, Hannah Van Opstal).

2.What are the imperative and declarative forms?

  • Imperative: JavaScript registers a tool with a name, description, input schema and a function to run. This is the form most of the current explainer covers.
  • Declarative: tools are synthesised from existing HTML <form> elements, described in a separate declarative API explainer.
Imperative registration (illustrative; check the current explainer, the API is still changing)
document.modelContext.registerTool({
  name: "compare_plans",
  description: "Compare subscription plans by monthly price and seat limit.",
  inputSchema: {
    type: "object",
    properties: { seats: { type: "number" } },
    required: ["seats"]
  },
  async execute({ seats }) {
    return await fetch(`/api/plans?seats=${seats}`).then(r => r.json());
  }
});

The explainer also describes getTools(), executeTool() and a toolchange event for pages whose tools change. TypeScript types are published in the webmcp-types npm package.

3.How is WebMCP different from MCP?

MCP connects an agent to a server. WebMCP connects an agent to the page it is already on. The first suits API-backed tasks from any agent; the second suits in-browser tasks that depend on the page state and the user's session. Full comparison: MCP and WebMCP.

4.What does WebMCP not do?

  • It does not help agents that never load your page in a browser, such as API-only agents.
  • It is not a finished web standard. It is a Community Group proposal with open issues.
  • It does not replace readable content. An agent still has to understand the page.

5.How do you check WebMCP tools?

  1. Open the page in a browser with a WebMCP inspector. nekuda publishes a WebMCP Chrome extension for inspecting and testing tools.
  2. Confirm each tool has a clear name, description and input schema.
  3. ora.ai's WebMCP audit loads a site in a real browser and scores the tools it exposes out of 100 across shared experience, tool selection, tool quality and trust; a local run is npx ax webmcp-audit http://localhost:3000.
  4. webmcp.com lists sites whose WebMCP tools it has verified as live.

6.Where does it sit in the readiness stack?

Layer 3, Act: it is the in-browser route for agents to complete tasks.

Figure 1. The readiness stack: five layers, the standards that address each, and the tools that document support.
Text version of the diagram
Text version of the readiness stack
LayerQuestionStandardsTools that document support
L1 DISCOVERCan an agent find you, and is it allowed in?robots.txt (RFC 9309); Sitemaps; llms.txt; A2A Agent CardCloudflare AI Crawl Control (controls crawler access); ora.ai Scan (checks it); Cloudflare Is It Agent Ready (checks it)
L2 READCan it read and understand what you offer?llms.txt; Markdown negotiation (Accept: text/markdown); JSON-LDCloudflare Markdown for Agents (serves markdown); ora.ai Scan (checks it)
L3 ACTCan it complete a task on your site or API?MCP; WebMCP; agents.json; OpenAPICloudflare (hosts MCP servers); Vercel (hosts MCP servers); nekuda (builds WebMCP tools); ora.ai Journey and WebMCP audit (test it)
L4 PAYCan it pay you?x402; ACP; UCP; MPPCloudflare Pay per crawl (private beta, for crawlers); ora.ai Scan payments layer (checks it)
L5 TRUSTCan you tell which agent it is, and on whose behalf it acts?Web Bot Auth; OAuth 2.0Cloudflare (verifies signed bots); Vercel (verifies signed bots); Forter (links agentic shoppers to verified customer identities)

Frequently asked questions

Is WebMCP supported in browsers?

WebMCP is a Community Group proposal in active development. Check the proposal repository and your target browser's documentation for current support before shipping.

Is WebMCP the same as webmcp.com?

No. WebMCP is the proposal from the W3C Web Machine Learning Community Group. webmcp.com is a directory of sites that expose WebMCP tools, maintained by nekuda.ai.

Source: github.com/webmachinelearning/webmcp · webmcp.ora.ai · webmcp.com · nekuda.ai · Reviewed Sep 2026