Repository navigation
v0.1.0
First public release of dendra — a typed, decorator-free, codegen-free RPC/REST framework for Next.js and any Web-standard runtime, where every procedure can also be an LLM tool and an MCP server.
📦 npm: https://www.npmjs.com/package/dendra · npm i dendra
Highlights
- One definition → typed client (no codegen), REST + OpenAPI, streaming, in-process caller, LLM tools, and an MCP server.
- Middleware (
.use()), typed.output(), request batching, class controllers. - In-memory and Redis pub/sub; WebSocket transport.
- AI/MCP both directions: expose your procedures as tools/MCP, and consume external MCP servers (
createMcpToolSource+mergeToolsets). - Optional
dendra/anthropic(runAgent) anddendra/react(useAssistant) helpers. - Zero runtime dependencies in the core.
Pre-1.0 and experimental — APIs may change before 1.0.