Skip to main content

MCP Tools

Reference for the 15 MCP tools your AI assistant invokes when running HiAUDIT audits.

These tools are called automatically by your AI assistant based on your prompts. You do not need to call them directly. HiAUDIT exposes 15 tools total — 9 for smart contracts and 6 for web application code.

Solidity / Solana tools (9)

ToolPurpose
hiauditagent_analyzeRun static analysis and return a compact summary of findings.
hiauditagent_finding_detailsGet full details, code snippets, and fix suggestions for a specific finding.
hiauditagent_detectorsList all available security detectors with names and severities.
hiauditagent_related_functionsBuild a call graph (Mermaid) for a function, showing callers and callees.
hiauditagent_contract_summarySummarize a contract’s or program’s structure and interface.
hiauditagent_storage_layoutAnalyze the storage slot layout for upgrade safety.
hiauditagent_access_controlMap permissions and flag unprotected functions.
hiauditagent_inheritance_graphGenerate a dependency and inheritance diagram.
hiauditagent_gas_reportRun focused gas (or compute-unit) optimization analysis.

For Solana projects, each tool auto-detects the chain and dispatches to its Solana-specific implementation (account validation, CPI mapping, PDA handling, and more).

Web application tools (6)

ToolPurpose
hiauditagent_web2_analyze4-phase detection across 11 languages (JS, TS, Python, Go, Rust, COBOL, and more).
hiauditagent_web2_finding_detailsDetailed findings with CWE / OWASP mappings, confidence scores, and code snippets.
hiauditagent_web2_detectorsList all web application security detectors with descriptions and severity levels.
hiauditagent_web2_taintSource-to-sink data flow tracking across 12 frameworks.
hiauditagent_web2_securityOWASP Top 10 2025 compliance and posture scoring.
hiauditagent_web2_errorsError-handling gap analysis (empty catch blocks, swallowed exceptions).