DN

dimonsmart/nugetmcpserver

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

24 stars 9 forks 品質 78 トレンド 14NOASSERTION

.NET MCP サーバーは、LLM の実 NuGet API メタデータを提供し、幻惑を軽減します

概要

NugetMcpServer は、Codex、Claude Code、VS Code、Claude Desktop などの MCP クライアントが、コードを生成する前に、実際の NuGet パッケージメタデータと公開 API を検査します。 パッケージバージョンの詳細やパッケージがプライベートフィードに住んでいるとき、それは最も便利です。 最速のパス: コードx mcp add または claude mcp add でインストールし、パッケージに依存しないコードを書く前に NuGet MCP サーバーを使用するようにアシスタントを依頼します。 LLM は一般的なライブラリをよく知っていますが、すべてのパッケージバージョンの正確な API 表面は確実に知らないでください。 NugetMcpServer は、メモリからギャップを埋める代わりに、パッケージを最初に確認する方法をアシスタントに提供します。 NugetMcpServer は、プライベートフィードやローカルパッケージフォルダーなど、NuGet パッケージに直接アシスタントを接続します。 - NuGet パッケージを検索し、パッケージメタデータを検査します。 - 実際のパッケージバージョンの公開API定義を読みます。 - バージョンを比較し、パッケージファイルを検査し、nuget.org、プライベートフィード、またはローカルパッケージフォルダを使用します.

概要(AI 翻訳)

悪いNuGet APIは高価です。

NugetMcpServer は、Codex、Claude Code、VS Code、Claude Desktop などの MCP クライアントが、コードを生成する前に、実際の NuGet パッケージメタデータと公開 API を検査します。 パッケージバージョンの詳細やパッケージがプライベートフィードに住んでいるとき、それは最も便利です。

最速のパス: codex mcp add または claude mcp add] でインストールしてから、パッケージに依存するコードを書く前に、NuGet MCP サーバーを使用するようにアシスタントを尋ねます。

なぜこれが存在しているのか

LLM は一般的なライブラリをよく知っていますが、すべてのパッケージバージョンの正確な API 表面は確実に知らないでください。 NugetMcpServer は、メモリからギャップを埋める代わりに、パッケージを最初に確認する方法をアシスタントに提供します。

NugetMcpServer は、プライベートフィードやローカルパッケージフォルダーなど、NuGet パッケージに直接アシスタントを接続します。

それはあなたのアシスタントに与えるもの

  • NuGet パッケージを検索し、パッケージメタデータを検査します。
  • 実際のパッケージバージョンの公開API定義を読みます。
  • バージョンを比較し、パッケージファイルを検査し、nuget.org、プライベートフィード、またはローカルパッケージフォルダを使用します。

クイックスタート

これらのコマンドは、現在公開されているNuGetパッケージバージョン 1.1.7 を使用します。 [dnx] をダウンロードして実行します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

NugetMcpServer

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.

Why this exists

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.

What it gives to your assistant

  • Search NuGet packages and inspect package metadata.
  • Read public API definitions for real package versions.
  • Compare versions, inspect package files, and use nuget.org, private feeds, or local package folders.

Quick start

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.

1. Install via Codex CLI

codex mcp add nuget -- dnx [email protected] --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.

2. Install via Claude Code CLI

claude mcp add --transport stdio nuget -- dnx [email protected] --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

3. Install in VS Code

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 `` with the package version you want to pin:

GitHub で README 全文を見る

インストール

docker run -i --rm ghcr.io/dimonsmart/nugetmcpserver:latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "nuget": { "command": "dnx", "args": ["DimonSmart.NugetMcpServer@<version>", "--yes"] } } }