csharp-sdk
The official C# SDK for Model Context Protocol, enabling .NET applications to interact with MCP servers and clients.
- Type
- MCP
- Transport
- http
- Open source
- Yes
- GitHub Stars
- ★ 4.3k
- Source
- mcp-github
Overview
This C# SDK is the official implementation of the Model Context Protocol (MCP), designed to allow .NET applications, services, and libraries to implement and communicate with MCP clients and servers. It provides a core feature package, a main package, and an ASP.NET Core support package, suitable for projects with varying requirements. With this SDK, developers can easily integrate MCP functionality into .NET projects, providing richer context information for AI. Ideal for developers who need to use the MCP protocol within a .NET environment.
Capabilities
- ▪Provides MCP client and server APIs
- ▪Supports dependency injection and hosting extensions
- ▪Includes HTTP server support
- ▪Supports identity assertion authorization flow
Use cases
Setup
Install via NuGet: `dotnet add package ModelContextProtocol` or `Install-Package ModelContextProtocol`
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How do I get started with the C# SDK?
Refer to the getting started guide in the documentation.
Does the SDK support ASP.NET Core?
Yes, there is a dedicated ASP.NET Core support package.
Related skills
mantis
Provides security review capabilities for AI coding agents, automatically discovering, reproducing, and fixing vulnerabilities.
sast-skills
Transform your AI coding assistant into a SAST scanner to automatically detect vulnerabilities in code.
Lightswind-UI-Library
AI-native CLI-first React component library with MCP Server support.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.