Cover image

3 years

Works with Finder

42

Github Watches

11

Github Forks

42

Github Stars

Example MCP Server built on Next.js

Usage

Update app/mcp.ts with your tools, prompts, and resources following the MCP TypeScript SDK documentation.

Notes for running on Vercel

  • Requires a Redis attached to the project under process.env.REDIS_URL
  • Make sure you have Fluid compute enabled for efficient execution
  • After enabling Fluid compute, open app/sse/route.ts and adjust max duration 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

相关推荐

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • lasso-security
  • A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents.

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

  • hkr04
  • Lightweight C++ MCP (Model Context Protocol) SDK

  • sigoden
  • Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信(企业微信、个人微信)/ 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 ChatGPT、DeepSeek、Dify、Claude、Gemini、xAI、PPIO、Ollama、LM Studio、阿里云百炼、火山方舟、SiliconFlow、Qwen、Moonshot、ChatGLM、SillyTraven、MCP 等 LLM 的机器人 / Agent | LLM-based instant messaging bots platform, supports Discord, Telegram, WeChat, Lark, DingTalk, QQ, Slack

  • modelscope
  • Start building LLM-empowered multi-agent applications in an easier way.

    Reviews

    2.6 (5)
    Avatar
    user_JwpFcK4Z
    2025-04-24

    I've been using mcp-for-next.js by vercel-labs, and it has significantly improved my development workflow! The seamless integration with Next.js and the powerful features it offers make it an indispensable tool for anyone working with this framework. Highly recommended for Next.js developers looking for efficiency and performance in their projects.

    Avatar
    user_Aw4EKmA5
    2025-04-24

    As a dedicated user of mcp-for-next.js, I am thoroughly impressed with its seamless integration and performance. Vercel Labs has done an outstanding job in creating a product that significantly enhances the development experience with Next.js. Its efficiency and powerful features make it a must-have tool for any Next.js application.

    Avatar
    user_E7cSDXz3
    2025-04-24

    As a dedicated user of mcp-for-next.js by vercel-labs, I am extremely impressed with its seamless integration and powerful features. It significantly enhances the efficiency of my Next.js projects, making development a breeze. Highly recommend this tool to any Next.js developer looking for robustness and ease of use.

    Avatar
    user_Fp1PGSSx
    2025-04-24

    I've been using mcp-for-next.js by vercel-labs for a while now, and it has significantly streamlined my development process. This tool integrates seamlessly with Next.js, providing robust functionalities that enhance productivity. The interface is user-friendly, and the documentation is thorough, making it easy to get started. I highly recommend it to anyone looking to optimize their Next.js projects.

    Avatar
    user_wU4Gwon5
    2025-04-24

    As a dedicated user of mcp-for-next.js by vercel-labs, I can't recommend this product enough! Its seamless integration with Next.js streamlines my development process, providing a robust and efficient framework for my projects. The comprehensive documentation and welcoming community support make it an indispensable tool for both novice and experienced developers. Highly appreciate the responsive updates and commitment from the authors.