NitroStack

v1.0.0Developer Toolsstable

Build production-ready, AI-native MCP servers with NitroStack, a TypeScript framework featuring decorators, dependency injection, and widgets.

agentic-aiaichatgptchatgpt-appsclaude
Share:
119
Stars
0
Downloads
0
Weekly
0/5

What is NitroStack?

NitroStack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to build production-ready, ai-native mcp servers with nitrostack, a typescript framework featuring decorators, dependency injection, and widgets.

Build production-ready, AI-native MCP servers with NitroStack, a TypeScript framework featuring decorators, dependency injection, and widgets.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Build production-ready, AI-native MCP servers with NitroStac

Use Cases

TypeScript MCP framework
Dependency injection and decorators
Production-ready server building
LicenseApache-2.0
Languagetypescript
Versionv1.0.0
UpdatedMay 3, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx nitrostack

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use NitroStack

NitroStack is a TypeScript framework for building production-ready, AI-native MCP servers with a decorator-based API, dependency injection, middleware pipelines, and first-class React widget support. Rather than being a standalone MCP server itself, it is the framework you use to build your own MCP servers — providing familiar patterns from NestJS and Express adapted for the Model Context Protocol. Developers who want to ship robust, tested, authenticated MCP tools without building boilerplate from scratch can scaffold a new server in minutes using the NitroStack CLI.

Prerequisites

  • Node.js 18 or later and npm installed
  • TypeScript familiarity (the framework uses decorators and DI patterns)
  • The @nitrostack/cli package installed globally or usable via npx
  • An MCP-compatible client to test your built server (Claude Desktop, Claude Code, or Cursor)
1

Scaffold a new NitroStack MCP server project

Use the NitroStack CLI to generate a new project with all boilerplate configured.

npx @nitrostack/cli init my-mcp-server
cd my-mcp-server
2

Install dependencies

Install the generated project's npm dependencies including @nitrostack/core.

npm install
3

Define a tool using decorators

In your server module, use @Tool() to define an MCP tool with Zod schema validation. Add @Cache(), @UseGuards(), or @Widget() as needed.

import { Tool, Module, McpApp } from '@nitrostack/core';
import { z } from 'zod';

@Module({})
class AppModule {}

// Define your tool
// @Tool({ name: 'my_tool', description: 'Does something useful' })
4

Start the development server

Run the development server with hot reload to test your tools in real time.

npm run dev
5

Connect your MCP client to the running server

Add the server to your MCP client configuration. During development the server runs on stdio or a local HTTP port depending on your project configuration.

6

Build for production

When your tools are ready, compile the project for production deployment.

npm run build
node dist/main.js

NitroStack Examples

Client configuration

Claude Desktop config for a NitroStack server built and running as a Node.js process.

{
  "mcpServers": {
    "my-nitrostack-server": {
      "command": "node",
      "args": ["/path/to/my-mcp-server/dist/main.js"]
    }
  }
}

Prompts to try

These prompts assume you have implemented tools in your NitroStack server. Adjust tool names to match what you built.

- "What tools are available on this MCP server?"
- "Call my_search_tool with query 'hello world'"
- "Use the product_lookup tool to find item SKU-12345"
- "Run the data_export tool and return the results as a table"
- "Call the authenticated tool with my API key"

Troubleshooting NitroStack

Decorators not recognized — TypeScript compile errors about experimentalDecorators

NitroStack requires TypeScript decorator support. Ensure your tsconfig.json has 'experimentalDecorators': true and 'emitDecoratorMetadata': true. The scaffolded project from the CLI includes these settings by default.

Dependency injection container throws 'provider not found' errors

Ensure all providers and services are listed in the @Module() providers array. NitroStack's DI container follows explicit registration — services are not auto-discovered.

MCP client cannot discover tools after starting the server

Verify the server process is running and the transport matches what your MCP client expects. For stdio transport, the command and args in the client config must point to the compiled entry point. Check the NitroStack server logs for startup errors.

Frequently Asked Questions about NitroStack

What is NitroStack?

NitroStack is a Model Context Protocol (MCP) server that build production-ready, ai-native mcp servers with nitrostack, a typescript framework featuring decorators, dependency injection, and widgets. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install NitroStack?

Follow the installation instructions on the NitroStack GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with NitroStack?

NitroStack works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is NitroStack free to use?

Yes, NitroStack is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "nitrostack": { "command": "npx", "args": ["-y", "nitrostack"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use NitroStack?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides