
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that lets assistants search NuGet packages, read public API definitions and package files, compare versions, and work with nuget.org, private feeds, or local package folders.
MCP server for inspecting NuGet packages and public APIs is cataloged as an MCP server attributed to dimonsmart. A Model Context Protocol server that lets assistants search NuGet packages, read public API definitions and package files, compare versions, and work with nuget.org, private feeds, or local package folders. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for inspecting NuGet packages and public APIs are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. It can use nuget.org, private feed URLs, or local package folders by configuring sources.
Yes. It offers an AI-assisted fuzzy package search in addition to standard package search.
README.md · 900590dab7d5 · 采集于 2026-11-13 13:41:27 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Bad NuGet API guesses are expensive.
NugetMcpServer lets Codex, Claude Code, VS Code, Claude Desktop, and other MCP clients inspect real NuGet package metadata and public APIs before generating code. It is most useful when package version details matter or when the package lives in a private feed.
Fastest path: install it with codex mcp add or claude mcp add, then ask your assistant to use the NuGet MCP server before writing package-dependent code.
LLMs often know popular libraries, but they do not reliably know the exact API surface of every package version. NugetMcpServer gives the assistant a way to check the package first instead of filling gaps from memory.
NugetMcpServer connects the assistant to NuGet packages directly, including private feeds and local package folders.
These commands use the current published NuGet package version, 1.1.7. dnx downloads and runs the .NET tool from NuGet, so you do not need a separate dotnet tool install step.
codex mcp add nuget -- dnx DimonSmart.NugetMcpServer@1.1.7 --yes
Check available MCP commands:
codex mcp --help
Inside the Codex TUI, run:
/mcp
Codex CLI and the Codex IDE extension share MCP configuration, so configuring the server once should make it available in both clients.
claude mcp add --transport stdio nuget -- dnx DimonSmart.NugetMcpServer@1.1.7 --yes
Everything after -- is the actual MCP server command and arguments.
Manage and verify the server:
claude mcp list
claude mcp get nuget
Inside Claude Code, run:
/mcp
Open the NuGet package page, select the MCP Server tab, and copy the generated VS Code configuration.
For manual VS Code configuration, add this to mcp.json. Replace <version> with the package version you want to pin:
{
"servers": {
"nuget": {
"type": "stdio",
"command": "dnx",
"args": ["DimonSmart.NugetMcpServer@<version>", "--yes"]
}
}
}
Use Docker when the MCP client environment does not have the .NET SDK available.
Codex:
codex mcp add nuget-docker -- docker run -i --rm ghcr.io/dimonsmart/nugetmcpserver:latest
Claude Code:
claude mcp add --transport stdio nuget-docker -- docker run -i --rm ghcr.io/dimonsmart/nugetmcpserver:latest
Run the container directly:
docker run -i --rm ghcr.io/dimonsmart/nugetmcpserver:latest
VS Code mcp.json:
{
"servers": {
"nuget": {
"type": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/dimonsmart/nugetmcpserver:latest"]
}
}
}
Install in VS Code with Docker
Codex config.toml:
[mcp_servers.nuget]
command = "dnx"
args = ["DimonSmart.NugetMcpServer@<version>", "--yes"]
Codex Docker variant:
[mcp_servers.nuget]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/dimonsmart/nugetmcpserver:latest"]
Claude Desktop and generic MCP clients that use the mcpServers JSON shape:
{
"mcpServers": {
"nuget": {
"command": "dnx",
"args": ["DimonSmart.NugetMcpServer@<version>", "--yes"]
}
}
}
Use NUGET_SOURCES for one or more source URLs or local package folders. Separate sources with semicolons. Use NUGET_CONFIG when you want NuGet to read a specific NuGet.Config, for example when credentials or source names are already configured there.
Codex with NUGET_SOURCES:
codex mcp add nuget-private \
--env NUGET_SOURCES="C:\NuGet\LocalFeed;https://pkgs.dev.azure.com/ORG/_packaging/Feed/nuget/v3/index.json" \
-- dnx DimonSmart.NugetMcpServer@<version> --yes
Claude Code with NUGET_SOURCES:
claude mcp add --transport stdio \
--env NUGET_SOURCES="C:\NuGet\LocalFeed;https://pkgs.dev.azure.com/ORG/_packaging/Feed/nuget/v3/index.json" \
nuget-private \
-- dnx DimonSmart.NugetMcpServer@<version> --yes
Codex with NUGET_CONFIG:
codex mcp add nuget-config \
--env NUGET_CONFIG="/path/to/NuGet.Config" \
-- dnx DimonSmart.NugetMcpServer@<version> --yes
Claude Code with NUGET_CONFIG:
claude mcp add --transport stdio \
--env NUGET_CONFIG="/path/to/NuGet.Config" \
nuget-config \
-- dnx DimonSmart.NugetMcpServer@<version> --yes
Use Windows paths such as C:\path\to\NuGet.Config on Windows. Use Unix-style paths such as /path/to/NuGet.Config on Linux and macOS. Keep paths quoted when they contain spaces.
VS Code mcp.json with private sources:
{
"servers": {
"nuget": {
"type": "stdio",
"command": "dnx",
"args": ["DimonSmart.NugetMcpServer@<version>", "--yes"],
"env": {
"NUGET_SOURCES": "C:\\NuGet\\LocalFeed;https://pkgs.dev.azure.com/ORG/_packaging/Feed/nuget/v3/index.json"
}
}
}
}
Codex config.toml with private sources:
[mcp_servers.nuget]
command = "dnx"
args = ["DimonSmart.NugetMcpServer@<version>", "--yes"]
[mcp_servers.nuget.env]
NUGET_SOURCES = "C:\\NuGet\\LocalFeed;https://pkgs.dev.azure.com/ORG/_packaging/Feed/nuget/v3/index.json"
More configuration options: Technical details
After the MCP client shows the server as connected, ask your assistant to use it explicitly:
Use the NuGet MCP server to inspect Dapper 2.1.66 and show the public extension methods for IDbConnection.
Before writing code, use the NuGet MCP server to inspect the real API of Microsoft.Extensions.DependencyInjection.Abstractions and use only existing public types and methods.
Use the NuGet MCP server to compare public APIs of Some.Package 1.8.0 and 2.0.0 and summarize breaking changes.
search_packages: search packages by query and keywords.search_packages_fuzzy: use AI-assisted fuzzy package search.get_package_info: get package metadata, dependencies, and package shape.list_interfaces: list public interfaces.list_classes_records_structs: list public classes, records, and structs.get_interface_definition: return a C# interface definition.get_class_or_record_or_struct_definition: return a C# class, record, or struct definition.get_enum_definition: return a C# enum definition.compare_package_versions: compare public API changes between versions.list_package_files: list files inside a package.get_package_file: read a file from a package.get_current_time: return the current server time.Detailed parameters and development notes: Technical details
dnx is not found: install a current .NET SDK and make sure the .NET tools path is available in your shell, or use the Docker install path.NuGet.Config, credential provider setup, feed URL, and whether the same user account can restore from that feed with normal NuGet tooling.NUGET_CONFIG when complex source paths or credentials are involved.-- separator before dnx or docker; the MCP client options must appear before that separator.The release version is assigned by the GitHub Actions pipeline from the Git tag.
Check the installed version:
NugetMcpServer --version
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.
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for inspecting NuGet packages and public APIs from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/nugetmcpserver)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.