Nitrocloud LogoNitroStack

Build Production-Ready
MCP Servers

The decorator-based framework for TypeScript. Type-safe, modular, and built for scale.

user.tools.ts
import { Tool, ExecutionContext } from 'nitrostack';
import { z } from 'zod';

export class UserTools {
  @Tool({
    name: 'get_user',
    description: 'Fetch user details',
    inputSchema: z.object({
      userId: z.string()
    })
  })
  async getUser(input: any, ctx: ExecutionContext) {
    return db.users.find(input.userId);
  }
}

Type Safety

End-to-end type safety with Zod schemas and TypeScript inference.

Decorators

Clean, declarative architecture inspired by NestJS.

Auth Built-in

Secure your MCP server with standard auth patterns.

UI Components

Rich widgets for enhanced LLM interactions and data display.

CLI Automation

  • Instant project scaffolding
  • Hot-reload dev server
  • Optimized production builds
Learn more

Core SDK

  • Resource management
  • Prompt templates
  • Tool orchestration
Learn more

Ecosystem

  • Deployment templates
  • Community plugins
  • Testing utilities
Learn more

Deployment

  • Docker support
  • Serverless ready
  • Edge compatible
Learn more

Ready to build?

Join thousands of developers building the next generation of AI tools.