WebMCP is a proposed web standard that enables web applications to expose their functionality as JavaScript-based “tools” accessible to AI agents, browser assistants, and assistive technologies. It allows developers to define structured, natural-language-described functions directly in client-side code, effectively turning web pages into Model Context Protocol (MCP)-like servers running in the browser. Unlike backend integrations, WebMCP executes tools within the live web page, preserving shared context between the user, the agent, and the application UI. This approach supports collaborative, human-in-the-loop workflows where users can delegate tasks to agents while maintaining visibility and control. WebMCP reduces developer burden by reusing existing frontend logic instead of requiring separate server-side integrations. Designed to complement protocols like MCP rather than replace them, WebMCP strengthens accessibility, interoperability, and agent reliability across the modern web.
Features
- 🧩 JavaScript Tool Registration: Lets developers expose app functionality as structured, schema-defined tools callable by AI agents.
- 🤝 Human-in-the-Loop Workflows: Enables collaborative experiences where users and agents interact within the same live web interface.
- 🌐 Client-Side Execution: Tools run directly in the browser, preserving UI state, authentication, and shared context.
- ♿ Accessibility Enhancement: Provides assistive technologies with higher-level, standardized actions beyond traditional accessibility trees.
- 🔄 Seamless MCP Alignment: Designed to work alongside Model Context Protocol (MCP) and other AI tool-calling standards.
- 🛠️ Minimal Developer Overhead: Allows reuse of existing frontend business logic without building separate backend integrations.