<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg" -->

---
title: WebMCP support now available in mcp-handler | daily.dev
description: mcp-handler 2.2.0 adds experimental support for WebMCP, a proposed web standard for exposing tools to in-browser agents. Developers can opt existing MCP tools...
canonical: https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: WebMCP support now available in mcp-handler | daily.dev
og:description: mcp-handler 2.2.0 adds experimental support for WebMCP, a proposed web standard for exposing tools to in-browser agents. Developers can opt existing MCP tools...
og:url: https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg
og:image: https://api.daily.dev/og/posts/EV9AHyreG.png
og:image:alt: WebMCP support now available in mcp-handler
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# WebMCP support now available in mcp-handler

**[Vercel](https://daily.dev/sources/vercel)** · 1 min read · 0 upvotes · 0 comments

## Summary

mcp-handler 2.2.0 adds experimental support for WebMCP, a proposed web standard for exposing tools to in-browser agents. Developers can opt existing MCP tools into the experimental_webMcp object, then load a script from their MCP endpoint using a ?webmcp-script parameter. The script registers the tools with the page and proxies calls back to the MCP server as the signed-in user, so authenticated tools work without a separate browser-side OAuth flow.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://vercel.com/changelog/webmcp-mcp-handler>

## Questions this post answers

### How do I add WebMCP support to my MCP server using mcp-handler?

Upgrade to mcp-handler 2.2.0 and add tool names to the experimental_webMcp.tools array when calling createMcpHandler. Then embed a script tag pointing to your MCP endpoint with a ?webmcp-script query parameter, such as <script src="/api/mcp?webmcp-script"></script>, which registers those tools with the page for in-browser agents to call.

_Developers wiring up MCP tools for browser agents track library updates like this one on daily.dev._

### How does WebMCP handle authentication for tools called by browser agents?

The WebMCP script proxies each tool call back to the MCP server as the currently signed-in user, so authenticated tools work without requiring a separate browser-side OAuth flow. This means existing session credentials on the page are reused rather than prompting a new authorization step for the agent.

_Anyone building authenticated agent-callable tools can follow WebMCP developments on daily.dev._

## Similar posts on daily.dev

- [WebMCP: Optimize Your Website for AI Agents](https://daily.dev/posts/webmcp-optimize-your-website-for-ai-agents-3ewweawaw) · DebugBear · 1 upvotes · 0 comments
- [WebMCP Explained: How Developers Can Prepare Websites for AI Agents](https://daily.dev/posts/webmcp-explained-how-developers-can-prepare-websites-for-ai-agents-yyokz9lqj) · SitePoint · 2 upvotes · 0 comments
- [WebMCP By Google, Clearly Explained\!](https://daily.dev/posts/webmcp-by-google-clearly-explained--qj3yrnemq) · Daily Dose of Data Science \| Avi Chawla \| Substack · 0 upvotes · 0 comments

---

Tags: [#mcp](https://daily.dev/tags/mcp), [#vercel](https://daily.dev/tags/vercel), [#webmcp](https://daily.dev/tags/webmcp)

[View this post on daily.dev](https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"WebMCP support now available in mcp-handler","url":"https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg"},"datePublished":"2026-09-18T19:42:25.728Z","dateModified":"2026-10-15T02:22:44.192Z","description":"mcp-handler 2.2.0 adds experimental support for WebMCP, a proposed web standard for exposing tools to in-browser agents. Developers can opt existing MCP tools...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/67a088638f120bf96bd73688af192aea?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/67a088638f120bf96bd73688af192aea?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Vercel","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Vercel","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/04cca7235cf84db092f24b7ba427b3e1","url":"https://daily.dev/sources/vercel"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mcp,vercel,webmcp","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Vercel","item":"https://daily.dev/sources/vercel"},{"@type":"ListItem","position":3,"name":"WebMCP support now available in mcp-handler"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/webmcp-support-now-available-in-mcp-handler-ev9ahyreg#faq","mainEntity":[{"@type":"Question","name":"How do I add WebMCP support to my MCP server using mcp-handler?","acceptedAnswer":{"@type":"Answer","text":"Upgrade to mcp-handler 2.2.0 and add tool names to the experimental_webMcp.tools array when calling createMcpHandler. Then embed a script tag pointing to your MCP endpoint with a ?webmcp-script query parameter, such as \u003cscript src=\"/api/mcp?webmcp-script\"\u003e\u003c/script\u003e, which registers those tools with the page for in-browser agents to call. Developers wiring up MCP tools for browser agents track library updates like this one on daily.dev."}},{"@type":"Question","name":"How does WebMCP handle authentication for tools called by browser agents?","acceptedAnswer":{"@type":"Answer","text":"The WebMCP script proxies each tool call back to the MCP server as the currently signed-in user, so authenticated tools work without requiring a separate browser-side OAuth flow. This means existing session credentials on the page are reused rather than prompting a new authorization step for the agent. Anyone building authenticated agent-callable tools can follow WebMCP developments on daily.dev."}}]}
```

