Microsoft NuGet

Server MCP di Microsoft / NuGet

Work with NuGet packages and package management from your AI assistant in .NET projects.

Gira in locale (Gira sul tuo computer: la sua pagina riporta il comando di installazione)Gira con dnx

Installa Microsoft NuGet

Gira sul tuo computer. Il tuo client lo avvia con questo comando:

dnx NuGet.Mcp.Server --yes

Richiede .NET 10 sul tuo computer. I passaggi qui sotto mostrano dove va il comando in ogni client.

Condividi questo server

Apre questa pagina, con il comando di installazione e i passaggi di configurazione.

mcp.tc/i/microsoft-nuget

Descrizione

A local MCP server for NuGet, the package manager for .NET. It is published by the NuGet team and lives in the mcp folder of the NuGet Home repository, so an assistant can help with NuGet package tasks in .NET development.

It runs locally over stdio from the NuGet.Mcp.Server package (version 1.4.16) and is launched with dnx, which needs a recent .NET SDK. The registry lists no environment variables or remote endpoint, and no sign-in details are documented.

Cosa puoi fare

  • Runs locally as a stdio MCP server
  • Connects an assistant to NuGet package management
  • Distributed as the NuGet.Mcp.Server package

Tool

I server locali mostrano i loro tool solo quando sono in esecuzione, e questo non pubblica l’elenco in anticipo. Il tuo client li mostra dopo averlo aggiunto.

Prompt di esempio

  • Help me manage NuGet packages in my .NET project

  • Which NuGet package should I use for JSON handling in .NET?

  • Check whether my project's NuGet dependencies can be updated

Configurazione

Ogni client avvia Microsoft NuGet sul tuo computer con lo stesso comando. Scegli il tuo; la pagina ricorda la tua scelta.

Claude Code

  1. Eseguilo in un terminale, nella cartella del tuo progetto:
claude mcp add --transport stdio microsoft-nuget -- dnx NuGet.Mcp.Server --yes
  1. Avvia Claude Code e digita /mcp. microsoft-nuget dovrebbe risultare collegato.

Aggiungi --scope user per renderlo disponibile in tutti i progetti.

Claude Desktop

  1. Apri Settings → Developer → Edit Config. Si apre claude_desktop_config.json. Aggiungi:
claude_desktop_config.json
{
  "mcpServers": {
    "microsoft-nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server",
        "--yes"
      ]
    }
  }
}
  1. Salva il file e riavvia Claude Desktop.

Richiede .NET 10 sul tuo computer. Il file si trova in ~/Library/Application Support/Claude/ su macOS e in %APPDATA%\Claude\ su Windows.

Cursor

Oppure aggiungilo a mano in ~/.cursor/mcp.json (tutti i progetti) o in .cursor/mcp.json (questo progetto):

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

Richiede .NET 10 sul tuo computer.

VS Code

Oppure da un terminale:

code --add-mcp '{"name":"microsoft-nuget","type":"stdio","command":"dnx","args":["NuGet.Mcp.Server","--yes"]}'

Oppure fai commit nel repository in .vscode/mcp.json:

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

Richiede .NET 10 sul tuo computer.

Devin Desktop

  1. Aggiungilo a ~/.config/devin/mcp_config.json (macOS e Linux) o a %APPDATA%\devin\mcp_config.json (Windows):
mcp_config.json
{
  "mcpServers": {
    "microsoft-nuget": {
      "command": "dnx",
      "args": [
        "NuGet.Mcp.Server",
        "--yes"
      ]
    }
  }
}
  1. Aggiorna l’elenco dei server MCP in Cascade.

Devin Desktop è il nuovo nome di Windsurf.

Codex

codex mcp add microsoft-nuget -- dnx NuGet.Mcp.Server --yes

Oppure modifica direttamente ~/.codex/config.toml:

config.toml
[mcp_servers.microsoft-nuget]
command = "dnx"
args = ["NuGet.Mcp.Server", "--yes"]

Richiede .NET 10 sul tuo computer.

Gemini CLI

gemini mcp add microsoft-nuget dnx -- NuGet.Mcp.Server --yes

Così lo aggiungi al progetto corrente. Aggiungi -s user per usarlo ovunque.

Qualsiasi client

La maggior parte dei client che avviano server locali accetta questa forma:

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

Zed mette i server sotto context_servers nelle sue impostazioni, con gli stessi campi command, args ed env.

Richiede .NET 10 sul tuo computer.

Domande frequenti

Posso incollare mcp.tc/i/microsoft-nuget nel mio client MCP?

No. Microsoft NuGet gira sul tuo computer, avviato dal tuo client, quindi non ha un indirizzo web a cui collegarsi. Il link rapido è la pagina da condividere; il comando di installazione è dnx NuGet.Mcp.Server --yes.

Microsoft NuGet richiede una chiave API?

No. Non dichiara chiavi né variabili d’ambiente. Gira con i permessi del tuo account utente, quindi controlla cosa possono raggiungere i suoi tool.

Microsoft NuGet è un server remoto o locale?

Locale. Il tuo client lo avvia come processo sul tuo computer con dnx NuGet.Mcp.Server --yes, che richiede .NET.

Quali client possono usarlo?

Qualsiasi client che avvia server locali: Claude Code, Claude Desktop, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed e altri. claude.ai e ChatGPT si collegano solo a server remoti.

Chi ha scritto questa pagina?

Il robot di mcp.tc ha letto i metadati pubblici di Microsoft NuGet (le pagine del suo pacchetto e del repository), e un modello di AI ne ha ricavato il testo. Una persona esamina tutto ciò che i controlli non riescono a confermare. Il testo può comunque contenere errori, quindi se ne trovi uno usa Segnala questa scheda su questa pagina.

Embed

Mostra Microsoft NuGet in un README o sul tuo sito. Ogni embed rimanda a questa pagina, usa il comando di installazione del server e non imposta cookie. Come funzionano gli embed

Badge per il README

Anteprima del badge, chiaroAnteprima del badge, scuro
Markdown
[![Microsoft NuGet on mcp.tc](https://mcp.tc/i/microsoft-nuget/badge.svg)](https://mcp.tc/i/microsoft-nuget)
HTML
<a href="https://mcp.tc/i/microsoft-nuget"><img src="https://mcp.tc/i/microsoft-nuget/badge.svg" alt="Microsoft NuGet on mcp.tc" height="20"></a>

Segue la modalità chiara o scura di chi legge. Aggiungi ?theme=light o ?theme=dark per fissarla, oppure ?style=compact per mostrare il simbolo senza la scritta.

Scheda per il sito

HTML
<script src="https://mcp.tc/w/microsoft-nuget.js" async></script>

La scheda compare dove si trova il tag. Aggiungi data-theme="dark" o data-size="compact" al tag per cambiarla. Il file contiene tutto ciò che serve, quindi non fa altre richieste e non imposta cookie.

iframe

HTML
<iframe src="https://mcp.tc/embed/microsoft-nuget" title="Microsoft NuGet on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>

Usalo nelle pagine che non consentono script. Aggiungi ?theme=light o ?theme=dark all’indirizzo per fissare i colori.

JSON

La scheda come dati per le tue pagine e i tuoi strumenti: nome, descrizione breve, comando di installazione, tool e i link «Aggiungi a». Qualsiasi sito può leggerla (CORS aperto).

https://mcp.tc/i/microsoft-nuget.json

Cosa significa ogni campo

mcp.tc non è affiliato a Microsoft / NuGet. Questa pagina è stata costruita dai metadati pubblici di Microsoft NuGet (ultimo controllo: 4 ott 2026), e la descrizione l’ha scritta un modello di AI, quindi può contenere errori. Nomi e marchi appartengono ai rispettivi titolari. Qualcosa non va? Segnala questa scheda.