MCP.so
ログイン

Nuxt MCP Server on Vercel

@atinux

基本情報

カテゴリ

クラウドとインフラ

トランスポート

stdio

作者

atinux

Nuxt MCP Server on Vercel について

Example of creating a MCP server with Nuxt / Nitro.

Nuxt MCP Server on Vercel の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Nuxt MCP Server on Vercel のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

How do I install dependencies?

Run `pnpm install` in the project root.

2

How do I start the development server?

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

3

How do I build for production?

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

4

How do I deploy to Vercel?

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

5

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`.

コメント

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