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: WebMCP is a W3C draft from Google and Microsoft that lets websites declare callable tools, replacing the fragile visual-guessing approach agents use today. The post explains the mechanism clearly with code examples. Score held back because it's a personal blog interpretation, ...

Read the original ↗Export Markdown