プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

.NET MCP Server

作者:jongallowayバージョン 1.1.2i★ –iパソコンで動く
レジストリ名io.github.jongalloway/dotnet-mcp

インストール

概要

作者による説明(英語の原文)

AI assistant access to .NET SDK for projects, packages, building, testing, and development tools.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: DOTNET_SKIP_FIRST_TIME_EXPERIENCE, DOTNET_NOLOGO

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "dotnet": {
      "command": "dnx",
      "args": [
        "Community.Mcp.DotNet",
        "--yes"
      ],
      "env": {
        "DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "your-value",
        "DOTNET_NOLOGO": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add dotnet --env DOTNET_SKIP_FIRST_TIME_EXPERIENCE=your-value --env DOTNET_NOLOGO=your-value -- dnx Community.Mcp.DotNet --yes

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "dotnet": {
      "command": "dnx",
      "args": [
        "Community.Mcp.DotNet",
        "--yes"
      ],
      "env": {
        "DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "your-value",
        "DOTNET_NOLOGO": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "dotnet": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Community.Mcp.DotNet",
        "--yes"
      ],
      "env": {
        "DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "your-value",
        "DOTNET_NOLOGO": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • DOTNET_SKIP_FIRST_TIME_EXPERIENCE env
    Skip .NET CLI first-time setup experience
  • DOTNET_NOLOGO env
    Suppress .NET logo and startup messages

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント jongalloway で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32455件のうち0%よりスターが多い
  • このカテゴリのほかの32455件のうち4%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32455件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

.NET MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.1.2)がレジストリに届いたのは8 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンに.NETも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, SSTracker free youth training

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

.NET MCP Server

Give your AI assistant superpowers for .NET development! This MCP server connects GitHub Copilot, Claude, and other AI assistants directly to the .NET SDK, enabling them to create projects, manage packages, run builds, and more—all through natural language.

Quick Install

Click to install in your preferred environment:

Note: Quick install requires the .NET 10 or .NET 11 SDK. Source builds require .NET 11 RC3 or a compatible GA SDK in the 11.0.1xx feature band.

What is This?

The .NET MCP Server is a Model Context Protocol (MCP) server that connects AI assistants to the .NET SDK using the Model Context Protocol. Think of it as giving your AI assistant a direct line to dotnet commands, but with intelligence and context.

Important: This package is designed exclusively as an MCP server for AI assistants. It is not intended for use as a library or for programmatic consumption in other .NET applications. The only supported use case is running it as an MCP server via dnx or dotnet run.

graph LR

A[AI Assistant Copilot/Claude] -->|Natural Language| B[.NET MCP Server] B -->|dotnet commands| C[.NET SDK] C -->|Results| B B -->|Structured Response| A

style A fill:#e1f5ff style B fill:#fff4e6 style C fill:#e8f5e9

Why Use It?

🚀 Faster Development

Instead of remembering exact dotnet commands and syntax, just ask:

  • *"Create a new web API project with Entity Framework"*
  • *"Add the Serilog package and configure structured logging"*
  • *"Update all my NuGet packages to the latest versions"*
🧠 Smarter AI Assistance

Your AI assistant gets direct access to:

  • All installed .NET templates and their parameters
  • NuGet package search and metadata
  • Framework version information (including LTS status)
  • Your solution and project structure
⚡ Token-Efficient by Design

Instead of relying on the LLM to infer state by reading and re-reading console output, the server exposes purpose-built .NET tools with structured inputs and outputs. In practice, this typically means fewer tokens per task and less back-and-forth.

  • Deterministic tool schemas reduce prompt/response overhead
  • machineReadable: true returns structured JSON (no log scraping)
  • MCP Resources provide lightweight metadata without running commands
🎯 Why Not Just Let the AI Call `dotnet` Directly?

The .NET MCP Server provides context and intelligence that raw CLI execution cannot:

1. Template Discovery & Validation
  • With MCP: AI knows exactly which templates are installed (console, webapi, blazor, etc.) and their parameters
  • Without MCP: AI guesses template names and parameters, often getting them wrong
2. Framework Intelligence
  • With MCP: AI knows which .NET versions are installed, which are LTS, and can recommend appropriately
  • Without MCP: AI suggests net8.0 when you only have net10.0 installed, leading to errors
3. Rich Tool Descriptions
  • With MCP: Each tool has detailed parameter descriptions and constraints (e.g., "configuration must be Debug or Release")
  • Without MCP: AI constructs commands from general knowledge, missing version-specific changes
4. Parameter Information
  • With MCP: AI sees template parameters like --use-controllers, --auth, framework options
  • Without MCP: AI doesn't know what optional parameters exist for each template
5. Package Search Integration
  • With MCP: AI can search NuGet.org to find exact package names and versions
  • Without MCP: AI guesses package names, often suggesting outdated or incorrect ones
6. Structured Error Handling with Enhanced Diagnostics
  • With MCP: Errors are parsed and enriched with explanations, documentation links, and suggested fixes
  • Without MCP: AI gets raw stderr output and may misinterpret errors

The server provides enhanced error diagnostics for 52 common error codes:

  • Plain English explanations of what went wrong
  • Direct links to official Microsoft documentation
  • Specific suggested fixes with commands to resolve issues
  • Support for CS####, MSB####, NU####, and NETSDK#### error codes

See Error Diagnostics Documentation for details.

7. MCP Resources

MCP Resources provide read-only access to structured metadata about your .NET environment:

  • dotnet://sdk-info - Information about installed .NET SDKs (versions and paths)
  • dotnet://runtime-info - Information about installed .NET runtimes (versions and types)
  • dotnet://templates - Complete catalog of installed .NET templates with metadata
  • dotnet://frameworks - Information about supported .NET frameworks (TFMs) including LTS status
  • dotnet://workspace - Workspace snapshot with solution, projects, target frameworks, and package counts

This enables AI assistants to:

  • Answer questions without executing commands ("What .NET versions do I have installed?")
  • Provide context-aware suggestions based on your actual environment
  • Access structured JSON data more efficiently than parsing CLI output
  • Reference official .NET metadata for accurate recommendations

Example: Using resources for context-aware assistance

❌ Without Resources:

User: "What .NET versions do I have?" AI: Executes dotnet --list-sdks and parses output User: "Which is LTS?" AI: Executes dotnet --info and tries to parse support info

✅ With Resources: User: "What .NET versions do I have?" AI: Reads dotnet://sdk-info resource (no execution needed) Returns: .NET 8.0 (LTS), .NET 9.0 (STS), .NET 10.0 (LTS) User: "Which is LTS?" AI: Already knows from resource metadata - .NET 8.0, .NET 10.0

Example: Creating a Blazor project with authentication

❌ Without MCP:

AI: "I'll run: dotnet new blazor --auth Individual" Result: Error - template 'blazor' doesn't support --auth parameter

✅ With MCP: AI: Uses dotnet_sdk with action: "TemplateInfo" for 'blazor' Sees available parameters: --interactivity, --use-program-main, --empty Uses dotnet_sdk with action: "SearchTemplates" to find authentication templates AI: "I'll create a Blazor Web App with authentication using the correct template..." Result: Success - uses 'blazor' template with proper authentication configuration

✨ Consistent Results

The MCP server uses official .NET SDK APIs and CLI commands, ensuring:

  • Accurate template information from the Template Engine
  • Reliable command execution
  • Proper error handling and validation
🔒 Secure by Design
  • Runs locally on your machine
  • No data sent to external servers
  • You control what commands execute
  • Standard .NET security model applies
  • Automatic secret redaction to protect sensitive information in CLI output
  • Connection strings, passwords, and API keys are automatically redacted
  • Implemented using optimized regular expressions with <1% performance overhead
  • References Microsoft.Extensions.Compliance.Redaction for future integration
  • Opt-out available with unsafeOutput=true for advanced debugging
  • Patterns include: database credentials, cloud provider keys, tokens, certificates, and more
  • Performance impact is minimal and tested to complete within 500ms for 10,000 lines
  • Optional MCP governance controls (preview)
  • Uses Microsoft.AgentGovernance.Extensions.ModelContextProtocol when enabled via configuration
  • Disabled by default to preserve existing behavior and compatibility
  • Does not ship with a default enforced policy; provide your own policy file(s) when needed
  • See doc/mcp-governance.md for a sample mcp.yaml policy template
  • Sources:
  • Agent Governance Toolkit repository: https://github.com/microsoft/agent-governance-toolkit
  • Agent Governance Toolkit for .NET: https://github.com/microsoft/agent-governance-toolkit/tree/main/agent-governance-dotnet
  • Announcement: https://devblogs.microsoft.com/dotnet/announcing-agent-governance-toolkit-mcp-extensions-for-dotnet/
  • Configuration for startup scanning, policy-based tool authorization, and response sanitization uses the following shape:

Governance startup limitation: Setting McpGovernance:Enabled to true with the full tool catalog currently fails startup because the toolkit scanner rejects the existing dotnet_dev_certs.password input property. The example below is not a working full-catalog workaround, and an allow policy does not bypass startup scanning. See the startup restriction and operating guidance. Leaving governance disabled permits ordinary server use but provides no governance enforcement.

"McpGovernance": {

"Enabled": true, "DefaultAgentId": "did:mcp:anonymous", "ServerName": "dotnet-mcp", "PolicyPaths": ["/path/to/your/policies/mcp.yaml"] }

How It Works

sequenceDiagram

participant User participant AI as AI Assistant participant MCP as .NET MCP Server participant SDK as .NET SDK

User->>AI: "Create a console app called MyApp" AI->>MCP: dotnet_project(action: "New", template: "console", name: "MyApp") MCP->>SDK: dotnet new console -n MyApp SDK-->>MCP: Project created successfully MCP-->>AI: Structured result with output AI-->>User: "I've created a new console app called MyApp"

The .NET MCP Server acts as an intelligent middleware that:

  1. Translates natural language requests into structured .NET SDK operations
  2. Validates parameters using official SDK metadata (templates, frameworks, packages)
  3. Executes commands safely with proper error handling
  4. Returns structured results that AI assistants can understand and explain
🧩 MCP C# SDK Features Used

dotnet-mcp use

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く