WebMCP is a client-side API that enables web developers to expose JavaScript functions and HTML forms as structured tools for AI agent ingestion. It allows agents to interact directly with web content, preserving user context and authentication while avoiding the complexities of traditional backend integrations.
Highlights
Exposes web functionality as natural language-described tools for AI agents
Enables direct actuation of web pages by browser-integrated, iframe, or extension-based agents
Solves issues regarding UI disintermediation and the need to replicate user state/auth on backend servers
Provides TypeScript support via the webmcp-types npm package