smartguard-mcp
v1.0.0SmartGuard MCP Server - AI-powered smart contract security audit tools for Claude Code, Cursor,...
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_contract
Scan a single Solidity smart contract file for security vulnerabilities (reentrancy, access control, overflow, oracle manipulation, quantum risks)
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the Solidity (.sol) file |
scan_contracts_directory
Recursively scan a directory for all Solidity smart contracts and generate a combined audit report
| Parameter | Type | Description |
|---|---|---|
directory_path * | string | Absolute path to the directory containing Solidity files |
include_info | boolean | Include info-level findings in report |
scan_contract_snippet
Scan a Solidity code snippet for security vulnerabilities without needing a file
| Parameter | Type | Description |
|---|---|---|
code * | string | Solidity source code to scan |
list_vulnerability_patterns
List all smart contract vulnerability patterns that SmartGuard can detect, with descriptions and SWC references
gas_optimization
Analyze a Solidity contract for gas optimization opportunities
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the Solidity (.sol) file |