Skip to main content
Glama

HookTriage CLI & Zero-Trust MCP Server

Audit n8n workflows, Shopify/Stripe webhook configs, and AI Agent pipelines directly inside your terminal or AI IDE (Cursor, Claude Code, Antigravity, Windsurf) with 0 bytes uploaded.


⚡ Instant Usage (Zero Install)

npx -y github:grinem/hooktriage scan ./my-workflow.json

JSON output for CI checks:

npx -y github:grinem/hooktriage scan ./my-workflow.json --json

Related MCP server: n8n Workflow Security Scanner

🔧 Pro Auto-Patch (fix) — 100% Offline

Free audit (always free, MIT):

npx -y github:grinem/hooktriage audit ./my-workflow.json

One-command auto-hardening of your own workflow (timeouts, retry/backoff, errorWorkflow, DLQ error branches, PII scrubber) — license key included in the Pro Kit:

npx -y github:grinem/hooktriage fix ./my-workflow.json --key=HT-PRO-...

The key is verified locally with an Ed25519 public key: 0 network calls, 0 bytes uploaded.


🧱 Community Edition Blueprints (free, import in n8n via Import from URL)

Blueprint

Import URL

Production Error Handler — Zero-Trust PII Scrubber, DLQ & Exponential Backoff

https://raw.githubusercontent.com/grinem/hooktriage/main/templates-community/01_production_error_handler_zero_trust_scrubber.json

Stripe & Shopify Webhook Idempotency Guard & HMAC Signature Verifier

https://raw.githubusercontent.com/grinem/hooktriage/main/templates-community/02_stripe_shopify_webhook_idempotency_hmac_guard.json

AI Agent JSON Schema Enforcer, Fallback Router & Rate-Limit Circuit Breaker

https://raw.githubusercontent.com/grinem/hooktriage/main/templates-community/03_ai_agent_json_schema_enforcer_circuit_breaker.json


🤖 Use as an MCP Server in Cursor / Claude Code / Antigravity

Add this to your MCP configuration (mcp.json / .cursor/mcp.json):

{
  "mcpServers": {
    "hooktriage": {
      "command": "npx",
      "args": ["-y", "github:grinem/hooktriage", "--mcp"]
    }
  }
}

Exposes the local read-only tool scan_n8n_workflow_json which detects:

  • Missing settings.errorWorkflow (silent runtime drops)

  • External API/LLM nodes missing options.timeout

  • Missing retryOnFail on HTTP 429 / 502 boundaries

  • Synchronous webhook responders violating 5s upstream cutoffs (Shopify/Stripe)

  • AI Agent nodes returning empty [] / broken JSON without downstream IF guards


🧩 1-Click AI Agent Skill (Claude Code, Cursor, Copilot, 20+ Agents)

Install the verified, security-scanned HookTriage skill directly into your AI coding agent via Agensi (Free):


📸 Before vs. After (Real Local Audit & Hardened Blueprint)

HookTriage CLI Before and After

Shopify Order Webhook Guard Blueprint

🚀 Skip Manual Hardening — HookTriage Pro Kit ($27 One-Time)

Get 4 ready-to-import hardened n8n v1.x JSON blueprints (HMAC-SHA256 verification, <5s Shopify ACK, 300s Stripe replay protection, 24h idempotency, AI Agent circuit breaker & Dead-Letter Queue):


🔗 Companion Resources

📄 License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI-powered building, optimization, debugging, and management of n8n workflows directly from Claude. Features workflow analysis, execution monitoring, security audits, drift detection, and intelligent error debugging with best practices guidance.
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Lints n8n workflow exports and returns machine-readable findings with per-rule fixes, helping agents and reviewers catch reliability gaps such as missing error workflows, retries that swallow errors, unauthenticated webhooks, and hardcoded secrets without sending data anywhere.
      3
      MIT