Sponsored by Noundry — Free for all .NET developers

DotNetMCP

Expert .NET knowledge delivered directly to your AI assistant via the Model Context Protocol.

50+ curated guides, anti-pattern detection, migration planning, and code analysis for .NET 8–10 and C# 12–14. No API key required.

Add to any MCP-compatible agent
# Claude Code
$ claude mcp add dotnetmcp https://dotnetmcp.com/sse
# Or add to any MCP config (Cursor, Windsurf, Claude Desktop)
{
"mcpServers": {
"dotnetmcp": {
"url": "https://dotnetmcp.com/sse"
}
}
}
50+
Expert Guides
24+
Anti-Patterns
Free
No API Key
.NET 10
Latest Coverage

Your AI assistant’s .NET expert

DotNetMCP gives every AI coding assistant deep .NET expertise through the Model Context Protocol. It works with Claude Code, Cursor, Windsurf, and any MCP-compatible tool.

Instead of relying on the AI’s training data alone (which may be outdated or incomplete), DotNetMCP feeds your assistant curated, up-to-date .NET knowledge in real time — covering modern patterns, performance optimization, security best practices, and migration strategies.

Built for the community

DotNetMCP is sponsored by Noundry and free for all .NET developers. No signup, no API keys, no rate limits. Just connect and go.

AI Assistant with DotNetMCP
> How should I structure my .NET 10 minimal API?
[dotnetmcp] Searching guides...
Based on current .NET 10 best practices:
1. Use endpoint groups with MapGroup()
2. Typed results with TypedResults
3. [FromServices] for DI parameters
4. Vertical slice per feature folder
5. Global exception handling middleware
Source: dotnetmcp • minimal-api-patterns

Available MCP Tools

Your AI assistant gains these capabilities automatically

search_guides

Search 50+ expert guides covering EF Core, minimal APIs, authentication, performance, testing, and more.

detect_antipatterns

Identify 24+ common .NET anti-patterns including N+1 queries, sync-over-async, service locator abuse, and more.

check_security

Review code for OWASP vulnerabilities, insecure configurations, and .NET-specific security issues.

plan_migration

Generate migration plans with risk assessments for upgrading from .NET 6/7/8 to .NET 9/10.

optimize_performance

Analyze code for performance issues. Covers Span<T>, pooling, caching strategies, and async patterns.

review_code

Expert code review for .NET conventions, design patterns, SOLID principles, and C# 12–14 features.

Comprehensive .NET Coverage

Curated expert knowledge across the entire .NET ecosystem

Web & APIs

  • Minimal APIs
  • ASP.NET Core MVC
  • Blazor (Server & WASM)
  • gRPC Services
  • SignalR Real-time
  • API Versioning

Data & ORM

  • Entity Framework Core
  • Dapper & Micro-ORMs
  • Database Migrations
  • Query Optimization
  • Connection Pooling
  • Multi-tenancy

Architecture

  • Clean Architecture
  • CQRS & MediatR
  • Microservices
  • Domain-Driven Design
  • Event Sourcing
  • Vertical Slices

DevOps & Cloud

  • Docker & Containers
  • CI/CD Pipelines
  • Azure & AWS
  • Health Checks
  • Observability
  • Configuration

Anti-Pattern Detection

DotNetMCP helps your AI assistant catch these common mistakes before they ship:

N+1 Query Problems
sync Over Async
DI Captive Dependencies
GC Allocation Pressure
EF Tracking Misuse
HTTP Client Leaks
SL Service Locator
+20 More Patterns

Setup in 30 Seconds

Works with every major AI coding tool

Claude Code

One command
$ claude mcp add dotnetmcp
https://dotnetmcp.com/sse

Add the MCP server with one command. Works immediately.

Cursor & Windsurf

// .cursor/mcp.json
{
"mcpServers": {
"dotnetmcp": {
"url": "https://dotnetmcp.com/sse"
}
}
}

Add to your MCP configuration file. Restart the IDE.

Claude Desktop

// claude_desktop_config.json
{
"mcpServers": {
"dotnetmcp": {
"url": "https://dotnetmcp.com/sse"
}
}
}

Add to your Claude Desktop config. Restart the app.

Real-World Use Cases

See how DotNetMCP improves your AI-assisted development

Upgrading a .NET 6 project to .NET 10

Ask your AI assistant to help with the migration. DotNetMCP provides a step-by-step plan with breaking change alerts, deprecated API replacements, and new feature recommendations.

> Help me migrate this project from .NET 6 to .NET 10
[dotnetmcp:plan_migration]
Migration plan generated: 12 steps, 3 high-risk changes, 2 deprecated APIs to replace...

Catching performance issues before PR review

DotNetMCP detects anti-patterns like N+1 queries, sync-over-async calls, and allocation-heavy code that would otherwise slip through code review.

> Review this EF Core repository for performance issues
[dotnetmcp:detect_antipatterns]
Found: N+1 query in GetOrdersWithItems(), missing AsNoTracking() on read-only queries...

Learning modern C# patterns

Ask about any .NET topic and get accurate, up-to-date guidance with code examples that follow current best practices.

> What’s the modern way to handle options validation in .NET?
[dotnetmcp:search_guides]
Use ValidateDataAnnotations() + ValidateOnStart() for fail-fast configuration...

AI + DotNetMCP vs AI Alone

Better answers, fewer hallucinations, current best practices

AI Alone

  • ✗ May suggest deprecated APIs from training data
  • ✗ Missing knowledge about .NET 10 features
  • ✗ Inconsistent pattern recommendations
  • ✗ No anti-pattern awareness for .NET-specific issues
  • ✗ Generic migration advice without risk assessment

AI + DotNetMCP

  • ✓ Curated, current APIs verified against latest .NET
  • ✓ Full .NET 8–10 and C# 12–14 coverage
  • ✓ Consistent, opinionated best-practice patterns
  • ✓ 24+ .NET anti-patterns automatically flagged
  • ✓ Step-by-step migration with risk scores

Give Your AI Assistant .NET Superpowers

Free for all .NET developers. Sponsored by Noundry.

No signup. No API key. Just connect and start coding better.

claude mcp add dotnetmcp https://dotnetmcp.com/sse