katokdoescode/nuxt-ui-mcp
If you are the rightful owner of nuxt-ui-mcp 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.
The Nuxt UI MCP Server is a Model Context Protocol server designed to serve Nuxt UI documentation and resources through a standardized API.
Nuxt UI MCP Server
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.
Table of Contents
Features
- Serves Nuxt UI documentation and resources via MCP endpoints
- Express-based HTTP server
- Supports session-based streaming via MCP
Prerequisites
- Node.js v18 or higher
- npm v9 or higher
Installation
1. Clone the repository:
git clone <your-fork-or-repo-url>
cd nuxt-ui-mcp
2. Install dependencies:
npm install
Running the Server
Build
First, compile the TypeScript source:
npm run build
Start (Foreground)
npm start
Start (Background with PM2)
npm run start:bg
Stop (Background/PM2)
npm run stop:bg
Delete PM2 Process
npm run delete:bg
View PM2 Logs
npm run logs:bg
Development Mode
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.
Environment Variables
Create a .env
file in the project root if you need to override defaults. Example:
DEFAULT_PORT=3000
Testing
There are currently no automated tests or test scripts for this project. If you would like to contribute tests, see the Contributing section.
Contributing
- 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.
License
MIT