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 Yes, Next.js MCP Server Template MCP is free — one-click install via Unyly at no cost.
No, Next.js MCP Server Template runs without API keys or environment variables.
Self-hosted: the server runs locally on your machine via the install command above.
Open Next.js MCP Server Template on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs