.NET 8/9 · ASP.NET Core · MCP · RAG

Romatech.Extensions.Ai

Plug-and-play AI enablement for ASP.NET Core. Two lines of code to transform your API into MCP tools with semantic RAG search.

Your API is now AI-consumable

Program.cs
builder.Services.UseMcp();
builder.Services.UseRag();

// That's it. Zero rewrites. ✨

// Control exposure with attributes:
[AiTool("create_order")]
[AiRateLimit(10)]
public IActionResult Create() {}

[AiHidden]
public IActionResult Delete() {}

LLMs call your API directly

tools/list

All [AiTool] endpoints + built-in rag_search exposed to LLMs.

tools/call

Execute tools with arguments. Rate limited. Role-validated.

completions

Autocomplete tool names and argument values for LLMs.

prompts

Built-in prompts for API exploration and documentation.

Make your .NET API AI-ready.

Two lines. Zero rewrites. Full MCP protocol. Semantic RAG search.