atinux/mcp-with-nuxt
If you are the rightful owner of mcp-with-nuxt and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Nuxt MCP Server on Vercel is a simple Nuxt application that serves as a Model Context Protocol (MCP) server using the Vercel MCP Adapter.
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
Sample Client
script/test-client.mjs
contains a sample client to try invocations.
node scripts/test-client.mjs http://localhost:3000