This project implements a Model Context Protocol (MCP) server for Nuxt UI, exposing Nuxt UI documentation and resources via a standardized API. It is built with TypeScript and Express, and leverages the @modelcontextprotocol/sdk.
- Serves Nuxt UI documentation and resources via MCP endpoints
- Express-based HTTP server
- Supports session-based streaming via MCP
- Node.js v18 or higher
- npm v9 or higher
git clone <your-fork-or-repo-url>
cd nuxt-ui-mcp
npm install
First, compile the TypeScript source:
npm run build
npm start
npm run start:bg
npm run stop:bg
npm run delete:bg
npm run logs:bg
Runs the server and the MCP inspector concurrently:
npm run dev
The server will listen on the port specified by the DEFAULT_PORT
environment variable, or 3000
if not set.
Create a .env
file in the project root if you need to override defaults. Example:
DEFAULT_PORT=3000
There are currently no automated tests or test scripts for this project. If you would like to contribute tests, see the Contributing section.
- Fork this repository and create a new branch for your feature or fix.
- Ensure you have Node.js and npm installed.
- Run
npm install
to install dependencies. - Use
npm run build
to compile TypeScript before submitting a PR. - Follow the existing code style and TypeScript strictness (see
tsconfig.json
). - If adding features or fixing bugs, please document your changes in the PR description.
MIT