PluginBench
MCP Server
Active

Microsoft NuGet MCP Server

com.microsoft/nuget

Bring NuGet package management into AI agent workflows via MCP.

What is the Microsoft NuGet MCP server?

Microsoft NuGet MCP server is a Model Context Protocol server, distributed as the NuGet.Mcp.Server package, that exposes NuGet package manager functionality to AI agents. It is part of the NuGet Home project maintained by the .NET Foundation, which provides the NuGet client tools and NuGet.org package repository for the Microsoft/.NET development platform. The README provided is primarily the general NuGet Home project overview rather than detailed MCP tool documentation.

The Microsoft NuGet MCP server connects AI coding assistants to NuGet, the package manager for .NET and the Microsoft development platform. It is installed via the NuGet.Mcp.Server NuGet package. The provided README documents the broader NuGet Home repository (docs, design proposals, contributing guidelines, and related repos like NuGet.Client and NuGetGallery) rather than the specific MCP tool set, so concrete tool capabilities are not detailed here.

How to install Microsoft NuGet

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server"
      ]
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server"
      ]
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server"
      ]
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "nuget": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server"
      ]
    }
  }
}
Claude Code
claude mcp add nuget -- dnx NuGet.Mcp.Server

Use cases

  • Give an AI agent access to NuGet package management context within .NET projects
  • Integrate NuGet-related workflows into MCP-compatible tools like Claude or Cursor

Microsoft NuGet MCP server FAQ

What does the Microsoft NuGet MCP server do?

It is a Model Context Protocol server for NuGet, the package manager for the Microsoft/.NET development platform, allowing MCP-compatible AI agents to interact with NuGet. The provided README does not detail specific tool capabilities beyond identifying it as a NuGet MCP server.

Is the Microsoft NuGet MCP server free?

Yes, it is distributed as the open-source NuGet.Mcp.Server package under the .NET Foundation's NuGet project.

How do I install the Microsoft NuGet MCP server?

It is installed via the NuGet package NuGet.Mcp.Server, as referenced in the install/connect instructions.

Does the Microsoft NuGet MCP server require authentication?

The README does not specify authentication requirements for the MCP server itself.

Where can I find more information or contribute?

The NuGet Home GitHub repository (https://github.com/NuGet/Home) contains documentation, design proposals, and contribution guidelines for the broader NuGet project.

README (reference)

Source of truth, from the repository.

NuGet logo


NuGet Home

The Home repository is the starting point for people to learn about NuGet, the project. If you're new to NuGet, and want to add packages to your own projects, check our docs. This repo contains pointers to the various GitHub repositories used by NuGet and allows folks to learn more about what's coming in NuGet.

NuGet is being actively developed by the .NET Foundation. NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers and has a live deployment at www.nuget.org.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

NuGet Design Proposals

This repo contains design proposals for NuGet. It focuses on designs for the NuGet client tooling, NuGet.org public repository, and NuGet Package Manager inside Visual Studio.

Documentation and Further Learning

NuGet Docs

The NuGet Docs are the ideal place to start if you are new to NuGet. They are categorized in 3 broader topics:

NuGet Blog

The NuGet Blog is where we announce new features, write engineering blog posts, demonstrate proof-of-concepts and features under development.

Contributing

There are many ways in which you can participate in the project, for example:

If you are interested in fixing issues and contributing directly to the code base, please see the document Contribute To NuGet, which covers the following:

  • How to build and run from source
  • The development workflow, including debugging and running tests
  • Coding guidelines
  • Submitting pull requests
  • Finding an issue to work on
  • And much more!

Note: Not all of our repositories are open for contribution yet. Ping us if unsure.

Feedback

If you're having trouble with the NuGet.org Website, file a bug on the NuGet Gallery Issue Tracker.

If you're having trouble with the NuGet client tools (the Visual Studio extension, NuGet.exe command line tool, etc.), file a bug on NuGet Home.

Repos and Projects

  • NuGet client tools - this repo contains the following clients:
    • NuGet command-line tool 4.0 and higher
    • Visual Studio Extension (2017 and later)
    • PowerShell CmdLets

NuGet.org is backed by several core services:

NuGet.Server is a lightweight standalone NuGet server.

NuGet Documentation contains NuGet's documentation.

A full list of all the repos is available as well.

NuGet Packages by the NuGet team

We dogfood all of our stuff. NuGet uses NuGet to build NuGet, so to speak. All of our NuGet packages, which you can use in your own projects as well, are available from our NuGet.org profile page.

Related MCP servers

Free, one-click access to official Microsoft documentation and code samples—no API keys required.

1.7k
TypeScript
CC-BY-4.0
View repository →

All Azure MCP tools to create a seamless connection between AI agents and Azure services.

View repository →

The ESRP OSS MCP server exposes tools to discover & validate trusted Microsoft OSS Packages.

View repository →

MCP tools for interacting with Microsoft Fabric

View repository →

The Power BI Modeling MCP Server brings Power BI semantic modeling capabilities to your AI agents.

View repository →

Find relevant security data from Sentinel data lake for building effective agents. More:aka.ms/s/de

View repository →