Integrates the Model Context Protocol (MCP) server into Next.js applications.
This project serves as an example of how to build an MCP server within a Next.js environment. It leverages the Vercel MCP Adapter to streamline the integration process, enabling developers to easily define their custom tools, prompts, and resources according to the MCP TypeScript SDK documentation. The repository also provides essential notes for optimized deployment on Vercel, addressing considerations like SSE transport with Redis and efficient execution with Fluid compute. A sample client is included to facilitate testing of server invocations.
主な機能
01Supports custom tool, prompt, and resource definition
02Optimized for Vercel deployment with SSE and Fluid compute
03Includes a sample client for invocation testing
04Integrates with Vercel MCP Adapter
05Designed for Next.js projects
060 GitHub stars
ユースケース
01Integrating AI models and tools into Next.js applications