Skip to content
Hacker News front page

WebMCP: Let websites declare structured tools for AI agents instead of scraping the DOM

WebMCP: Teaching Your Website to Talk to AI Agents

WebMCP is a W3C Community Group draft from Google and Microsoft that lets web pages register named tools (e.g. book_table) via a small JS API, so AI agents call them directly instead of guessing DOM elements. Chrome 149 has an origin trial; registering a tool takes one registerTool call, and the execute function runs inside the user's authenticated tab. The post doesn't give a standards-track timeline—it's a draft for experimentation and feedback, not production yet.

Why it matters: Google and Microsoft proposed WebMCP in a W3C community group, letting pages declare callable tools in JS so assistants call them instead of guessing at buttons.

Read the original ↗Export Markdown