
Microsoft's NuGet MCP server: fix vulnerable .NET packages, plan upgrades and review your NuGet supply-chain security.
by Microsoft· Developer toolsUnclaimed · Yours? Claim it
4 images
About
The NuGet MCP server from Microsoft's NuGet team. It runs on your machine and uses your configured NuGet feeds for real-time package information, so your agent can fix vulnerable packages, upgrade dependencies and harden your repository's NuGet setup. What you can do with it - Fix known vulnerabilities in your NuGet dependencies, including transitive ones, with the smallest safe version changes - Upgrade packages to the latest versions compatible with your project's target frameworks - Update one or more packages to an exact version while keeping the dependency graph compatible - Look up a package's latest version, and read its AGENTS.md context or README - Review your NuGet supply-chain posture: Central Package Management, NuGet Audit, Package Source Mapping and NuGet.Config validity How it connects It needs the .NET 10 SDK or later, which adds the dnx command. Your agent starts it with dnx, which downloads the NuGet.Mcp.Server package from nuget.org and runs it; add @ and a version to the package name to pin one. It ships in-box with Visual Studio 2026, where you turn it on once in GitHub Copilot Chat's tools menu, and Microsoft documents setup for Visual Studio 2022 (17.14 or later), VS Code and the GitHub Copilot coding agent. Good to know - There's no sign-in: it works with the NuGet feeds you've already configured. - It sends usage telemetry to Microsoft by default; set DOTNET_CLI_TELEMETRY_OPTOUT to true to turn that off.
Plugins people install alongside NuGet MCP Server.
Once it’s added
“Fix my package vulnerabilities.”
“Update all my packages to the latest compatible versions.”
“Update the package Newtonsoft.Json to version 13.0.3.”
“Review this repository's package source mappings.”
“What's the latest version of Serilog?”
Before you add it
Reads only
Package versions from your configured NuGet feeds · A package's AGENTS.md context or README · Your repository's NuGet setup: Central Package Management, NuGet Audit, Package Source Mapping and NuGet.Config
Makes changes · your agent can ask first
Updates package versions in your project to fix vulnerabilities · Upgrades packages to the latest compatible versions · Sets packages to exact versions you choose
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
Runs on your machine.
claude_desktop_config.json{
"mcpServers": {
"nuget-mcp-server": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
]
}
}
}Runs on your machine.
Add to VS Codecode --add-mcp '{"name":"nuget-mcp-server","command":"dnx","args":["[email protected]","--yes"]}'copilot mcp add nuget-mcp-server -- dnx [email protected] --yes
Runs on your machine.
Add to Cursor.cursor/mcp.json{
"mcpServers": {
"nuget-mcp-server": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
]
}
}
}Runs on your machine.
claude mcp add nuget-mcp-server -- dnx [email protected] --yes
Runs on your machine.
codex mcp add nuget-mcp-server -- dnx [email protected] --yes
Runs on your machine.
~/.gemini/config/mcp_config.json{
"mcpServers": {
"nuget-mcp-server": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
]
}
}
}Runs on your machine.
gemini mcp add nuget-mcp-server dnx [email protected] --yes
Runs on your machine.
Runs on your machine.
opencode mcp add nuget-mcp-server -- dnx [email protected] --yes
Runs on your machine.
~/.hermes/config.yaml{
"mcp_servers": {
"nuget-mcp-server": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
]
}
}
}Scanned and passed · checked 6 h ago
No reviews yet. Used NuGet MCP Server? Say how it went.
Write a reviewPlugins people install alongside NuGet MCP Server.
Matt Pocock's everyday engineering skills: grilling sessions, specs and tickets, TDD, bug diagnosis, code review and writing for agents.
Addy Osmani's engineering workflows for coding agents: spec, plan, build, test, review and ship, with quality gates at each step.
Nobody has shared how they use NuGet MCP Server yet.
Security scan
Passed
Safe to install in every agent it supports. Runs on your machine.