About Argus Codescan MCP
Argus Codescan MCP is an MCP server published by argus-code-scanning in the Files category: argus — open-source security scanner (SAST, secrets, malware heuristics, SARIF, MCP). YAML rules welcome — good first issues. Conduid read 27 tools from its source: apply_fix, apply_fixes, check_tools, check_unit_tests, compare_scans, explain_finding and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 24 stars and 18 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v0.2.0 (5 Aug 2026): Argus v0.2.0 — DevSecOps orchestrator for CLI, MCP, and GitHub Argus is a free, MIT-licensed security scanner that runs 20+ open-source tools locally (Semgrep, Trivy, Gi… It is the only release Conduid has on record for this repository. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include devsecops, hacktoberfest, malware, opensource, sarif and sast.
Install
git clone https://github.com/argus-code-scanning/argus-codescan-mcpTools (27)
apply_fixPreview or apply a fix for one finding (user must ask — scans never auto-fix)| Parameter | Type | Description |
|---|---|---|
| apply | boolean | If true, run an automated fix (user must have confirmed) |
| file * | string | File path from the finding |
| fix_guidance | string | Fix guidance text from the finding |
| line | integer | Line number from the finding |
| rule_id | string | Rule ID from the finding |
| scan_type | string | Scan type from the finding (sast, sca, secrets, iac, etc.) |
| semgrep_config | string | Semgrep config when fixing semgrep findings |
| target * | string | Project root or scan target path |
| timeout | integer | Timeout in seconds for fix commands |
| tool * | string | Scanner tool name from the finding (e.g. semgrep, eslint-security) |
apply_fixesPreview, then apply, automated fixes for many findings at once. Call with apply=false first: nothing changes, and you get one unified diff for every fixable finding plus a confirm_token. Show the diff to the user. Only after the user confirms, call again with apply=true and that confirm_token; if the files changed since the preview, nothing is written. Findings without an automated fix (secrets, dependencies, most code findings) are left out.| Parameter | Type | Description |
|---|---|---|
| apply | boolean | false = preview only; true = write the previewed diff |
| confirm_token | string | The confirm_token from the preview (required with apply=true) |
| findings | array | Or: specific findings (file, tool, scan_type, rule_id, line) |
| scan_result_json | string | An Argus JSON report; every fixable finding in it is included |
| semgrep_config | string | |
| target * | string | Project root or scan target path |
| timeout | integer |
check_toolsList which scanners are installedcheck_unit_testsIs the app tested? Test runner, untested routes that change data, tests with no assertions, `.only`/`.skip`, CI, end-to-end tests. 0–100 testing score and a prompt per item that writes the tests. CLI: `argus unit-test .`| Parameter | Type | Description |
|---|---|---|
| format | string | |
| target * | string | Path to the project directory |
compare_scansDiff baseline vs current scan JSON (new/fixed findings)| Parameter | Type | Description |
|---|---|---|
| baseline_json * | string | JSON string of baseline AggregatedReport |
| current_json * | string | JSON string of current AggregatedReport |
| format | string | Output format (default: json) |
explain_findingExplain a supplied finding with CWE links, remediation guidance and a review prompt.| Parameter | Type | Description |
|---|---|---|
| code_snippet | string | Optional caller-supplied code text; no file is opened |
| finding * | object | Finding object from a scan report |
get_fix_planGroup scan findings into a read-only remediation plan ordered by severity.| Parameter | Type | Description |
|---|---|---|
| scan_result_json * | string | JSON string of a previous AggregatedReport |
get_scan_reportReformat a previous scan JSON as Markdown or SARIF| Parameter | Type | Description |
|---|---|---|
| format | string | Output format |
| scan_result_json * | string | JSON string from a previous scan result |
review_codeLocal code review — secrets + SAST + malware on git-changed / staged files only| Parameter | Type | Description |
|---|---|---|
| base | string | Optional git ref to diff against (e.g. main, origin/main). Also includes local uncommitted changes. |
| format | string | Output format (default: markdown) |
| semgrep_config | string | Semgrep config for the SAST pass (default: auto) |
| staged | boolean | If true, only review staged files (git diff --cached) |
| target * | string | Path to a git repository (default workspace root) |
| timeout | integer | Timeout in seconds per tool (default: 300) |
sanitize_reportReturn a copy of an Argus JSON report that is safe to paste into an AI chat, a ticket or an email: personal data (emails, phones, SSN/NI, card numbers) and secret values echoed by scanners are masked, file paths can be replaced with stable tags, only the most severe findings can be kept, and fields such as raw tool output are dropped. Line numbers, rule ids and severities are kept.| Parameter | Type | Description |
|---|---|---|
| drop_fields | array | Finding fields to remove, e.g. fix_guidance or description (file, line, rule_id, severity and tool are always kept) |
| hash_paths | boolean | Replace file paths with [path:1a2b3c4d].ext tags |
| max_findings | integer | Keep only the N most severe findings |
| redact_pii | boolean | |
| scan_result_json * | string | An Argus JSON report (from a scan with format json) |
scan_allEverything, in parallel| Parameter | Type | Description |
|---|---|---|
| container_image | string | Optional: container image name for image scan |
| format | string | Output format (default: markdown) |
| target * | string | Path to project directory to scan |
| target_url | string | Optional: URL of running app for DAST scan |
| timeout | integer | Timeout in seconds per tool (default: 300) |
scan_ansibleAnsible playbook & role security scan: built-in checks, plus ansible-lint / KICS / Checkov when installed| Parameter | Type | Description |
|---|---|---|
| ansible_lint_profile | string | ansible-lint strictness profile (default: safety) |
| target * | string | Path to Ansible playbook, role directory, or project root |
| timeout | integer | Timeout in seconds per tool (default: 300) |
| tools | array | Specific tools to run (default: all available) |
scan_containerContainer image CVE scanning| Parameter | Type | Description |
|---|---|---|
| image * | string | Container image name (e.g. nginx:latest, myapp:1.0, ghcr.io/org/image:tag) |
| timeout | integer | Timeout in seconds (default: 300) |
scan_dastDynamic scan of a running web app| Parameter | Type | Description |
|---|---|---|
| target_url * | string | URL of the running web application to scan (e.g. http://localhost:3000) |
| timeout | integer | Timeout in seconds (default: 600 for DAST scans) |
| tools | array | Specific tools to run (default: all available) |
scan_iacTerraform, K8s, Dockerfile, Helm, Ansible misconfigs| Parameter | Type | Description |
|---|---|---|
| framework | string | IaC framework: terraform, cloudformation, kubernetes, dockerfile, helm, ansible (default: auto-detect) |
| target * | string | Path to IaC file or directory |
| timeout | integer | Timeout in seconds (default: 300) |
| tools | array | Specific tools to run (default: all available) |
scan_malwareMalware / backdoor / crypto-miner / malicious BAT-PS1 heuristics| Parameter | Type | Description |
|---|---|---|
| fail_on | string | Severity threshold that marks the cloud-uploaded scan as failed (default: ARGUS_FAIL_ON env var, else 'high') |
| format | string | Output format (default: markdown) |
| target * | string | Path to project directory or file |
| timeout | integer | Reserved for future external malware scanners (default: 300) |
scan_mlAI/ML & LLM pipeline security (model load, API keys, prompts)| Parameter | Type | Description |
|---|---|---|
| format | string | Output format (default: markdown) |
| target * | string | Path to ML project directory or file |
| timeout | integer | Reserved for future external ML scanners (default: 300) |
scan_pciPCI-DSS cardholder-data heuristics (CVV storage, PANs in logs, hardcoded card numbers with a Luhn check, http:// card data)| Parameter | Type | Description |
|---|---|---|
| fail_on | string | Severity threshold that marks the cloud-uploaded scan as failed (default: ARGUS_FAIL_ON env var, else 'high') |
| format | string | Output format (default: markdown) |
| target * | string | Path to project directory or file |
| timeout | integer | Reserved for future external PCI scanners (default: 300) |
scan_piiPersonal data: real-looking emails, phones, SSN / UK NI numbers, names and addresses hardcoded in code, config and fixtures (JSON/YAML/CSV/.env/SQL), PII in logs, Luhn-valid card numbers. CLI: `argus scan pii .`| Parameter | Type | Description |
|---|---|---|
| fail_on | string | Severity threshold that marks an uploaded scan as failed |
| format | string | Output format (default: markdown) |
| target * | string | Path to project directory or file |
scan_privacyGDPR/CCPA code patterns: trackers without a consent mechanism, no data deletion/export, no retention field, PII in logs, fingerprinting, non-EU storage. Not a legal assessment (docs). CLI: `argus scan privacy .`| Parameter | Type | Description |
|---|---|---|
| fail_on | string | |
| format | string | |
| target * | string | Path to project directory or file |
scan_sastStatic code analysis — all languages| Parameter | Type | Description |
|---|---|---|
| format | string | Output format (default: markdown) |
| semgrep_config | string | Semgrep ruleset config (default: 'auto'). Examples: 'auto', 'p/owasp-top-ten', 'p/python', 'p/javascript' |
| target * | string | Absolute path to file or directory to scan |
| timeout | integer | Timeout in seconds per tool (default: 300) |
| tools | array | Specific tools to run (default: all applicable) |
scan_scaVulnerable dependency detection| Parameter | Type | Description |
|---|---|---|
| target * | string | Path to project directory or dependency file |
| timeout | integer | Timeout in seconds (default: 300) |
| tools | array | Specific tools to run (default: all applicable) |
scan_secretsLeaked API keys, tokens, passwords| Parameter | Type | Description |
|---|---|---|
| target * | string | Path to directory or git repository to scan |
| timeout | integer | Timeout in seconds (default: 180) |
| tools | array | Specific tools to run (default: all available) |
scan_terraformDeep Terraform scan (tfsec, tflint, validate, KICS)| Parameter | Type | Description |
|---|---|---|
| target * | string | Path to Terraform directory or .tf file |
| timeout | integer | Timeout in seconds per tool (default: 300) |
| tools | array | Specific tools to run (default: all available) |
scan_threatsMatch the repository against known indicators of compromise (IOCs): URLs, domains, IPs and file hashes from abuse.ch ThreatFox / URLhaus / MalwareBazaar (needs ARGUS_ABUSECH_AUTH_KEY, free) and a local .argus/iocs.txt. Matching is local; repository content is never uploaded.| Parameter | Type | Description |
|---|---|---|
| fail_on | string | Report a failing status at or above this severity |
| format | string | Output format (default: markdown) |
| target * | string | Path to project directory or file |
scan_vibeLaunch check for apps built with AI tools: Supabase RLS and policies, Firebase rules, exposed keys, unprotected routes. 0–100 score, plain fixes and a fix prompt per finding (secrets masked). CLI: `argus scan vibe .`| Parameter | Type | Description |
|---|---|---|
| fail_on | string | Severity threshold that marks an uploaded scan as failed |
| format | string | Output format (default: markdown) |
| target * | string | Path to the app's project directory |
triage_malwareRun static malware heuristics and return bounded, redacted evidence snippets, safe text-only decoding, package context, and a structured prompt for an AI client to assess as malicious, suspicious, or benign. Never executes files or calls a model.| Parameter | Type | Description |
|---|---|---|
| max_files | integer | Maximum finding files to include (default: 10, maximum: 50) |
| target * | string | Path to project directory or file |
Security checks
- ✓README presentThe repository's README runs to about 2.4K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 66 source files and found 1 call to eval or shell execution, in extensions/vscode/src/mcpClient.ts. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 2.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README