NitroStack is a TypeScript framework for building production-ready MCP servers with decorators, DI, widgets, and AI-native backends. It ships with a CLI, NitroStudio, and modular packages focused on core framework features.

Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (2 so far).
What it is
NitroStack is the enterprise-grade TypeScript framework for building production-ready MCP servers. It offers Decorators, Dependency Injection, Widgets, and support for AI-native backends.
How it works
The framework provides:
- Decorator-driven definitions for tools, resources, and prompts
- A DI container with singleton, transient, and scoped lifecycles
- Built-in authentication (JWT, OAuth 2.1, API key) and a middleware pipeline with guards, interceptors, pipes, and exception filters
- UI Widgets to attach React components to tool outputs
- Zod validation from schema to runtime
- NitroStudio as a desktop app for testing, debugging, and chatting with the server
Code examples illustrate combining API definitions, validation, auth, caching, and UI in a decorator stack. The ecosystem is modular; you install only what you need (core, CLI, widgets).
Getting started
Prerequisites:
- Node.js >= 20.18
- npm >= 9
Scaffold a new project:
npx @nitrostack/cli init my-server
Then:
cd my-server
npm install
npm run dev
This runs an MCP server that can connect to MCP-compatible clients. To open in NitroStudio, use the NitroStudio workflow after scaffolding.
Recommended workflow includes using:
@nitrostack/corefor the framework@nitrostack/clifor scaffolding, dev server, code generation@nitrostack/widgetsfor interactive UI components
Documentation resources cover getting started, server concepts, tools, widgets, authentication, CLI reference, and deployment.
Recent releases
- 1.0.1 Updated sdk (2026-07-13): JWKS verification, opt-in enforcement gate, and hardened Streamable HTTP transport
- v1.0.0 Safest Stable Release (2026-07-06): This is the safest tag with no errors. Built from the main branch and verified stable for production use. No known issues.
Traction
Stars: 1168 Forks: 44 Open issues: 44
Behind the repo
The project is an organization repository with a modular ecosystem including packages such as @nitrostack/core, @nitrostack/cli, and @nitrostack/widgets.
Caveats
License: Apache-2.0 Created: 2026-03-03 Last push: 2026-07-18






