Menu

1 / 5

Building an Agent-Ready Blazor App on .NET 11: MCP Tools That Wait for Your Approval

DEV Community: blazor·Mohammad Arbab Azmi·12 days ago
#I80FbOgL
#devtoblazor#devto#dev#model#tool
Long article (1967 words) — no AI summary yet.
Reading 0:00
15s threshold

Letting a language model call your code is the easy part. The hard part is control : which calls are safe to run on their own, and which need a person to say yes. If the model can change data, a wrong guess becomes a wrong payout.

I built a small chat app on .NET 11 where a model reads commission data through an MCP server, and anything that changes data waits for the user to click Approve . This post covers the template, the tool definitions, the Blazor AI components and the approval flow, including what worked and what needed work.

🧪 Synthetic data only: five fictional advisors, four closed months and one open month. Tested headless against the real pipeline, in a browser with an offline stand-in model, and with a real local model (qwen2.5:7b through Ollama).

Full code:

.NET 11 Web Samples

Three small ASP.NET Core 11 projects that try what is new on the web side of .NET 11, and write down what worked, what surprised me and what did not. All data is synthetic.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.