Skip to content

Tool Reference

Tech Debt MCP exposes 16 tools. All tool schemas are generated from TOOL_DEFINITIONS in src/server/tools.ts at build time — what you see here matches what the server advertises.

ToolKindDescription
analyze_projectread-onlyAnalyze an entire project for technical debt. Scans all supported files and returns a comprehensive report with issues, metrics, and recommendations.
analyze_fileread-onlyAnalyze a single file for technical debt issues.
get_debt_summaryread-onlyGet a quick summary of technical debt in a project.
get_sqale_metricsread-onlyGet SQALE technical debt metrics including remediation time, debt ratio, and rating.
list_supported_languagesread-onlyList all programming languages supported by the analyzer.
get_recommendationsread-onlyGet prioritized recommendations for addressing technical debt.
get_issues_by_severityread-onlyGet all issues of a specific severity level.
get_issues_by_categoryread-onlyGet all issues of a specific category.
add_custom_ruledestructiveAdd a custom pattern-based tech debt rule.
remove_custom_ruledestructiveRemove a custom rule by ID.
list_custom_rulesread-onlyList all active custom rules with their statistics.
execute_custom_rulesread-onlyExecute all custom rules against code or a file.
validate_custom_patternread-onlyValidate a custom pattern before adding it as a rule.
check_dependenciesread-onlyAnalyze project dependencies across multiple package managers.
validate_configread-onlyValidate a .techdebtrc.json configuration file for syntax and schema correctness.
get_vulnerability_reportread-onlyGenerate an offline dependency report listing all project dependencies for vulnerability review. Note: actual CVE lookups require Phase 2b online integration.

Resources

Beyond tools, the server registers two RFC-6570 resource templates:

  • debt://summary/{+projectPath} — quick debt summary for a project root.
  • debt://issues/{+projectPath} — full issue list for a project root.

The leading / of an absolute path doubles the slash after debt://summary — e.g. debt://summary//Users/me/repo.