Next.js MCP Server Template
БесплатноНе проверен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.
README
Uses mcp-handler
Usage
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.
Notes for running on Vercel
- To use the SSE transport, requires a Redis attached to the project under
process.env.REDIS_URLand toggling thedisableSseflag tofalseinapp/mcp/route.ts - Make sure you have Fluid compute enabled for efficient execution
- After enabling Fluid compute, open
app/route.tsand adjustmaxDurationto 800 if you using a Vercel Pro or Enterprise account - Deploy the Next.js MCP template
Sample Client
script/test-client.mjs contains a sample client to try invocations.
node scripts/test-client.mjs https://mcp-for-next-js.vercel.app
Установка Next.js MCP Server Template
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/vercel-labs/mcp-for-next.jsFAQ
Next.js MCP Server Template MCP бесплатный?
Да, Next.js MCP Server Template MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Next.js MCP Server Template?
Нет, Next.js MCP Server Template работает без API-ключей и переменных окружения.
Next.js MCP Server Template — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Next.js MCP Server Template в Claude Desktop, Claude Code или Cursor?
Открой Next.js MCP Server Template на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Next.js MCP Server Template with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
