Skip to content
VS Code

dotnetdevmcp for VS Code

io.github.csa7mdm/dotnetdevmcp

MCP server for .NET: Roslyn code navigation and refactoring, build, and affected-test selection.

client:VS Code transport:stdio runtime:nuget

Install dotnetdevmcp in VS Code

.vscode/mcp.json

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

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

dotnetdevmcp in other clients