Use this command to install DimonSmart.NugetMcpServer:
winget install --id=DimonSmart.NugetMcpServer -e
DimonSmart.NugetMcpServer is a Model Context Protocol (MCP) server designed to enable communication between language models and external tools. It provides functionality for searching interfaces and their methods within NuGet packages, facilitating seamless integration between AI-driven applications and existing codebases.
Key Features:
MCP server implementation supporting STDIO transport for client communication.
Sample tool (TimeTool) that demonstrates basic functionality by returning the current server time in ISO 8601 format.
InterfaceLookupService for extracting interface definitions from NuGet packages, including support for listing all public interfaces within a package.
Built using .NET 9.0, ensuring compatibility with modern development environments.
Audience & Benefit:
Ideal for developers working with NuGet packages, AI-driven applications, or MCP protocol implementations. The server enables efficient integration of external tools and services into language model workflows, reducing the complexity of tool interaction while maintaining scalability.
The software can be installed via winget, ensuring straightforward setup and deployment across compatible environments.
README
NugetMcpServer
Bad NuGet API guesses are expensive.
NugetMcpServer gives your AI assistant access to real NuGet package metadata. Instead of guessing which classes, interfaces, methods, properties, or enum values exist, the assistant can inspect the actual package version.
The release version is assigned by the GitHub Actions pipeline from the Git tag.
Check the installed version:
NugetMcpServer --version
Publishing
NuGet releases are published from version tags on main:
.\publish-next-version.ps1
The script creates and pushes the next vMAJOR.MINOR.PATCH tag. GitHub Actions builds, tests, updates the MCP manifest version, packs the NuGet MCP server package, and publishes it to NuGet.
WinGet publishing is also tag-driven after the GitHub release exists:
.\publish-winget-version.ps1
By default, the WinGet script uses the latest vMAJOR.MINOR.PATCH release tag. Pass -Version 1.2.3 to publish a specific release.