https://github.com/atinux/mcp-with-nuxt
Example of creating a MCP server with Nuxt / Nitro.
https://github.com/atinux/mcp-with-nuxt
mcp-server nitro nuxt vercel
Last synced: 13 days ago
JSON representation
Example of creating a MCP server with Nuxt / Nitro.
- Host: GitHub
- URL: https://github.com/atinux/mcp-with-nuxt
- Owner: atinux
- Created: 2025-05-09T07:54:36.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-09-09T12:32:55.000Z (26 days ago)
- Last Synced: 2025-09-11T13:20:51.904Z (24 days ago)
- Topics: mcp-server, nitro, nuxt, vercel
- Language: TypeScript
- Homepage: https://mcp-with-nuxt.vercel.app
- Size: 170 KB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt MCP Server Template
This is a simple Nuxt application that serves as a MCP server using the [Streamable HTTP Server Transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http).
Update `server/routes/mcp.ts` with your tools, prompts, and resources following the [mcp-handler](https://github.com/vercel/mcp-handler/tree/main) 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](https://nuxt.com/docs/getting-started/deployment) for more information.
## Notes for running on Vercel
Make sure you have [Fluid compute](https://vercel.com/docs/functions/fluid-compute) enabled for efficient execution
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fatinux%2Fmcp-with-nuxt)
## Sample Client
`script/test-client.mjs` contains a sample client to try invocations.
```sh
node scripts/test-client.mjs http://localhost:3000
```