Integrates a Model Context Protocol (MCP) server directly into Next.js applications using the Vercel MCP Adapter.

概要

Provides an example implementation for deploying a Model Context Protocol (MCP) server within a Next.js project. It leverages the Vercel MCP Adapter, enabling developers to seamlessly incorporate an MCP server onto specific routes. This setup is optimized for Vercel deployments, supporting SSE transport with Redis and configured for Fluid compute to ensure efficient execution of AI model interactions.

主な機能

  • Seamless integration of MCP servers into Next.js applications
  • Leverages `@vercel/mcp-adapter` for easy setup
  • Optimized for Vercel deployments with Fluid compute
  • Supports SSE transport via Redis for real-time communication
  • Includes a sample client for testing invocations
  • 0 GitHub stars

ユースケース

  • Developing and hosting Model Context Protocol (MCP) servers on Vercel
  • Integrating AI model interaction capabilities directly into Next.js projects
  • Prototyping and testing MCP server implementations