Skip to main content
Glama
dotnet-mcp
by Skymly

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ROOTSNoTrusted 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_AUDITNoSet 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.1
DOTNET_MCP_TRUSTED_ROOTSNoTrusted 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_MSNoSoft 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.15000
DOTNET_MCP_BUDGET_SINGLE_PROJECT_MSNoSoft 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.5000
DOTNET_MCP_BUDGET_FIND_REFS_ENTIRE_MSNoSoft budget for entire-solution find-references. `0` means the budget is already spent; negative or unparseable values fall back to the default.20000
DOTNET_MCP_BUDGET_FIND_REFS_SCOPED_MSNoSoft budget for scoped find-references. `0` means the budget is already spent; negative or unparseable values fall back to the default.5000
DOTNET_MCP_BUDGET_BATCH_DIAGNOSTICS_MSNoSoft budget for `project_diagnostics` when `projectId` is omitted. `0` means the budget is already spent; negative or unparseable values fall back to the default.15000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources