Skip to main content
Glama

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

Related MCP server: Example Next.js MCP Server

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
-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/atinux/mcp-with-nuxt-vercel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server