Csharp Sdk
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
At a glance.
A compact read before the deeper capability notes and official setup links.
Core features.
Feature cards focus on what the tool helps users do, not generated setup commands.
The official C# SDK for the Model Context Protocol, enabling .NET applications, services, and libraries to implement and interact with MCP clients and servers.
Please visit the API documentation for more details on available functionality.
ModelContextProtocol.AspNetCore - The library for HTTP-based MCP servers.
You can also browse the samples directory and the API documentation for more details on available functionality.
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs).
It enables secure integration between LLMs and various data sources and tools.
For more information about MCP:
description: How to cancel in-flight MCP requests using cancellation tokens and notifications.
Agent / Skill / MCP / Workflow fit.
This panel keeps technical format separate from the user-facing AI category.
Official setup path.
Generated install snippets are intentionally not mirrored here because they drift. The page links to source-owned setup docs instead.
Evidence and adoption notes.
These notes help a user decide whether to investigate the official project further.
Source repository last pushed at 2026-05-19T21:47:12Z.
Generated from source metadata; confirm operational details in the official project before adopting it.
Review the upstream license, maintenance activity, and issue history before using it in production.