GitHub repo

modelcontextprotocol/csharp-sdk

C# Tracked since 2025-03-10 Updated 2026-07-16 View source ↗

#325 of 783 by Stars among GitHub repos

4.4k Stars

The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.

About

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.

To get started, see the Getting Started guide in the conceptual documentation for installation instructions, package-selection guidance, and complete examples for both clients and 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…

Excerpted from github.com/modelcontextprotocol/csharp-sdk

Latest metrics

Stars 4.4k 2026-07-16
Forks 745 2026-07-16
Commits 740 2026-07-16
Releases 41 2026-07-16
Watchers 69 2026-07-16
Open issues 132 2026-07-16
Open PRs 41 2026-07-16