WebMCP: designing websites so AI agents can call structured tools
This article, reposted from the Agentic AI Foundation blog, explains WebMCP, a proposed standard that lets websites register structured tools through document.modelContext so AI agents can call site functions with defined input schemas. It shows both script-based registration and a declarative HTML form path, describes how WebMCP differs from MCP and MCP Apps, and stresses that tools should still use existing access controls and input validation. Experimental implementations exist in Chrome through a flag and origin trial, a Cloudflare developer preview, and Brave's Leo assistant, while a June preprint tested tool-surface poisoning in a polyfill environment.
WebMCP gives developers a standard way to expose site capabilities to agents with structured inputs, which the article says can reduce interface interpretation, token use and error chances.
This source provides an excerpt. Continue reading on the original site.
#WebMCP#Agentic AI Foundation#Model Context Protocol (MCP)#MCP Apps#OpenAI#Google Chrome#Cloudflare#Brave#Runme