Example MCP Server built on Next.js
@MarkArmsrong
About Example MCP Server built on Next.js
MCP Server Generic
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"yadathingy-MCP": {
"command": "node",
"args": [
"scripts/test-client.mjs",
"https://yadathingy-mcp.vercel.app"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Example MCP Server built on Next.js?
An MCP (Model Context Protocol) server built with Next.js, providing tools, prompts, and resources using the MCP TypeScript SDK. Designed for developers who want to deploy a conformant MCP server on Vercel with a Redis-backed state layer.
How to use Example MCP Server built on Next.js?
Edit app/mcp.ts to define your tools, prompts, and resources following the MCP TypeScript SDK documentation. Deploy to Vercel with a Redis instance available via process.env.REDIS_URL and Fluid compute enabled. After enabling Fluid compute, adjust the max duration in app/sse/route.ts to 800 seconds if on a Pro or Enterprise account. A sample client script at scripts/test-client.mjs can be run with node scripts/test-client.mjs <url> to test invocations.
Key features of Example MCP Server built on Next.js
- Built with Next.js and deployed on Vercel
- Uses the official MCP TypeScript SDK
- Requires Redis for state persistence
- Optimized for Vercel Fluid compute
- Includes a sample client for testing
Use cases of Example MCP Server built on Next.js
- Deploy an MCP server as a Next.js app on Vercel
- Experiment with MCP tools, prompts, and resources locally
- Test MCP invocations via the included sample client
- Integrate MCP capabilities into a Vercel-hosted application
FAQ from Example MCP Server built on Next.js
What runtime dependencies does Example MCP Server built on Next.js have?
It requires a Redis instance connected via process.env.REDIS_URL and Vercel Fluid compute enabled. For Pro/Enterprise accounts, the max duration in app/sse/route.ts should be set to 800 seconds.
How do I deploy Example MCP Server built on Next.js?
Use the Vercel MCP Next.js template or deploy manually, ensuring Redis and Fluid compute are configured.
How can I test the server after deployment?
Run node scripts/test-client.mjs https://your-deployment-url.vercel.app using the sample client script.
Can I run this server locally?
The README focuses on Vercel deployment; no local setup instructions are provided.
Does this server support authentication or custom transports?
The README does not mention authentication or alternative transports beyond SSE (implied by app/sse/route.ts).
Frequently asked questions
What runtime dependencies does Example MCP Server built on Next.js have?
It requires a Redis instance connected via `process.env.REDIS_URL` and Vercel Fluid compute enabled. For Pro/Enterprise accounts, the max duration in `app/sse/route.ts` should be set to 800 seconds.
How do I deploy Example MCP Server built on Next.js?
Use the Vercel MCP Next.js template or deploy manually, ensuring Redis and Fluid compute are configured.
How can I test the server after deployment?
Run `node scripts/test-client.mjs https://your-deployment-url.vercel.app` using the sample client script.
Can I run this server locally?
The README focuses on Vercel deployment; no local setup instructions are provided.
Does this server support authentication or custom transports?
The README does not mention authentication or alternative transports beyond SSE (implied by `app/sse/route.ts`).
Basic information
More Other MCP servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Comments