Skip to content
MCP server

Dotnetdevmcp

MCP server that gives AI coding agents Roslyn's compiler view of a .NET solution.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.4
Listing updated
5 days ago

About Dotnetdevmcp

Dotnetdevmcp is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add dotnetdevmcp -- dnx DotNetDevMCP --yes

Add to claude_desktop_config.json

{
  "mcpServers": {
    "dotnetdevmcp": {
      "command": "dnx",
      "args": [
        "DotNetDevMCP",
        "--yes"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "dotnetdevmcp": {
      "command": "dnx",
      "args": [
        "DotNetDevMCP",
        "--yes"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "dotnetdevmcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "DotNetDevMCP",
        "--yes"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "dotnetdevmcp": {
      "command": "dnx",
      "args": [
        "DotNetDevMCP",
        "--yes"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "dotnetdevmcp": {
      "command": "dnx",
      "args": [
        "DotNetDevMCP",
        "--yes"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

Dotnetdevmcp FAQ

Is Dotnetdevmcp free?

Yes. Dotnetdevmcp is open source, so you can use and self-host it for free.

How do I add Dotnetdevmcp to Claude Code?

Run this command in your terminal: claude mcp add dotnetdevmcp -- dnx DotNetDevMCP --yes

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers