sravanism.oss.mcp.server 0.0.3

dotnet add package sravanism.oss.mcp.server --version 0.0.3
                    
NuGet\Install-Package sravanism.oss.mcp.server -Version 0.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sravanism.oss.mcp.server" Version="0.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="sravanism.oss.mcp.server" Version="0.0.3" />
                    
Directory.Packages.props
<PackageReference Include="sravanism.oss.mcp.server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add sravanism.oss.mcp.server --version 0.0.3
                    
#r "nuget: sravanism.oss.mcp.server, 0.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package sravanism.oss.mcp.server@0.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=sravanism.oss.mcp.server&version=0.0.3
                    
Install as a Cake Addin
#tool nuget:?package=sravanism.oss.mcp.server&version=0.0.3
                    
Install as a Cake Tool

ESRP MCP Server (NuGet)

A .NET library providing MCP (Model Context Protocol) tools for discovering and validating Microsoft certified OSS packages.

Features

  • Certified Package Discovery: Get lists of Microsoft certified packages for Node.js, Python, and Java ecosystems
  • Package Integrity Validation: Verify package integrity by comparing registry hashes with ESRP certified hashes
  • Image SKU Validation: Validate whether image SKU updates are recommended

Installation

dotnet add package sravanism.oss.mcp.server

Or via NuGet Package Manager:

Install-Package sravanism.oss.mcp.server

Usage

Basic Setup

using sravanism.oss.mcp.server;
using sravanism.oss.mcp.server.Services;

// Create the service
var packageService = new CertifiedPackageService();

// Get certified Node.js packages
var nodejsPackages = await packageService.GetCertifiedNodeJsPackagesAsync();

// Get certified Python packages
var pythonPackages = await packageService.GetCertifiedPythonPackagesAsync();

// Get certified Java packages
var javaPackages = await packageService.GetCertifiedJavaPackagesAsync();

Validate Package Integrity

// Validate a package's integrity
var result = await packageService.ValidatePackageIntegrityAsync(
    purl: "pkg:npm/@azure/ai-text-analytics@5.0.0",
    registryHash: "sha512-abc123..."
);

Console.WriteLine(result.IsValid);
Console.WriteLine(result.Message);

Validate Image SKU Update

var skuService = new ImageSkuValidationService();
var result = skuService.ValidateImageSkuUpdate("2022-datacenter-azure-edition-dotnet8");

Console.WriteLine(result.IsRecommended);
Console.WriteLine(result.Message);

MCP Tools Available

Tool Name Description
microsoftCertifiedNodeJsPackages Get a list of Microsoft certified Node.js packages
microsoftCertifiedPythonPackages Get a list of Microsoft certified Python packages
microsoftCertifiedJavaPackages Get a list of Microsoft certified Java packages
validateMicrosoftPackageIntegrity Validate the integrity of a Microsoft certified package
validateImageSKUUpdate Validate whether an image SKU update is recommended

mcp-name: com.microsoft/esrp-oss-mcp-test

Data Files

The package includes embedded JSON data files:

  • publishedPackages.json - List of certified packages by language
  • packageHashes.json - Package hash information for integrity verification

License

MIT License

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.3 266 2/26/2026