MCPThe Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.Full definition →-handler adds experimental support for WebMCP, the proposed standard for exposing MCP tools to in-browser agents, via opt-in tools in an experimental_webMcp config object.
A single script tag loaded from your MCP endpoint (with a ?webmcp-script parameter) registers the opted-in tools on the page for in-browser agents to call.
The script proxies each browser-side tool call back to your MCP server as the signed-in user, so authenticated tools work without a separate browser OAuth flow.
The feature ships in mcp-handler@2.2.0.
Terms in this piece · Glossary
MCP — The Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
Why it matters
mcp-handler 2.2.0 lets developers expose their MCP server's tools to in-browser agents with one script tag, proxying calls back as the signed-in user without a separate OAuth flow.