MCP.so
登录

@vercel/MCP Adapter

@vercel

基本信息

分类

开发工具

最近更新

传输方式

stdio

作者

vercel

关于 @vercel/MCP Adapter

Easily spin up an MCP Server on Next.js, Nuxt, Svelte, and more

@vercel/MCP Adapter 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

@vercel/MCP Adapter 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is @vercel/mcp-adapter?

@vercel/mcp-adapter is a Vercel adapter for the Model Context Protocol (MCP) that enables real‑time communication between applications and AI models. It supports Next.js (13+) and Nuxt (3+) frameworks and provides both Streamable HTTP and Server‑Sent Events transports.

How to use @vercel/mcp-adapter?

Install the package along with @modelcontextprotocol/sdk@1.26.0 and zod. Create a handler in a Next.js API route (e.g. app/api/[transport]/route.ts) using createMcpHandler, register tools with Zod input schemas, and export the handler as GET and POST. Clients can connect directly via Streamable HTTP or through mcp-remote for stdio‑only clients.

Key features of @vercel/mcp-adapter

  • Supports Next.js and Nuxt frameworks
  • Streamable HTTP and Server-Sent Events transports
  • Optional Redis integration for SSE transport resumability
  • Full TypeScript type definitions included
  • Enables dynamic routing and tool registration

Use cases of @vercel/mcp-adapter

  • Deploy an MCP server on Vercel for AI tool integration
  • Build real‑time, AI‑powered applications with custom tools
  • Connect with Claude Desktop, Cursor, or Windsurf via MCP
  • Use SSE for long‑lived connections with optional Redis persistence

常见问题

1

What runtime dependencies are required?

Next.js 13+ or Nuxt 3+, Node.js 18+, and optionally Redis for SSE resumability.

2

Why should I use `@modelcontextprotocol/sdk` version 1.26.0 or later?

Versions prior to 1.26.0 contain a security vulnerability. Always use at least 1.26.0.

3

How do I connect clients that only support stdio?

Use `mcp-remote` (available on npm) to bridge HTTP to stdio. Configure it as a command in your MCP client settings.

4

Does the adapter support authentication?

Yes. The documentation includes separate guides for OAuth and token verification.

5

Can I use this adapter with Nuxt?

Yes. The adapter supports Nuxt 3+ and provides examples in the advanced usage documentation.

评论

开发工具 分类下的更多 MCP 服务器