MCP.so
登录

Nuxt MCP Server on Vercel

@atinux

关于 Nuxt MCP Server on Vercel

Example of creating a MCP server with Nuxt / Nitro.

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

atinux

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-with-nuxt-vercel": {
      "command": "node",
      "args": [
        "scripts/test-client.mjs",
        "http://localhost:3000"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Nuxt MCP Server on Vercel?

It is a Nuxt application template that acts as an MCP server using the Streamable HTTP Server Transport. Designed for building and deploying MCP servers on Vercel.

How to use Nuxt MCP Server on Vercel?

Install dependencies with pnpm install, then start a development server with pnpm dev on http://localhost:3000. For production, build with pnpm build and deploy to Vercel with Fluid compute enabled. Customize the server by editing server/routes/mcp.ts to define tools, prompts, and resources.

Key features of Nuxt MCP Server on Vercel

  • Uses Streamable HTTP Server Transport
  • MCP server mounted on /mcp route
  • Includes sample client script for testing
  • Deployable to Vercel with Fluid compute
  • Built with the Nuxt framework
  • Customizable via server/routes/mcp.ts

Use cases of Nuxt MCP Server on Vercel

  • Building a custom MCP server with Nuxt
  • Deploying an MCP server on Vercel’s edge network
  • Testing MCP tool invocations locally with the sample client
  • Creating custom tools, prompts, and resources for MCP

FAQ from Nuxt MCP Server on Vercel

How do I install dependencies?

Run pnpm install in the project root.

How do I start the development server?

Run pnpm dev to start the server on http://localhost:3000.

How do I build for production?

Run pnpm build to build the application for production. You can preview the production build with pnpm preview.

How do I deploy to Vercel?

Use the provided “Deploy with Vercel” button and ensure Fluid compute is enabled for efficient execution.

How can I test the MCP server locally?

Run the sample client script at scripts/test-client.mjs with your server URL, for example node scripts/test-client.mjs http://localhost:3000.

评论

云与基础设施 分类下的更多 MCP 服务器