$git clone https://github.com/nitrocloudofficial/nitrostack<p><strong>The enterprise-grade TypeScript framework for building production-ready MCP servers.</strong></p> <p>Decorators. Dependency Injection. Widgets. One framework to ship AI-native backends.</p>
| 1 | <div align="center"> |
| 2 | <a href="https://nitrostack.ai"> |
| 3 | <img src="logo.png" alt="NitroStack" width="120" /> |
| 4 | </a> |
| 5 | |
| 6 | <h1>NitroStack</h1> |
| 7 | |
| 8 | <p><strong>The enterprise-grade TypeScript framework for building production-ready MCP servers.</strong></p> |
| 9 | <p>Decorators. Dependency Injection. Widgets. One framework to ship AI-native backends.</p> |
| 10 | |
| 11 | <br /> |
| 12 | |
| 13 | <a href="https://www.npmjs.com/package/@nitrostack/core"><img src="https://img.shields.io/npm/v/@nitrostack/core?style=flat-square&label=%40nitrostack%2Fcore&color=cb0000" alt="npm version" /></a> |
| 14 | <a href="https://www.npmjs.com/package/@nitrostack/core"><img src="https://img.shields.io/npm/dm/@nitrostack/core?style=flat-square&color=cb0000" alt="npm downloads" /></a> |
| 15 | <a href="https://github.com/nitrocloudofficial/nitrostack"><img src="https://img.shields.io/github/stars/nitrocloudofficial/nitrostack?style=flat-square&color=cb0000" alt="GitHub stars" /></a> |
| 16 | <a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue?style=flat-square" alt="License" /></a> |
| 17 | <a href="https://discord.gg/uVWey6UhuD"><img src="https://img.shields.io/badge/Discord-Join%20Community-5865F2?style=flat-square&logo=discord&logoColor=white" alt="Discord" /></a> |
| 18 | <a href="https://x.com/nitrostackai"><img src="https://img.shields.io/badge/Follow-000000?style=flat-square&logo=x&logoColor=white" alt="X" /></a> |
| 19 | <a href="https://www.youtube.com/@nitrostackai"><img src="https://img.shields.io/badge/YouTube-Subscribe-FF0000?style=flat-square&logo=youtube&logoColor=white" alt="YouTube" /></a> |
| 20 | <a href="https://linkedin.com/company/nitrostack-ai/"><img src="https://img.shields.io/badge/LinkedIn-Follow-0A66C2?style=flat-square&logo=linkedin&logoColor=white" alt="LinkedIn" /></a> |
| 21 | <a href="https://github.com/nitrostackai"><img src="https://img.shields.io/badge/GitHub-Organization-181717?style=flat-square&logo=github&logoColor=white" alt="GitHub" /></a> |
| 22 | |
| 23 | <br /> |
| 24 | <br /> |
| 25 | |
| 26 | <a href="https://docs.nitrostack.ai"><strong>Documentation</strong></a> · |
| 27 | <a href="https://docs.nitrostack.ai/quick-start"><strong>Quick Start</strong></a> · |
| 28 | <a href="https://blog.nitrostack.ai"><strong>Blog</strong></a> · |
| 29 | <a href="https://nitrostack.ai/studio"><strong>NitroStudio</strong></a> · |
| 30 | <a href="https://discord.gg/uVWey6UhuD"><strong>Discord</strong></a> |
| 31 | |
| 32 | <br /> |
| 33 | <br /> |
| 34 | </div> |
| 35 | |
| 36 | --- |
| 37 | |
| 38 | ## Quick Start |
| 39 | |
| 40 | ### Prerequisites |
| 41 | |
| 42 | - **Node.js** >= 20.18 ([download](https://nodejs.org/)) |
| 43 | - **npm** >= 9 |
| 44 | |
| 45 | ### 1. Scaffold a new project |
| 46 | |
| 47 | ```bash |
| 48 | npx @nitrostack/cli init my-server |
| 49 | ``` |
| 50 | |
| 51 |  |
| 52 | |
| 53 | ### 2. Start developing |
| 54 | |
| 55 | ```bash |
| 56 | cd my-server |
| 57 | npm install |
| 58 | npm run dev |
| 59 | ``` |
| 60 | |
| 61 | Your MCP server is running. Connect it to any MCP-compatible client. |
| 62 | |
| 63 | ### 3. Open in NitroStudio |
| 64 | |
| 65 | Once your project is scaffolded, open the same folder in NitroStudio for visual testing and debugging. |
| 66 | |
| 67 | - Download: <https://nitrostack.ai/studio> |
| 68 | - Open your `my-server` project folder |
| 69 | - Use NitroStudio to test tools, inspect payloads, and chat with your MCP server |
| 70 | |
| 71 | ## Why NitroStack? |
| 72 | |
| 73 | Building MCP servers today means stitching together boilerplate, reinventing authentication, and hoping your tooling scales. NitroStack gives you an opinionated, batteries-included framework so you can focus on what your server actually does. |
| 74 | |
| 75 | - **Decorator-driven** — Define tools, resources, and prompts with clean, declarative TypeScript decorators |
| 76 | - **Dependency injection** — First-class DI container with singleton, transient, and scoped lifecycles |
| 77 | - **Auth built in** — JWT, OAuth 2.1, and API key authentication out of the box |
| 78 | - **Middleware pipeline** — Guards, interceptors, pipes, and exception filters just like enterprise backends |
| 79 | - **UI Widgets** — Attach React components to tool outputs for rich, interactive responses |
| 80 | - **Zod validation** — End-to-end type safety from schema to runtime |
| 81 | - **NitroStudio** — A dedicated |