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
NugetMcpServer is an MCP server that helps you find and inspect NuGet packages. It gives you accurate information about interfaces, classes, enums, and other types directly from the packages. This helps AI assistants provide better code suggestions and avoid making up non-existent APIs.
This server connects your AI assistant (like Claude or Copilot) to the real NuGet ecosystem. Instead of guessing, the AI can look up the exact methods and types available in a specific version of a package.
You can use it to:
Find the right package for your task.
See the exact interface definitions.
Check for breaking changes between versions.
Get correct code examples based on real metadata.
It works with any client that supports the Model Context Protocol (MCP), such as VS Code (with Copilot), Claude Desktop, or OllamaChat.
Supported Clients
VS Code: Integrate through MCP server configuration
OllamaChat: My experimental C# AI playground built on Semantic Kernel. It features RAG, image analysis support, multi-agent chat (e.g., philosophers debating), and MCP server support with automatic function selection via vector indexes. Check it out at OllamaChat.
GitHub Copilot: Use as an MCP server to get accurate package information
Other MCP Clients: Any tool that supports the Model Context Protocol