Transform your Node.js API into MCP tools and RAG knowledge sources. Decorator-based, multi-framework, production-ready.
@Controller('/api/orders')
class Orders {
@Post('/')
@AiTool('create_order')
@AiDescription('Creates an order')
static create(req, res) { ... }
@Delete('/:id')
@AiHidden()
static delete(req, res) { ... }
}
useController(app, Orders);
useAi(app); // Done. MCP + RAG enabled.
tools/list, tools/call, resources, prompts, completions, ping. Claude, GPT, Kiro call your API directly.
Built-in semantic search. Local, OpenAI, or Ollama embeddings. The rag_search tool is auto-registered.
Express, Fastify, Koa, Hono, NestJS, Next.js, tRPC, AWS Lambda. Auto-detected or explicit.
API key auth, CORS, rate limiting, circuit breaker, multi-tenant, audit log, dry-run mode.
useController + useAi. Your endpoints become AI-callable tools instantly.