Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Next.js MCP Server Template

БесплатноНе проверен

A starter Next.js project that uses the MCP Adapter to allow MCP clients to connect and access resources.

GitHubEmbed

Описание

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_URL and toggling the disableSse flag to false in app/mcp/route.ts
  • Make sure you have Fluid compute enabled for efficient execution
  • After enabling Fluid compute, open app/route.ts and adjust maxDuration to 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

from github.com/vercel-labs/mcp-for-next.js

Установка Next.js MCP Server Template

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/vercel-labs/mcp-for-next.js

FAQ

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

Compare Next.js MCP Server Template with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development