{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b12dc039-9fee-4e80-b975-58e413312dfb",
    "slug": "n8n-mcp-2",
    "name": "n8n-MCP",
    "description": "n8n-MCP for dev/prod use. by czlonkowski",
    "url": "https://railway.com/deploy/n8n-mcp-2",
    "upstream": {
      "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest"
    }
  },
  "services": [
    {
      "name": "czlonkowski/n8n-mcp-railway:latest",
      "source": {
        "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Listen on all interfaces",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "MCP_MODE",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "http",
      "secret": false,
      "strategy": "default",
      "default": "http"
    },
    {
      "key": "N8N_MODE",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Enable n8n integration mode for MCP Client Tool",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NODE_ENV",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Production optimizations",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "LOG_LEVEL",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Balanced logging",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "AUTH_TOKEN",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Generate with: openssl rand -base64 32",
      "secret": true,
      "strategy": "default",
      "default": "REPLACE_THIS..."
    },
    {
      "key": "CORS_ORIGIN",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Allow any origin",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "N8N_API_KEY",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "API key from n8n Settings → API",
      "secret": true,
      "strategy": "default",
      "default": "-"
    },
    {
      "key": "N8N_API_URL",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "URL of your n8n instance (for workflow management). no slash at the end",
      "secret": false,
      "strategy": "default",
      "default": "REPLACE THIS. "
    },
    {
      "key": "TRUST_PROXY",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Railway runs behind proxy",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "AUTH_RATE_LIMIT_MAX",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Max auth attempts (v2.16.3+)",
      "secret": false,
      "strategy": "default",
      "default": "20"
    },
    {
      "key": "WEBHOOK_SECURITY_MODE",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "SSRF protection mode (v2.16.3+)",
      "secret": false,
      "strategy": "default",
      "default": "strict"
    },
    {
      "key": "AUTH_RATE_LIMIT_WINDOW",
      "service": "czlonkowski/n8n-mcp-railway:latest",
      "description": "Rate limit window (v2.16.3+)",
      "secret": false,
      "strategy": "default",
      "default": "900000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-mcp-2"
      }
    },
    "cli": "railway deploy --template n8n-mcp-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b12dc039-9fee-4e80-b975-58e413312dfb",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "95891047-c0a4-4abc-aef6-1f3cb4d89783": {
                  "icon": "https://devicons.railway.com/i/n8n.svg",
                  "name": "czlonkowski/n8n-mcp-railway:latest",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest"
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": true,
                      "description": "Listen on all interfaces",
                      "defaultValue": "0.0.0.0"
                    },
                    "MCP_MODE": {
                      "isOptional": true,
                      "description": "http",
                      "defaultValue": "http"
                    },
                    "N8N_MODE": {
                      "isOptional": true,
                      "description": "Enable n8n integration mode for MCP Client Tool",
                      "defaultValue": "true"
                    },
                    "NODE_ENV": {
                      "isOptional": true,
                      "description": "Production optimizations",
                      "defaultValue": "production"
                    },
                    "LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Balanced logging",
                      "defaultValue": "info"
                    },
                    "AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Generate with: openssl rand -base64 32",
                      "defaultValue": "REPLACE_THIS..."
                    },
                    "CORS_ORIGIN": {
                      "isOptional": true,
                      "description": "Allow any origin",
                      "defaultValue": "*"
                    },
                    "N8N_API_KEY": {
                      "isOptional": false,
                      "description": "API key from n8n Settings → API",
                      "defaultValue": "-"
                    },
                    "N8N_API_URL": {
                      "isOptional": false,
                      "description": "URL of your n8n instance (for workflow management). no slash at the end",
                      "defaultValue": "REPLACE THIS. "
                    },
                    "TRUST_PROXY": {
                      "isOptional": true,
                      "description": "Railway runs behind proxy",
                      "defaultValue": "1"
                    },
                    "AUTH_RATE_LIMIT_MAX": {
                      "isOptional": true,
                      "description": "Max auth attempts (v2.16.3+)",
                      "defaultValue": "20"
                    },
                    "WEBHOOK_SECURITY_MODE": {
                      "isOptional": true,
                      "description": "SSRF protection mode (v2.16.3+)",
                      "defaultValue": "strict"
                    },
                    "AUTH_RATE_LIMIT_WINDOW": {
                      "isOptional": false,
                      "description": "Rate limit window (v2.16.3+)",
                      "defaultValue": "900000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T13:42:36.018Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_4b7dd06ef1224dd9a0d5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 36,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "czlonkowski/n8n-mcp-railway:latest"
  }
}
