MCPVault

querying-issue-rule

MCP tool from NDepend.MCP.Server by ndepend

Selects issues and rules

How to use it

querying-issue-rule is exposed by the NDepend.MCP.Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the querying-issue-rule tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL NDEPEND.MCP.SERVER LISTING

Other tools in NDepend.MCP.Server (25)

code-query-essential

(ALWAYS REQUIRED)

code-query-list

Returns collection of code elements with properties

code-query-scalar

Returns single numeric value

code-rule

Quality rule identifying violations

diff-since-baseline

, naming, attribute, source-file-declaration

event-pattern

, constructor-instantiation

line-of-code

, maintainability, complexity, coverage, comment

ndepend-diff-sources

Invokes NDepend's diff action to compare a source file's current content against its baseline using the configured source compare tool.

ndepend-gen-code-query-and-rule

Provide prompts to the LLM to make it an expert in code queries and rule generation. The LLM first identifies the code querying features it needs based on the user’s request, then it calls this tool to obtain a prompt for each feature choosen.

ndepend-get-issue-details-to-fix-it

Retrieve comprehensive diagnostic information for a specific issue.

ndepend-get-sources

Retrieve source code as raw text from NDepend.

ndepend-initialize-from-solution

Initialize the NDepend analysis session with a .NET solution file. If an NDepend project (.ndproj file) is attached to the solution, use it. Else create an NDepend project side-by-side with the solution and analyze it.

ndepend-list-all-rules-summary

Return hierarchical categorized summary of all rules in the current project, with each the number of issues found.

ndepend-list-dependencies

Collect and present dependencies for code elements with comprehensive context. Also generate a HTML SVG diagram of the required dependency.

ndepend-list-issues

List issues scoped by user's request with comprehensive details.

ndepend-list-quality-gates-status

Return status of each quality gate to assess code quality standards.

ndepend-list-rules-detailed

Return paginated list of rules with descriptions and fix guidance.

ndepend-run-analysis

Run the NDepend analysis on the initialized workspace and update all session data (dependencies, issues, metrics, etc...). Returns analysis data loaded (snapshot date, baseline snapshot date, .ndar analysis result file...).

ndepend-run-analysis-build-report

Run the NDepend analysis, update all session data, and build a web report, open it in the browser.

ndepend-run-code-query-or-rule

Compile and execute code query or rule against the session's analysis result and baseline.

ndepend-search-code-metrics

Collect and analyze code metrics for quality assessment.

quality-gate

Quality criterion with WARN/FAIL thresholds

solid-principles

, clean-architecture, encapsulation-and-visibility, state-mutability

trend-metric

Scalar value stored over time to plot chart

usage-dependency

, parent-children-relationship, inheritance-and-base-class, interface