New
Apps 6,357Makers 6,336This week 13
Promote your app−30%
dotnet-context-mcp for VS Code screenshot 1
2views in
the last 30 days

dotnet-context-mcp for VS Code

Zero-config setup of the dotnet-context-mcp server in VS Code and Cursor

Built with Claude Code

by sayinbrahim · Unclaimed · from TRTürkiye · added Oct 29, 2026
no ratings0 comments

dotnet-context-mcp for VS Code & Cursor

Zero-config setup for dotnet-context-mcp MCP server in VS Code, Cursor, Continue.dev, and Windsurf.

Installation

For Cursor and other Open VSX-compatible editors: Search "dotnet-context-mcp" in the Extensions panel and click Install.

For VS Code (manual for now):

  1. Download the latest .vsix from GitHub Releases
  2. In VS Code, open Extensions panel (Ctrl+Shift+X)
  3. Click the ... menu (top-right of Extensions panel)
  4. Select "Install from VSIX..."
  5. Choose the downloaded .vsix file

VS Code Marketplace listing coming soon.

What it does

dotnet-context-mcp gives Claude Code (and other MCP-compatible AI clients) structured, symbol-level access to your .NET solution — DbContexts, entities, migrations, relationships, DI registrations, and custom analyzer plugins.

This extension makes setup trivial:

  • Detects installed MCP clients
  • Adds dotnet-context-mcp to their config with backup + rollback
  • Shows a live sidebar tree view of your solution's health
  • Provides commands for install, uninstall, verify, and log inspection

Commands

Access via Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS):

  • dotnet-context-mcp: Setup for MCP Client — auto-detect and install
  • dotnet-context-mcp: Detect MCP Clients — show detection results
  • dotnet-context-mcp: Verify — check current setup health
  • dotnet-context-mcp: Uninstall — remove from selected client(s)
  • dotnet-context-mcp: Show Status — open detection report
  • dotnet-context-mcp: Show Logs — open extension log output
  • dotnet-context-mcp: Open Settings — jump to extension settings

Solution Overview Tree View

When a .NET solution (.sln) is open, click the database icon in the Activity Bar to see:

  • Solution health score (0-100) and grade (A-F)
  • Each DbContext expandable with entities, migrations, relationships, and registrations
  • All detected issues from analyze_solution_health

Click any item to open its source file.

Settings

Available in File → Preferences → Settings (search "dotnet-context-mcp"):

  • serverPath — npm package identifier for the MCP server (advanced)
  • logLevel — off / error / warn / info / debug
  • autoDetectOnStartup — detect clients when extension activates
  • notifyOnFirstRun — welcome notification
  • treeView.autoRefresh — refresh on .sln/.cs file changes
  • treeView.includeCustomRules — include custom analyzer rules in health report

Supported MCP Clients

  • Claude Code — .mcp.json (project) or ~/.claude.json (user)
  • Cursor — .cursor/mcp.json
  • Continue.dev — ~/.continue/config.json
  • Windsurf — ~/.codeium/windsurf/mcp_config.json

About dotnet-context-mcp

The underlying MCP server (npmjs.com/package/dotnet-context-mcp) provides 9 Roslyn-powered tools:

  • analyze_solution_health — aggregate health report with issue detection
  • analyze_migration — 13 EF migration operation types
  • find_relationships — entity relationship graph with cardinality
  • find_dbcontext_dependencies — DI registration analysis
  • run_custom_analyzers — user-defined JSON rules
  • list_dbcontexts, list_entities, list_migrations
  • echo — connectivity test

See the main project README for detailed tool documentation.

License

MIT © 2026 Halil İbrahim Sayın

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#mcp · #dotnet · #vscode