NetContext MCP Server

Enables AI assistants to deeply understand .NET codebases through the Model Context Protocol.

Local serverstdio★ 31

What is the NetContext MCP Server?

Enables AI assistants to deeply understand .NET codebases through the Model Context Protocol.

What the server does

🔍 Supercharge Your AI Coding Assistant with Deep .NET Codebase Understanding

  • 📁 Project & File Listing: List all projects and source files in your solution
  • 🔍 Code Search: Search through your codebase for specific patterns or text
  • 🧠 Semantic Search: Find code based on meaning, not just exact text matches
  • 📖 File Content Access: Read source files with safety checks and size limits
  • 🛡️ Security: Built-in safeguards for sensitive files and directory access
  • 🎯 Pattern Management: Flexible ignore patterns for controlling file access

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
AZURE_OPENAI_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

NetContext supports parsing coverage data from Coverlet, LCOV, and Cobertura XML, providing detailed reports, file-level coverage percentages, uncovered line tracking, and even branch coverage where available.