MCPGuard Security Auditor avatar

MCPGuard Security Auditor

Pricing

from $40.00 / 1,000 repo bundle audits

Go to Apify Store
MCPGuard Security Auditor

MCPGuard Security Auditor

Pricing

from $40.00 / 1,000 repo bundle audits

Rating

0.0

(0)

Developer

Shengyang Xie

Shengyang Xie

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 hours ago

Last modified

Categories

Features

Limited permissions

Share

MCPGuard — AI Agent & MCP Security Auditor

Zero-dependency deterministic security & cost gate for MCP configurations, AI Agent rules / SKILL.md files, unified repository bundles, and autonomous agent budget/loop logs.

Built on pure Node.js 24 Alpine (no headless browser, no LLM calls, no third-party network dependencies) for sub-second cold starts, deterministic findings, Limited permissions (mcp.apify.com auto-discovery ready), and GitHub Code Scanning SARIF 2.1.0 export.

What It Audits & Pay-Per-Event Pricing

ActionPPE EventPrice (USD)Capabilities
(Platform Start)apify-actor-start$0.001Auto-billed by Apify (covers first 5 seconds of platform compute; never manually charged by actor code).
audit-repo-bundle (Primary)repo-bundle-audit$0.04Audits up to 100 MCP configs + Agent Rules / SKILL.md files in one run into a unified 0–100 Security Score, Grade A–F, findings table, optional SARIF 2.1.0, and GitHub PR Markdown summary.
audit-mcpmcp-config-audit$0.02Detects hardcoded vendor keys (sk-ant-*, OpenAI, GitHub PAT, AWS, Stripe, Slack, DB URLs), insecure HTTP/query secrets, unpinned npx/uvx packages, overbroad FS roots (~/.ssh, /etc, /), and privileged/unpinned Docker flags. Supports JSON & JSONC, optional secret redaction (includeSanitized), and SARIF 2.1.0.
audit-rulesagent-rules-audit$0.02Scans AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules, and SKILL.md for Unicode Tag steganography (U+E0000–U+E007F), Bidi Trojan Source overrides, invisible zero-width backdoors (zero false positives on legitimate compound Emoji ZWJ), embedded secrets, piped shell/PowerShell exfiltration payloads, and Context Tax / token bloat.
circuit-breakcircuit-breaker-eval$0.01Evaluates JSON/JSONL agent run logs against hard USD/token caps (exitCode=2) and zero-output ping-pong wake storms (exitCode=3).

Recommended minimum spending cap (minimalMaxTotalChargeUsd): $0.05.

Honest Pay-Per-Event Billing Guarantee

  • Zero false charges: Malformed JSON/JSONC, missing required fields, unsupported actions, or oversized payloads (> 1 MiB / > 100 bundle files) fail strictly before any custom billing event is triggered.
  • Budget ceiling respected: Enforces ACTOR_MAX_TOTAL_CHARGE_USD / APIFY_MAX_TOTAL_CHARGE_USD (including the $0.001 platform start event) before calling the Apify charge endpoint.
  • Idempotent billing: Sends a deterministic idempotency-key per run/event/input hash to prevent duplicate charges on retries.
  • Ultra-low platform compute overhead: Bounded to 128–256 MB RAM on node:24-alpine, completing typical audits in < 0.5s inside the free 5-second start compute window.

Example Input (audit-mcp)

{
"action": "audit-mcp",
"sourceName": ".cursor/mcp.json",
"mcpConfig": "{\"mcpServers\":{\"demo\":{\"command\":\"npx\",\"args\":[\"-y\",\"@modelcontextprotocol/server-filesystem\",\"/\"]}}}",
"includeSarif": true,
"includeSanitized": true
}

Example Input (audit-rules)

{
"action": "audit-rules",
"fileName": "AGENTS.md",
"rulesContent": "# Engineering Rules\nAlways run npm test before pushing.\n",
"maxTokens": 4000,
"includeSarif": true
}

Using via apify-mcp-server (Claude / Cursor / VS Code)

Because this Actor runs with Limited permissions and richly documented input schemas, AI agents connected to Apify's official MCP server (https://mcp.apify.com) automatically discover and invoke mcpguard-security-auditor with action: "audit-repo-bundle", "audit-mcp", "audit-rules", or "circuit-break". Results are written cleanly to both the default Dataset (overview view) and Key-Value Store (OUTPUT).