Skip to content
MCP server

Microsoft NuGet

Microsoft's NuGet server for package upgrades, vulnerability fixes and supply-chain checks

Runs locally
Install

Microsoft NuGet is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Platforms
Windows, macOS, Linux
Runs
Locally
Version
1.4.23
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add nuget -- dnx NuGet.Mcp.Server --yes

Add to claude_desktop_config.json

{
  "mcpServers": {
    "nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server",
        "--yes"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server",
        "--yes"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "nuget": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server",
        "--yes"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server",
        "--yes"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server",
        "--yes"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

About Microsoft NuGet

The server reads your configured NuGet feeds for real-time package data, then plans work from a project's package graph and target frameworks. Its vulnerability planning is described as conservative and covers transitive dependencies.

Another capability reviews a repository's supply-chain posture, looking at Central Package Management, NuGet Audit, Package Source Mapping and NuGet.Config validity, and recommends hardening steps.

It needs .NET 10 Preview 6 or later because the dnx command downloads and runs it from nuget.org. It ships in-box with Visual Studio 2026, where it is enabled in the GitHub Copilot chat tools menu, and can be configured in Visual Studio 2022 (17.14 or later), VS Code and the GitHub Copilot coding agent.

What it does

Live feed data
Uses your configured NuGet feeds.
Upgrade planning
Plans upgrades from the package graph and target frameworks.
Vulnerability remediation
Plans conservative fixes including transitive dependencies.
Supply-chain review
Checks CPM, NuGet Audit, source mapping and NuGet.Config.
Visual Studio integration
Ships in-box with Visual Studio 2026.

Good for

  • Fix a vulnerable package including transitive ones
  • Plan a .NET upgrade
  • Audit NuGet configuration
  • Harden package source mapping
  • Ask Copilot about package versions

Microsoft NuGet FAQ

What do I need installed?

The .NET 10 Preview 6 SDK or later, for dnx.

Is Microsoft NuGet built into Visual Studio?

Yes, in Visual Studio 2026; enable it in the Copilot tools menu.

Which editors are covered?

Visual Studio, VS Code and the GitHub Copilot coding agent.

How do I start Microsoft NuGet?

dnx NuGet.Mcp.Server --yes.

How do I add Microsoft NuGet to Claude Code?

Run this command in your terminal: claude mcp add nuget -- dnx NuGet.Mcp.Server --yes

What are the best alternatives to Microsoft NuGet?

The closest alternatives to Microsoft NuGet are Dependency Risk Audit, UNPKG, Dep Diff MCP, pinright and Keep Me Secure.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers