Provides an MCP server that connects AI assistants to the .NET SDK, enabling natural language control of dotnet commands.
Configuration
View docs{
"mcpServers": {
"jongalloway-dotnet-mcp": {
"command": "dnx",
"args": [
"Community.Mcp.DotNet@1.*",
"--yes"
],
"env": {
"DOTNET_NOLOGO": "1",
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "1"
}
}
}
}You learn to run and use a dedicated MCP server that links AI assistants to the .NET SDK, enabling natural language requests to translate into concrete dotnet commands, with structured outputs and context-aware guidance to streamline .NET development.
You interact with your AI assistant to perform .NET tasks through natural language. The MCP server translates your requests into structured .NET SDK operations, validates parameters against official metadata, executes commands locally, and returns clear, actionable results. Expect enhanced diagnostics, template awareness, and environment metadata to guide decisions like choosing the right framework version, templates, and packages.
Prerequisites: install the required .NET SDKs and ensure your development environment can run the MCP server locally.
Option 1. Quick setup using the recommended approach. This configures the MCP server in your environment and will fetch the server from NuGet on first use.
Option 2. Manual configuration for source builds or custom setups.
Project lifecycle management with actions such as New, Restore, Build, Run, Test, Publish, Clean, Analyze, Dependencies, Validate, Pack, Watch, Format, and Stop. Includes Stop for terminating long-running sessions and a noBuild option for skipping builds before running.
Manage NuGet packages and project references with Add, Remove, Search, Update, List, AddReference, RemoveReference, ListReferences, and ClearCache.
Create, Add, List, and Remove projects in solutions, and list or modify solution memberships.
Entity Framework Core operations for migrations, database updates, scaffolding, and script generation.
Manage .NET workloads such as MAUI, WASM, and related components.
Manage global and local .NET tools, including Install, List, Update, Uninstall, Restore, CreateManifest, Search, and Run.
Query and browse SDK, runtime, templates, and framework information with various actions.
Handle development certificates and user secrets for secure development workflows.
Get help for any dotnet command.
Query MCP server capabilities and concurrency guidance for orchestration.