NitroStack
Build production-ready, AI-native MCP servers with NitroStack, a TypeScript framework featuring decorators, dependency injection, and widgets.
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
Maintainer
Works with
Installation
Manual Installation
npx nitrostackConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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)
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-serverInstall dependencies
Install the generated project's npm dependencies including @nitrostack/core.
npm installDefine 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' })Start the development server
Run the development server with hot reload to test your tools in real time.
npm run devConnect 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.
Build for production
When your tools are ready, compile the project for production deployment.
npm run build
node dist/main.jsNitroStack 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.
NitroStack Alternatives — Similar Developer Tools Servers
Looking for alternatives to NitroStack? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up NitroStack in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.