mcpField
N
Nuxt MCP Server on Vercel

Nuxt MCP Server on Vercel

Local
mcp-with-nuxt.vercel.appCloud & Infra17Updated 59w ago

About Nuxt MCP Server on Vercel

Nuxt MCP Server on Vercel is a Nuxt application template for building MCP servers. Developers can add tools, prompts, and resources in `server/routes/mcp.ts`; it uses Streamable HTTP transport and mounts the server at `/mcp`.

Key features

  1. 01Nuxt and Nitro template
  2. 02Streamable HTTP transport
  3. 03Tools, prompts, and resources
  4. 04MCP endpoint at `/mcp`
  5. 05Sample client script

Use cases

  1. 01Start a Nuxt-based MCP server
  2. 02Add custom tools and prompts
  3. 03Test local server invocations

MCP support

It serves as an MCP server over Streamable HTTP, exposing configured tools, prompts, and resources at `/mcp`.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Nuxt MCP Server Template

This is a simple Nuxt application that serves as a MCP server using the Streamable HTTP Server Transport.

Update server/routes/mcp.ts with your tools, prompts, and resources following the mcp-handler documentation.

The MCP server is mounted on /mcp.

Setup

Make sure to install dependencies:

pnpm install

Development Server

Start the development server on another terminal on http://localhost:3000:

pnpm dev

Production

Build the application for production:

pnpm build

Locally preview production build:

pnpm preview

Check out the deployment documentation for more information.

Notes for running on Vercel

Make sure you have Fluid compute enabled for efficient execution

Deploy with Vercel

Sample Client

script/test-client.mjs contains a sample client to try invocations.

node scripts/test-client.mjs http://localhost:3000

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.