Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

.NET MCP Server

by jongallowayversion 1.1.2i★ 39iRuns on your computer
Registry nameio.github.jongalloway/dotnet-mcp

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a .NET MCP Server key (create it on the maker’s site) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Sign up and create a .NET MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

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

    Paste the key only into the app’s field, never into a chat or to anyone

  4. Quit Claude and open it again

  5. Try it

    Use .NET MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using .NET MCP Server or shows a .NET MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect .NET MCP Server yet

.NET MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect .NET MCP Server

  • You need a .NET MCP Server key (create it on the maker’s site) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a .NET MCP Server key (create it on the maker’s site)
  • You need a .NET MCP Server key (create it on the maker’s site)
  • You need a .NET MCP Server key (create it on the maker’s site)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a .NET MCP Server key (create it on the maker’s site)

  1. Sign up and create a .NET MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

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

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  4. Type /mcp in Claude Code

    You should see .NET MCP Server listed as connected

  5. Try it

    Use .NET MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using .NET MCP Server or shows a .NET MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a .NET MCP Server key (create it on the maker’s site)

  1. Sign up and create a .NET MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Fill in your key

    In the .NET MCP Server settings, DOTNET_SKIP_FIRST_TIME_EXPERIENCE, DOTNET_NOLOGO is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  4. Open the AI chat in Cursor in Agent mode

  5. Try it

    Use .NET MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using .NET MCP Server or shows a .NET MCP Server tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a .NET MCP Server key (create it on the maker’s site)

  1. Sign up and create a .NET MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Fill in your key

    In the .NET MCP Server settings, DOTNET_SKIP_FIRST_TIME_EXPERIENCE, DOTNET_NOLOGO is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  4. Open the AI chat in VS Code in Agent mode

  5. Try it

    Use .NET MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using .NET MCP Server or shows a .NET MCP Server tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use .NET MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

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

Claude Desktop (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"
      }
    }
  }
}

Cursor (~/.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 (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"
      }
    }
  }
}

Values you fill in

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

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
1.1.2
Published to registryi
Mar 18, 2026
Code last changedi
Nov 9, 2026
Maker
jongalloway
Packages
nuget: Community.Mcp.DotNet
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 13, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account jongalloway, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 4 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Developer toolsi

  • More stars than 95% of the other 5851 servers in this category
  • Published to the registry more recently than 6% of the other 5851 servers in this category
  • Basic checks equal to or better than 100% of the other 5851 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is .NET MCP Server safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 days ago, and the latest version (1.1.2) reached the registry 8 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need .NET on your computer.

What can I use instead?

In the same category: REA, GitHub, Serena MCP: the IDE for your agent

Others in the same category

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

by morlutoWidely used↓ 388.7K/wk★ 455.4KUpdated yesterday

Runs on your computer

GitHub

GitHub’s official server lets AI read and manage code, issues and pull requests in your account. Use GitHub’s hosted version or run it locally with Docker.

by githubWidely used★ 34.4KUpdated 10 days ago

Computer or cloud

Serena MCP: the IDE for your agent

A powerful toolkit for coding, providing semantic retrieval and editing capabilities.

by oraiosWidely used↓ 35.2K/wk★ 31.3KUpdated 6 months ago

Runs on your computer

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

.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

Only the beginning is shown; read the rest in the repo