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.

コメント

「クラウドとインフラ」の他のコンテンツ