csharp-sdk
Health Pass
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 4162 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
This SDK provides the official C# libraries for building and interacting with Model Context Protocol (MCP) servers and clients. It allows .NET developers to standardize how their applications provide context and tools to Large Language Models (LLMs).
Security Assessment
Because this tool is designed to integrate applications with LLMs, it inherently facilitates network requests to AI models and external data sources. However, the automated code audit of 12 core files found no dangerous execution patterns (like arbitrary shell commands) and no hardcoded secrets. No excessive or dangerous permissions are requested by the library itself. Overall risk: Low.
Quality Assessment
The project is highly active, with its most recent code push occurring today. It boasts strong community trust with over 4,000 GitHub stars and is maintained in direct collaboration with Microsoft. Comprehensive documentation and dedicated NuGet packages (including a lightweight core and an ASP.NET Core integration) demonstrate a mature, well-structured codebase. The README clearly states it is licensed under the permissive Apache License 2.0 (though the automated check flagged a generic "NOASSERTION" due to standard GitHub repository metadata).
Verdict
Safe to use.
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
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
This SDK consists of three main packages:
ModelContextProtocol.Core
- For projects that only need to use the client or low-level server APIs and want the minimum number of dependencies.
ModelContextProtocol
- The main package with hosting and dependency injection extensions. References
ModelContextProtocol.Core. This is the right fit for most projects that don't need HTTP server capabilities.ModelContextProtocol.AspNetCore
- The library for HTTP-based MCP servers. References
ModelContextProtocol.
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:
License
This project is licensed under the Apache License 2.0.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found