{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.flow-84/n8n-guard",
  "slug": "io.github.flow-84.n8n-guard",
  "title": "n8n-guard",
  "summary": "Read-only health checks for self-hosted n8n: datastore growth, stuck runs, retention, git drift.",
  "version": "0.1.0",
  "serverKey": "n8n-guard",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.flow-84.n8n-guard",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.flow-84.n8n-guard/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T10:24:38.450734809Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "n8n-guard@0.1.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add n8n-guard -- npx -y n8n-guard@0.1.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"n8n-guard\": {\n      \"args\": [\n        \"-y\",\n        \"n8n-guard@0.1.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"n8n-guard\": {\n      \"args\": [\n        \"-y\",\n        \"n8n-guard@0.1.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"n8n-guard\": {\n      \"args\": [\n        \"-y\",\n        \"n8n-guard@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.n8n-guard]\ncommand = \"npx\"\nargs = [\"-y\", \"n8n-guard@0.1.0\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "N8N_URL",
      "required": false,
      "secret": false,
      "description": "Base URL of the n8n instance. Defaults to http://localhost:5678.",
      "help": "Base URL of the n8n instance. Defaults to http://localhost:5678.",
      "placeholder": "<N8N_URL>"
    },
    {
      "name": "N8N_API_KEY",
      "required": false,
      "secret": true,
      "description": "n8n Public API key. Required for the execution and workflow checks.",
      "help": "n8n Public API key. Required for the execution and workflow checks.",
      "placeholder": "<N8N_API_KEY>"
    },
    {
      "name": "N8N_SQLITE_PATH",
      "required": false,
      "secret": false,
      "description": "Path to the n8n database.sqlite file. Required for datastore checks on SQLite.",
      "help": "Path to the n8n database.sqlite file. Required for datastore checks on SQLite.",
      "placeholder": "<N8N_SQLITE_PATH>"
    },
    {
      "name": "N8N_POSTGRES_URL",
      "required": false,
      "secret": true,
      "description": "Postgres connection string. Takes precedence over N8N_SQLITE_PATH.",
      "help": "Postgres connection string. Takes precedence over N8N_SQLITE_PATH.",
      "placeholder": "<N8N_POSTGRES_URL>"
    },
    {
      "name": "N8N_GIT_REPO_PATH",
      "required": false,
      "secret": false,
      "description": "Checkout holding exported workflow JSON. Required for the git drift check.",
      "help": "Checkout holding exported workflow JSON. Required for the git drift check.",
      "placeholder": "<N8N_GIT_REPO_PATH>"
    },
    {
      "name": "N8N_GUARD_STUCK_MINUTES",
      "required": false,
      "secret": false,
      "description": "Minutes a run may stay in `running` before it counts as stuck. Defaults to 15.",
      "help": "Minutes a run may stay in `running` before it counts as stuck. Defaults to 15.",
      "placeholder": "<N8N_GUARD_STUCK_MINUTES>"
    },
    {
      "name": "N8N_GUARD_DB_WARN_BYTES",
      "required": false,
      "secret": false,
      "description": "Datastore warning threshold in bytes. Defaults to 1073741824 (1 GB).",
      "help": "Datastore warning threshold in bytes. Defaults to 1073741824 (1 GB).",
      "placeholder": "<N8N_GUARD_DB_WARN_BYTES>"
    },
    {
      "name": "N8N_GUARD_DB_CRITICAL_BYTES",
      "required": false,
      "secret": false,
      "description": "Datastore critical threshold in bytes. Defaults to 4294967296 (4 GB).",
      "help": "Datastore critical threshold in bytes. Defaults to 4294967296 (4 GB).",
      "placeholder": "<N8N_GUARD_DB_CRITICAL_BYTES>"
    },
    {
      "name": "N8N_GUARD_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Per-request API timeout in milliseconds. Defaults to 15000.",
      "help": "Per-request API timeout in milliseconds. Defaults to 15000.",
      "placeholder": "<N8N_GUARD_TIMEOUT_MS>"
    }
  ],
  "expectedTools": [
    "instance_info",
    "db_health",
    "stuck_executions",
    "retention_report",
    "git_drift",
    "guard_run"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: instance_info, db_health, stuck_executions, retention_report, git_drift, guard_run.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T10:24:38.450734809Z"
}
