Back to Servers

Vercel MCP Adapter

Official

by Vercel

The official Vercel adapter that turns any Next.js or Nuxt API route into a production-grade MCP server — deployed as a serverless function with zero additional infrastructure. AI clients like Claude Desktop, Cursor, and Windsurf connect over HTTP or SSE directly to your existing Vercel deployment.

developmentmcpvercelnextjsserverlessmodel-context-protocoltypescript

Installation

npx mcp-handler

Key Features

  • Framework-native: expose MCP tools through standard Next.js /api routes or Nuxt 3 API handlers
  • Dual transport support — Streamable HTTP (preferred) and SSE with optional Redis for cold-start resumability
  • Zod schema validation on all tool inputs before handler execution
  • stdio client compatibility via npx mcp-remote bridge (Claude Desktop, local clients)
  • Configurable Vercel function timeout with verboseLogs debug mode
  • Full TypeScript support with complete type definitions

Use Cases

  • Ship an MCP server as part of an existing Next.js app without managing a separate backend
  • Expose SaaS product features as MCP tools for Claude, Cursor, and Windsurf integration
  • Build internal AI tooling dashboards where Claude calls custom business logic hosted on Vercel
  • Rapid MCP server prototyping using familiar Next.js/Nuxt patterns instead of raw MCP SDK

FAQ

Server Stats

GitHub Stars
573
Updated
3/13/2026
NPM Package
mcp-handler

Category

Related Resources

Weekly AI Digest