secscan-mcp
v0.3.0MCP server for codebase security scanning (secrets, SAST, SCA, IaC)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_secrets
Detect hardcoded secrets and credentials in a directory. Runs the built-in custom scanner (no extra tools). When include_git_history is true, also scans past git commits for secrets removed from the working tree but still in history — recommended before push/PR. Uses git_history (built-in) and gitleaks (when installed).
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the project directory to scan. |
include_git_history | boolean | Scan git commit history, not just current files. Finds secrets deleted from source but still in old commits. |
severity_threshold | string | Minimum severity to include in results (default: info — all severities). |
scan_code
Static analysis (SAST) for code vulnerabilities and unsafe patterns. Uses semgrep and bandit when installed; skips missing engines.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the project directory to scan. |
severity_threshold | string | Minimum severity to include in results (default: info — all severities). |
scan_dependencies
Scan lockfiles and manifests for known vulnerable dependencies (SCA). Uses osv-scanner when installed.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the project directory to scan. |
severity_threshold | string | Minimum severity to include in results (default: info — all severities). |
scan_iac
Scan Terraform, CloudFormation, Kubernetes, and other IaC for misconfigurations. Uses checkov when installed.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the project directory to scan. |
severity_threshold | string | Minimum severity to include in results (default: info — all severities). |
scan_all
Run every installed scanner (secrets, SAST, dependencies, IaC) and return one unified, deduplicated report. Set include_git_history=true to also scan git commit history for leaked secrets — recommended before push/PR.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the project directory to scan. |
include_git_history | boolean | Also scan git commit history for secrets, not just current files. Finds secrets deleted from source but still in old commits. |
severity_threshold | string | Minimum severity to include in results (default: info — all severities). |
list_available_scanners
List all supported scanners and whether each engine CLI is installed. Call this before scanning to know which tools will run.
explain_finding
Return remediation guidance for a finding rule_id (from any scan result). Recognizes built-in secret rules, bandit test IDs (B###), semgrep rule paths, gitleaks rule names, checkov policies (CKV_*), and dependency advisories (CVE/GHSA/PYSEC), with documentation links where available.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The rule_id field from a finding in a scan report. |