Intermediate

Using the C# Model Context Protocol SDK

This course is a hands-on journey through building Model Context Protocol (MCP) servers with the official C# MCP SDK. MCP is a standardized way to expose functionality from custom applica...

The course builds a real (if intentionally simple) e-commerce application called Carved Rock Fitness, and adds MCP capabilities to it step by step: first a basic tool-calling server wired to an existing API, then security (OAuth, role-based access, token forwarding), then consumption of that MCP server from an AI agent embedded in the application's own UI, and finally a separate developer-targeted MCP server that gets published as a NuGet package for use by coding assistants like GitHub Copilot, Cursor, and Claude Code.

Throughout, the emphasis is on practical, demo-driven implementation rather than theory — although key concepts (tools, resources, prompts, transports, and security models) are explained clearly before each demo.

The primary focus of this module — and the course as a whole — is to create an MCP server that exposes features of an already-built application to AI services.

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

8 sections
  1. 1 Table of Contents
  2. 2 Introduction
  3. 3 Module 1: Getting Started with the MCP SDK
  4. 4 Module 2: Creating an MCP Server for APIs
  5. 5 Module 3: Security Considerations for MCP Servers
  6. 6 Module 4: Using an MCP Server from AI Agents
  7. 7 Module 5: Creating Developer-Targeted MCP Servers and Deploying Them to NuGet.org
  8. 8 Summary

Interested in this course?

Contact us to book it or get a custom training plan for your team.