chaoyue0307/mcp-guard MCP Security Scanner

Scan MCP and AI agent tool configuration for risky commands, secrets, and broad permissions.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 11, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: chaoyue0307/mcp-guard-action@b48e7885f1c1974f769cbba9a9ca7bd083a41bd4 # v0.4.11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
configOptional MCP config path to scan. Leave empty to scan default project and user config locations.no""
fail-onFail the workflow when a finding is at least this severity. Use critical, high, medium, low, or none.nohigh
baselineOptional mcp-guard baseline/allowlist JSON path. Matching findings are accepted and do not fail the workflow.no""
policyOptional mcp-guard policy JSON path. Leave empty to auto-load .mcp-guard-policy.json when present.no""
comment-prPost or update a pull request comment with the scan summary. Requires pull-requests: write permission.nofalse
output-dirDirectory where reports will be written.nomcp-guard-report
upload-artifactUpload generated reports as a workflow artifact.notrue
upload-sarifUpload SARIF to GitHub code scanning. Requires security-events: write permission.nofalse
artifact-nameArtifact name for generated reports.nomcp-guard-report
license-endpointOptional Pro license verification endpoint. Leave empty to skip license verification.no""
license-keyOptional Pro license key. Pass from a GitHub Secret.no""
license-emailOptional buyer email for Pro license verification.no""
license-productProduct id for Pro license verification.nopro-monthly
namedescription
executive-summaryPath to the generated executive summary.
markdown-reportPath to the generated Markdown report.
html-reportPath to the generated HTML report.
json-reportPath to the generated JSON report.
sarif-reportPath to the generated SARIF report.
remediation-reportPath to the generated remediation plan.
remediation-checklistPath to the generated remediation checklist.
audit-manifestPath to the generated audit pack manifest.
exit-codemcp-guard threshold exit code.
comment-reportPath to the generated pull request comment body.