Example Next.js MCP Server
@npstorey
关于 Example Next.js MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"opengov-mcp-server-vercel-nextjs": {
"command": "node",
"args": [
"scripts/test-client.mjs",
"https://mcp-for-next-js.vercel.app"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Example Next.js MCP Server?
Example Next.js MCP Server is a template that uses the @vercel/mcp-adapter to integrate a Model Context Protocol (MCP) server into any Next.js project. It is designed for developers who want to quickly add MCP tools, prompts, and resources to their Next.js applications.
How to use Example Next.js MCP Server?
Update app/[transport]/route.ts with your tools, prompts, and resources following the MCP TypeScript SDK documentation. To test invocations, run node scripts/test-client.mjs <url> using the provided sample client. For SSE transport, ensure a Redis instance is attached and Fluid compute is enabled.
Key features of Example Next.js MCP Server
- Integrates MCP server into Next.js routes via
@vercel/mcp-adapter - Supports SSE transport (requires Redis and Fluid compute)
- Deployable with Vercel’s Next.js MCP template
- Includes a sample client script for testing
Use cases of Example Next.js MCP Server
- Adding an MCP server to an existing Next.js application
- Building a prototype that uses MCP tools and resources
- Testing MCP server functionality with the provided sample client
FAQ from Example Next.js MCP Server
What transport does Example Next.js MCP Server support?
The server supports SSE transport, which requires a Redis instance attached to the project under process.env.REDIS_URL.
What runtime requirements are needed for Example Next.js MCP Server?
You need to enable Fluid compute on Vercel for efficient execution. If using a Pro or Enterprise account, adjust maxDuration to 800 in app/route.ts.
How can I deploy Example Next.js MCP Server?
Use the Vercel Next.js MCP template linked in the README to deploy the server directly.
Where do I configure tools and resources?
Edit app/[transport]/route.ts following the MCP TypeScript SDK documentation to add your tools, prompts, and resources.
云与基础设施 分类下的更多 MCP 服务器

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
K8s MCP Server
alexei-ledK8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI syste
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
评论