loading…
Search for a command to run...
loading…
A starter Next.js project that uses the MCP Adapter to allow MCP clients to connect and access resources.
A starter Next.js project that uses the MCP Adapter to allow MCP clients to connect and access resources.
Uses mcp-handler
This sample app uses the Vercel MCP Adapter that allows you to drop in an MCP server on a group of routes in any Next.js project.
Update app/[transport]/route.ts with your tools, prompts, and resources following the MCP TypeScript SDK documentation.
process.env.REDIS_URL and toggling the disableSse flag to false in app/mcp/route.tsapp/route.ts and adjust maxDuration to 800 if you using a Vercel Pro or Enterprise accountscript/test-client.mjs contains a sample client to try invocations.
node scripts/test-client.mjs https://mcp-for-next-js.vercel.app
Run in your terminal:
claude mcp add next-js-mcp-server-template -- npx pro tip
Just installed Next.js MCP Server Template? Say to Claude: "remember why I installed Next.js MCP Server Templateand what I want to try" — it'll save into your Vault.
how this works →CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.