![]() |
VOOZH | about |
dotnet add package ModelContextProtocol --version 1.4.0
NuGet\Install-Package ModelContextProtocol -Version 1.4.0
<PackageReference Include="ModelContextProtocol" Version="1.4.0" />
<PackageVersion Include="ModelContextProtocol" Version="1.4.0" />Directory.Packages.props
<PackageReference Include="ModelContextProtocol" />Project file
paket add ModelContextProtocol --version 1.4.0
#r "nuget: ModelContextProtocol, 1.4.0"
#:package ModelContextProtocol@1.4.0
#addin nuget:?package=ModelContextProtocol&version=1.4.0Install as a Cake Addin
#tool nuget:?package=ModelContextProtocol&version=1.4.0Install as a Cake Tool
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.
This SDK consists of three main packages:
ModelContextProtocol.Core 👁 NuGet version
- For projects that only need to use the client or low-level server APIs and want the minimum number of dependencies.
ModelContextProtocol 👁 NuGet version
- 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 👁 NuGet version
- The library for HTTP-based MCP servers. References ModelContextProtocol.
To get started, see the Getting Started guide 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 integration between LLMs and various data sources and tools.
For more information about MCP:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on ModelContextProtocol:
| Package | Downloads |
|---|---|
|
Aspire.Hosting
Core abstractions for the Aspire application model. |
|
|
Aspire.Hosting.AppHost
Core library and MSBuild logic for Aspire AppHost projects. |
|
|
ModelContextProtocol.AspNetCore
ASP.NET Core extensions for the C# Model Context Protocol (MCP) SDK. |
|
|
Aspire.Hosting.Azure
Azure resource types for Aspire. |
|
|
Aspire.Hosting.Testing
Testing support for the Aspire application model. |
Showing the top 20 popular GitHub repositories that depend on ModelContextProtocol:
| Repository | Stars |
|---|---|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
|
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
|
|
|
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
|
|
|
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
Sylinko/Everywhere
On-screen aware AI assistant for your desktop. Uses current app context, multiple LLMs, and MCP tools to help you act across apps.
|
|
|
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
|
|
|
Megabit/Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
|
|
|
microsoft/mcp
Catalog of official Microsoft MCP (Model Context Protocol) server implementations for AI-powered data access and tool integration
|
|
|
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
|
|
|
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
|
|
|
microsoft/Generative-AI-for-beginners-dotnet
Five lessons, learn how to really apply AI to your .NET Applications
|
|
|
OPCFoundation/UA-.NETStandard
OPC Unified Architecture .NET Standard
|
|
|
MCCTeam/Minecraft-Console-Client
Lightweight console for Minecraft chat and automated scripts. Currently supports up to Minecraft 26.1
|
|
|
KirillOsenkov/MSBuildStructuredLog
A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
|
|
|
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
|
|
|
Azure/data-api-builder
Data API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.
|
|
|
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
|
|
|
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.0 | 200,857 | 6/4/2026 |
| 1.3.0 | 1,214,628 | 5/8/2026 |
| 1.2.0 | 1,508,150 | 3/27/2026 |
| 1.1.0 | 939,235 | 3/6/2026 |
| 1.0.0 | 3,731,516 | 2/25/2026 |
| 1.0.0-rc.1 | 12,993 | 2/24/2026 |
| 0.9.0-preview.2 | 32,225 | 2/21/2026 |
| 0.9.0-preview.1 | 22,631 | 2/20/2026 |
| 0.8.0-preview.1 | 537,844 | 2/5/2026 |
| 0.7.0-preview.1 | 309,689 | 1/28/2026 |
| 0.6.0-preview.1 | 259,103 | 1/14/2026 |
| 0.5.0-preview.1 | 415,962 | 12/5/2025 |
| 0.4.1-preview.1 | 166,480 | 11/25/2025 |
| 0.4.0-preview.3 | 1,342,125 | 10/20/2025 |
| 0.4.0-preview.2 | 306,793 | 10/8/2025 |
| 0.4.0-preview.1 | 225,985 | 9/25/2025 |
| 0.3.0-preview.4 | 848,250 | 8/20/2025 |
| 0.3.0-preview.3 | 666,840 | 7/16/2025 |
| 0.3.0-preview.2 | 198,780 | 7/3/2025 |