GitPedia

Nitrostack

The full-stack TypeScript framework to build, test, and deploy production-ready MCP servers and AI-native apps.

From nitrocloudofficial·Updated June 26, 2026·View on GitHub·

The enterprise-grade TypeScript framework for building production-ready MCP servers. Decorators. Dependency Injection. Widgets. One framework to ship AI-native backends. The project is written primarily in TypeScript, distributed under the Apache License 2.0 license, first published in 2026. Key topics include: agentic-ai, ai, chatgpt, chatgpt-apps, claude.

<div align="center"> <a href="https://nitrostack.ai"> <img src="logo.png" alt="NitroStack" width="120" /> </a> <h1>NitroStack</h1> <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> <br />

<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>

<br /> <br />

<a href="https://docs.nitrostack.ai"><strong>Documentation</strong></a>  · 
<a href="https://docs.nitrostack.ai/quick-start"><strong>Quick Start</strong></a>  · 
<a href="https://blog.nitrostack.ai"><strong>Blog</strong></a>  · 
<a href="https://nitrostack.ai/studio"><strong>NitroStudio</strong></a>  · 
<a href="https://discord.gg/uVWey6UhuD"><strong>Discord</strong></a>

<br /> <br /> </div>

Quick Start

Prerequisites

1. Scaffold a new project

bash
npx @nitrostack/cli init my-server

NitroStack CLI

2. Start developing

bash
cd my-server npm install npm run dev

Your MCP server is running. Connect it to any MCP-compatible client.

3. Open in NitroStudio

Once your project is scaffolded, open the same folder in NitroStudio for visual testing and debugging.

  • Download: https://nitrostack.ai/studio
  • Open your my-server project folder
  • Use NitroStudio to test tools, inspect payloads, and chat with your MCP server

Why NitroStack?

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.

  • Decorator-driven — Define tools, resources, and prompts with clean, declarative TypeScript decorators
  • Dependency injection — First-class DI container with singleton, transient, and scoped lifecycles
  • Auth built in — JWT, OAuth 2.1, and API key authentication out of the box
  • Middleware pipeline — Guards, interceptors, pipes, and exception filters just like enterprise backends
  • UI Widgets — Attach React components to tool outputs for rich, interactive responses
  • Zod validation — End-to-end type safety from schema to runtime
  • NitroStudio — A dedicated desktop app for testing, debugging, and chatting with your server

See It in Action

typescript
import { McpApp, Module, ToolDecorator as Tool, z, ExecutionContext } from '@nitrostack/core'; @McpApp({ module: AppModule, server: { name: 'my-server', version: '1.0.0' } }) @Module({ imports: [] }) export class AppModule {} export class SearchTools { @Tool({ name: 'search_products', description: 'Search the product catalog', inputSchema: z.object({ query: z.string().describe('Search query'), maxResults: z.number().default(10) }) }) @UseGuards(ApiKeyGuard) @Cache({ ttl: 300 }) @Widget('product-grid') async search(input: { query: string; maxResults: number }, ctx: ExecutionContext) { ctx.logger.info('Searching products', { query: input.query }); return this.productService.search(input.query, input.maxResults); } }

One decorator stack gives you: API definition + validation + auth + caching + UI — zero boilerplate.

Ecosystem

NitroStack is modular. Install only what you need:
The implementation workspace for NitroStack packages lives in typescript/.

PackageWhat it doesInstall
@nitrostack/coreThe framework — decorators, DI, server runtimenpm i @nitrostack/core
@nitrostack/cliScaffolding, dev server, code generatorsnpm i -g @nitrostack/cli
@nitrostack/widgetsReact SDK for interactive tool output UIsnpm i @nitrostack/widgets

NitroStudio

NitroStudio is a desktop app purpose-built for developing MCP servers. Open your project folder — it handles the dev server for you.

NitroStudio

Download NitroStudio

<table> <tr> <td width="50%">

Real-time tool testing
Execute tools, inspect payloads, and debug request/response cycles.

Testing

</td> <td width="50%">

Built-in AI chat
Talk to your MCP server through an integrated AI assistant.

AI Chat

</td> </tr> </table>
  • Widget preview — Instantly visualize your interactive UI components
  • Hot reload — Changes reflect in real time as you develop

Documentation

ResourceDescription
Getting StartedInstallation, quick start, and first project
Server ConceptsModules, DI, and architecture deep dive
Tools GuideDefining tools, validation, annotations
Widgets GuideBuilding interactive UI components
AuthenticationJWT, OAuth 2.1, API key setup
CLI ReferenceAll CLI commands and options
DeploymentProduction checklist, Docker, cloud platforms

Community

  • Discord — Ask questions, share projects, get help
  • GitHub Discussions — Proposals, ideas, and Q&A
  • Twitter / X — Announcements and updates
  • YouTube — Product demos and walkthroughs
  • LinkedIn — Company news and updates
  • GitHub — Organization profile and open-source work
  • Blog — Tutorials, deep dives, and release notes

Contributing

We welcome contributions of all kinds — bug fixes, features, docs, and ideas. Read the Contributing Guide to get started.

Looking for a place to begin? Check out issues labeled good first issue.

Contributors

<a href="https://github.com/nitrocloudofficial/nitrostack/graphs/contributors"> <img src="https://contrib.rocks/image?repo=nitrocloudofficial/nitrostack" alt="Contributors" /> </a>

License

NitroStack is open-source software licensed under the Apache License 2.0.


<div align="center"> <sub>Built by the <a href="https://nitrostack.ai">NitroStack</a> team and contributors.</sub> </div>

Contributors

Showing top 5 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from nitrocloudofficial/nitrostack via the GitHub API.Last fetched: 6/27/2026