Backend Framework

tzin

[ Open Source ][ Beta ]

Contract-first TypeScript framework with realtime channels and a built-in MCP server

tzin is a TypeScript backend framework: declare your API contract once — with TypeBox — and get end-to-end typing, request validation, automatic OpenAPI 3.1 docs, and an MCP server ready for AI agents to consume your API without translation layers.

// Features

  • Type-safe contracts: one place declares params, body, and responses, inferred straight into the handler
  • OpenAPI 3.1 generated automatically, no custom DSL or codegen
  • Realtime channels (SSE + WebSocket) with Phoenix-style presence
  • Native MCP server — any API becomes ready for AI agents
  • Runs on Node.js, Bun, and Cloudflare Workers

// Technologies

TypeScriptTypeBoxMCP