Event Recap: Building Agentic .NET 10 Applications with the Model Context Protocol (MCP)

Building Agentic .NET 10 Applications with the Model Context Protocol (MCP)

It was a pleasure to present at the .NET Developer Community in Peterborough on Thursday, January 29th. My talk, “Building Agentic .NET 10 Applications with the Model Context Protocol (MCP),” delved into how the Model Context Protocol (MCP) and advancements in .NET 10 are combining to form a unified platform for AI development.

The key objectives for the session were to:

  • Understand MCP: Learn the universal protocol backed by Microsoft and Anthropic for model integration.
  • Explore .NET 10 Agents: Delve into the evolution of Semantic Kernel and AutoGen into a unified Agent Framework.
  • Live Implementation: See how to build custom MCP servers and orchestrate multi-agent workflows in real-time.

The Challenge: From Fragments to Agency

One of the biggest challenges in building AI applications is providing the model with the right context. Without it, AI models can struggle to understand the user’s intent, leading to irrelevant or inaccurate responses. We’re moving from a world of fragmented tool integration chaos to one of simplified, streamlined agency, and MCP is the key.

Olorunfemi pointing at the MCP slide
Explaining the core concepts of the Model Context Protocol.

Introducing the Model-Context-Protocol (MCP)

The Model-Context-Protocol (MCP) is a new open protocol, backed by industry giants like Microsoft and Anthropic, that standardizes how applications provide discovery, actions, and context to LLMs.

Think of it like USB-C but for AI. It’s a universal standard designed to simplify the complex web of connections between AI models (Hosts) and external tools and data sources (Servers).

MCP Home slide
The home slide of the presentation.

The Agentic Ecosystem in .NET 10

The talk also focused on the exciting developments in the .NET agentic ecosystem. An agent is a semi-autonomous piece of software that can be given a goal and will work to achieve it without needing step-by-step instructions.

With .NET 10, we are seeing the evolution of standalone libraries like Semantic Kernel and AutoGen into a Unified .NET 10 Agent Framework. This cohesive, vendor-agnostic orchestration layer simplifies interaction with various LLMs through clean abstractions like the IChatClient interface, all part of the new System.AI namespace.

Live Demo: MCP in Action

The session included a live coding demo of how to implement MCP in a .NET 10 application using Visual Studio “26”. We built a simple chatbot that used MCP to provide context-aware responses to user queries.

The demo showed how to:

  • Create MCP Servers right from Visual Studio.
  • Configure and register tools in a .NET 10 application.
  • Connect to the servers from a client, including discovery from GitHub Copilot.
  • Send prompts which successfully called the tools and provided answers.

Registering a tool with MCP
Registering a tool with MCP.

MCP JSON Configuration
Configuring the MCP server.

GitHub Copilot as an MCP client
Using GitHub Copilot as an MCP client.

Q&A Session

There were a lot of great questions from the audience. Some of the key topics we discussed were:

  • MCP’s reliance on an LLM for processing responses: We explored scenarios where MCP could operate with and without a large language model.
  • Practical applications of MCP: We brainstormed several real-world use cases for MCP in various industries.

Who Should Learn More?

This topic is especially relevant for:

  • .NET Developers eager to explore the latest .NET 10 features.
  • Solution Architects looking for scalable AI integration standards.
  • Cloud Engineers focused on hosting agentic components in Azure.
  • AI Enthusiasts curious about the Microsoft and Anthropic collaboration.

Who should learn more about MCP
Who should learn more about MCP.

A Trip to a Beautiful City

On a personal note, traveling to Peterborough was a wonderful experience. It’s a beautiful city, and the train journey from Sheffield via Doncaster was smooth and easy.

Olorunfemi in chilly Peterborough
Me outside the venue in Peterborough.

Event Details & Resources

A big thank you to the .NET Developer Community in Peterborough for hosting the event!

Event Link: Building Agentic .NET 10 Applications with the Model Context …

Presentation Slides: The Model-Context-Protocol (MCP) in .NET

Speaker: Olorunfemi Davis, Senior Platform Engineer at Inflo

Hashtags: #MCP #DotNet #AI #Peterborough #Community #Speaking #CSharp #AgenticAI #DotNet10


More Moments from the event

Olorunfemi standing
Olorunfemi standing before the presentation.

Slide from the organizer
A slide from the event organizer.

Related Content