Skip to main content
ModelContextProtocol package icon

ModelContextProtocol

.NET SDK for the Model Context Protocol (MCP) with hosting and dependency injection extensions.

Total Downloads
19.2M
19,172,448
Published
Jul 9, 2026
Latest stable version

Install

.NET CLI
dotnet add package ModelContextProtocol --version 1.4.1
Package Manager Console
Install-Package ModelContextProtocol -Version 1.4.1
PackageReference
<PackageReference Include="ModelContextProtocol" Version="1.4.1" />

Frameworks

net8.0 net9.0 net10.0 .NETStandard2.0

Dependencies

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.