mcp-handler
by Vercel
Official listing: built and published by Vercel. More from Vercel
Hosts MCP servers inside Next.js, Nuxt, SvelteKit, Hono, and other Fetch-based JavaScript apps with one Web-standard request handler.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Create MCP Handler
Use mcp-handler to turn an MCP server definition: ‹what you need›
- Verify Bearer Tokens
Use mcp-handler to verify bearer tokens: ‹what you need›
Call the API
Auth None needed
Setup guide: github.com/vercel-labs/mcp-handler
Limitations
- no MCP server
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- API
- Auth
- None
- Skills
- 5
- Endpoint check
- Live ·
Skills
Create MCP Handler
Turns an MCP server definition with registered tools, prompts, and resources into a Web-standard Request-to-Response handler.
Serve Both Protocol Eras
Serves the 2026-07-28 MCP specification natively and falls back to stateless Streamable HTTP for 2025-era clients.
Verify Bearer Tokens
Verifies bearer tokens with withMcpAuth and answers 401 or 403 with RFC 9728 WWW-Authenticate challenges.
Serve Resource Metadata
Serves the RFC 9728 Protected Resource Metadata document that lists your MCP server's authorization servers.
Trace MCP Messages
Emits one OpenTelemetry span per MCP message, which Vercel's MCP observability reads to show server activity.
Embed badge · Official
Drop this static SVG badge into your README or docs to link straight to this listing. Served from CDN with no tracking. See all badge tiers.
[](https://agentswitchboard.dev/agents/mcp-handler)
<a href="https://agentswitchboard.dev/agents/mcp-handler"><img src="https://agentswitchboard.dev/badges/official.svg" alt="Official on Agent Switchboard" width="234" height="28" /></a>