About Dotnet Context MCP
Dotnet Context MCP is an MCP server published by sayinbrahim in the Blockchain category: mCP server bridging Claude Code with .NET solution analysis via Roslyn.
The repository has 4 stars and 0 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/sayinbrahim/dotnet-context-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (9)
analyze_migrationDetailed Up/Down operations for a specific migration (13 operation types)
Parameters not published.
analyze_solution_healthComprehensive EF Core health report for the solution. Composes all other analyzers into an aggregate view: DbContext + entity + migration + registration + relationship counts. Detects 5 issue categories (multi-context registration, hardcoded connection strings, unregistered DbContexts, missing migrations, many-to-many complexity). Returns health score (0-100), grade (A-F), and actionable recommendations.
Parameters not published.
echoConnectivity test
Parameters not published.
find_dbcontext_dependenciesAnalyze DbContext dependency injection registrations across the solution: registration method (AddDbContext, AddDbContextPool, AddDbContextFactory), provider (SqlServer, Npgsql, Sqlite, etc.), connection string source, lifetime, and location (file + line).
Parameters not published.
find_relationshipsEntity relationships: navigation properties, foreign keys, cardinality (OneToMany, ManyToOne, OneToOne, ManyToMany)
Parameters not published.
list_dbcontextsDiscover all DbContext classes in the solution
Parameters not published.
list_entitiesList DbSet properties and entity metadata (optionally filtered by DbContext)
Parameters not published.
list_migrationsMigration history with timestamps and owning context
Parameters not published.
run_custom_analyzersDiscovers and runs custom JSON-defined analyzer rules from `.dotnet-context-mcp/plugins/*.json` or referenced from `dotnet-context-mcp.config.json`. Supports 3 rule types: name-regex, entity-count, operation-forbidden. Returns issues with severity, message, and affected items.
Parameters not published.
Ask AI
Ask AI about Dotnet Context MCP
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.