trackmcp
Back to directory
atinux

mcp-with-nuxt

View on GitHub

Example of creating a MCP server with Nuxt / Nitro.

16 stars TypeScriptServers & Infrastructure Updated Nov 4, 2025
mcp-servernitronuxtvercel

Documentation

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:

bash
pnpm install

Development Server

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

bash
pnpm dev

Production

Build the application for production:

bash
pnpm build

Locally preview production build:

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

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

Frequently asked questions

What is mcp-with-nuxt?

mcp-with-nuxt is Example of creating a MCP server with Nuxt / Nitro.

How do I install mcp-with-nuxt?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-with-nuxt open source?

Yes — it is hosted on GitHub at https://github.com/atinux/mcp-with-nuxt-vercel and has 16 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP