About CSharpModelContextProtocol
CSharpModelContextProtocol is an MCP server in the Blockchain category: cSharpMCP is a read-only Model Context Protocol server that gives coding agents compiler-accurate C# solution intelligence through Roslyn and MSBuildWorkspace.
Install
git clone https://github.com/taskscape/CSharpModelContextProtocolThis 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 (34)
affected_symbolsIndependently bounded contracts, implementations, references, callers, tests, and dependent projects before a contract edit.
Parameters not published.
api_compatibilityFeature-gated API surface comparison; DLL baselines run Microsoft's official ApiCompat rules.
Parameters not published.
architecture_rule_checkFeature-gated caller-supplied semantic namespace layering rules and grouped violations.
Parameters not published.
attribute_usageExact attribute constructor identity, arguments, inherited applications, and optional obsolete-migration groups.
Parameters not published.
call_hierarchyDepth-limited callers and callees.
Parameters not published.
conditional_compilation_matrixSeparate MSBuild configuration/target-framework evaluations plus explicit preprocessor-symbol variants.
Parameters not published.
construction_optionsConstructors, factories, required members, DI registrations, and project accessibility.
Parameters not published.
context_bundleGoal-specific `understand`, `contract-change`, or `debug-flow` compound context.
Parameters not published.
dependency_injection_mapGeneric, `typeof`, and factory registration shapes with lifetime and confidence.
Parameters not published.
diagnosticsCompiler/analyzer diagnostics filtered by project, document, ID, severity, and suppression state, including responsible analyzer type/assembly identity.
Parameters not published.
Show all 34 tools
diagnostics_deltaCapture and compare short-lived compiler/analyzer diagnostic baselines.
Parameters not published.
event_flowCompiler-bound subscribe, unsubscribe, raise, and handler evidence for an event.
Parameters not published.
find_referencesCompiler-bound references with server-side kind filters and invocation/read/write/type/DI/test classifications.
Parameters not published.
implementation_mapInterface/abstract contract implementations and member overrides.
Parameters not published.
inheritance_graphDepth-limited base, derived, interface, and implementation edges.
Parameters not published.
invocation_bindingSelected callable, receiver, generic arguments, conversions, and argument-to-parameter mapping.
Parameters not published.
list_trusted_pathsList session and persistent trust roots.
Parameters not published.
member_surfaceExplicit constructor/overload/operator/extension modes, including applicable source and referenced-assembly extension methods.
Parameters not published.
project_dependenciesDirect/transitive/reverse project and package dependencies, cycle detection, and optional semantic namespace edges.
Parameters not published.
region_flowRoslyn data-flow and control-flow facts for a bounded statement range.
Parameters not published.
rename_previewRoslyn Renamer or compiler-bound signature previews with paged edits, checksums, stale-fingerprint rejection, conflicts, and introduced diagnostics; never writes files.
Parameters not published.
resolve_stack_traceSource-symbol mapping for .NET stack frames, including common compiler name mangling.
Parameters not published.
revoke_trustRemove session and persistent trust for one root.
Parameters not published.
semantic_searchSource symbol-name matches ranked with qualified identity, kind, and documentation context.
Parameters not published.
solution_overviewProjects, target frameworks, references, analyzers, and entry points.
Parameters not published.
source_generator_inventoryGenerator candidates and bounded generated documents, declarations, diagnostics, and excerpts, optionally selecting one generated document by ID/hint name.
Parameters not published.
symbol_at_positionExact bound, declared, enclosing, type, and candidate symbols at a source coordinate.
Parameters not published.
symbol_infoExact declaration, stable ID, type relationships, modifiers, and documentation.
Parameters not published.
symbol_sourceBounded original declarations for a batch of symbols, with per-item resolution status.
Parameters not published.
test_impactReverse compiler-reference paths from changed symbols/documents to test-project methods.
Parameters not published.
trust_solutionAuthorize a repository for MSBuild, analyzer, and source-generator evaluation.
Parameters not published.
type_usageConstruction sites, DI-registration candidates, API signatures, and other type uses.
Parameters not published.
unused_symbol_auditBounded no-reference and test-only type/member candidates with framework exclusions and runtime-risk flags.
Parameters not published.
workspace_healthCache freshness, evaluated configuration/target framework, skipped projects, load timing, MSBuild identity, and optional compilation checks.
Parameters not published.
Ask AI
Ask AI about CSharpModelContextProtocol
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.