# nitrostack [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/nitrocloudofficial/nitrostack  
**GitHub Stars:** 2563  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/nitrostack

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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "nitrostack": {
    "command": "npx",
    "args": ["-y","@nitrostack/cli"]
  }
}
```

## Documentation

## What nitrostack does

NitroStack is a full-stack TypeScript framework for creating MCP servers and AI-native applications. Its core package provides the server runtime, decorators, dependency injection, and application structure. The framework is designed around declarative definitions: developers annotate classes and methods to expose tools, resources, and prompts without manually wiring each endpoint.

The ecosystem also includes a CLI for project scaffolding, development workflows, and code generation, plus a widgets package for attaching React interfaces to tool results. NitroStudio is a separate desktop application for working with a NitroStack project through visual testing and debugging tools.

## How it works

A project starts with an application definition that references a module. Modules organize the application, while decorated methods become MCP capabilities. Tool definitions can include names, descriptions, and Zod input schemas, allowing request validation to remain alongside the API declaration.

NitroStack includes a dependency-injection container with singleton, transient, and scoped lifecycles. Request processing can be extended with guards, interceptors, pipes, and exception filters. Authentication options include JWT, OAuth 2.1, and API keys. Tool methods can also use caching and attach a widget identifier to return interactive UI alongside their output.

The development server is launched from a scaffolded project. NitroStudio can open that project, manage its development server, execute tools, inspect request and response payloads, provide an integrated AI chat interface, preview widgets, and apply code changes through hot reload.

## Setup and configuration

The quick-start path requires Node.js 20.18 or newer and npm 9 or newer. Create a project with the CLI, install its dependencies, and start development:

```bash
npx @nitrostack/cli init my-server
cd my-server
npm install
npm run dev
```

The framework can also be installed in individual packages. `@nitrostack/core` contains the framework runtime, `@nitrostack/cli` provides the command-line tooling, and `@nitrostack/widgets` supplies the React SDK for interactive tool output interfaces. The CLI is available through its npm package and can be installed globally when preferred.

After scaffolding, open the project directory in NitroStudio to test the server visually. Deployment guidance covers production checklists, Docker, and cloud platforms.

## Tools and capabilities

- Define MCP tools, resources, and prompts with TypeScript decorators.
- Validate tool inputs at runtime with Zod schemas.
- Manage application dependencies with singleton, transient, and scoped lifecycles.
- Apply guards, interceptors, pipes, and exception filters to request handling.
- Configure JWT, OAuth 2.1, or API key authentication.
- Add caching and React widgets to tool implementations.
- Scaffold projects and run development workflows with the CLI.
- Test tools, inspect payloads, chat with a server, preview widgets, and use hot reload in NitroStudio.

_Full upstream README: https://allmcps.com/mcp/nitrostack/readme_

