MCP · RAG · Multi-Framework · Decorators

@romatech/ai-extensions

Transform your Node.js API into MCP tools and RAG knowledge sources. Decorator-based, multi-framework, production-ready.

Decorators → MCP. That's it.

controller.ts
@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.

Enterprise-grade AI enablement

Full MCP Protocol

tools/list, tools/call, resources, prompts, completions, ping. Claude, GPT, Kiro call your API directly.

RAG Search

Built-in semantic search. Local, OpenAI, or Ollama embeddings. The rag_search tool is auto-registered.

8 Framework Adapters

Express, Fastify, Koa, Hono, NestJS, Next.js, tRPC, AWS Lambda. Auto-detected or explicit.

Security Built-in

API key auth, CORS, rate limiting, circuit breaker, multi-tenant, audit log, dry-run mode.

Add MCP to your API in 3 lines.

useController + useAi. Your endpoints become AI-callable tools instantly.