← 开源
modelcontextprotocol

csharp-sdk (在 GitHub 打开)

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

AI EngineeringProtocolsC#
增长势头
+124 小时新增 Star+0.0%
4.67k
Star
869
Fork
+12
本周
100
贡献者
创建于 2025-03-10 · 更新于 2026-12-04 · 今日第 4415 名
主要开发者
README

MCP C# SDK

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.

Packages

The SDK packages are:

Getting Started

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.

About MCP

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:

Cross-Application Access (Identity Assertion Authorization Grant flow)

The SDK provides support for the Identity Assertion Authorization Grant flow via IdentityAssertionGrantProvider. See the Cross-Application Access section in the transport docs for full usage details.

License

This project is licensed under the Apache License 2.0.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载