Vercel MCP Adapter
Officialby 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