SDK Overview

Build MCP servers in TypeScript or Python, with the same architecture in both.

NitroStack ships two SDKs: @nitrostack/core for TypeScript and nitrostack for Python. Both build MCP servers the same way. You group features into modules, declare tools, resources, and prompts with decorators, inject services with dependency injection, and run every call through the same request pipeline.

The APIs follow each language's conventions. TypeScript uses Zod schemas and class decorators such as @Tool; Python uses Pydantic models and decorators such as @tool. Pick the language your team works in; everything else in these docs applies to both.

Choose your language

Look up syntax fast

One page has the snippets you reach for most, in TypeScript and in Python.

What's in the SDK

Both SDKs share these concepts, but not their syntax. The Reference shows each API in TypeScript with the Python equivalent beside it.

On this page