D

Dotnet MCP

by Skymly · io.github.Skymly/dotnet-mcp

Enables coding agents to navigate C#, VB.NET, and F# symbols with compiler accuracy, attribute generated members, query Avalonia/MAUI XAML, and preview/apply restricted workspace edits such as renames and diagnostic fixes.

nuget Local · stdio GlamaOfficial MCP Registry High confidence

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ROOTS No Trusted root path(s) passed as the CLI flag `--roots` (or `--roots=path`). Trusted roots are required; the process working directory is never an implicit trusted root. On Windows, separate multiple roots with `;`. When both this flag and DOTNET_MCP_TRUSTED_ROOTS are set, startup uses their union; neither replaces the other. An empty value is rejected, and a missing or empty roots configuration exits with code 1.
DOTNET_MCP_AUDIT No Set to `0` to disable the local process audit log (stderr under stdio). Audit records contain tool name and path metadata only; no source text and no telemetry. Default: 1
DOTNET_MCP_TRUSTED_ROOTS No Trusted root path(s) supplied via environment variable instead of (or in addition to) `--roots`. When both are set, startup uses their union. A missing or empty roots configuration exits with code 1 and writes one JSON object to stderr (`error`, `message`, `suggestedAction`).
DOTNET_MCP_BUDGET_FIXALL_PROJECT_MS No Soft budget for project Fix all; over budget fails the preview. `0` means the budget is already spent; negative or unparseable values fall back to the default. Default: 15000
DOTNET_MCP_BUDGET_SINGLE_PROJECT_MS No Soft budget for a single-project compile (e.g. `project_diagnostics`). `0` means the budget is already spent; negative or unparseable values fall back to the default. Default: 5000
DOTNET_MCP_BUDGET_FIND_REFS_ENTIRE_MS No Soft budget for entire-solution find-references. `0` means the budget is already spent; negative or unparseable values fall back to the default. Default: 20000
DOTNET_MCP_BUDGET_FIND_REFS_SCOPED_MS No Soft budget for scoped find-references. `0` means the budget is already spent; negative or unparseable values fall back to the default. Default: 5000
DOTNET_MCP_BUDGET_BATCH_DIAGNOSTICS_MS No Soft budget for `project_diagnostics` when `projectId` is omitted. `0` means the budget is already spent; negative or unparseable values fall back to the default. Default: 15000

Similar servers