{
  "manifest_version": "1.0.0",
  "template": {
    "id": "14976164-0603-4457-99ed-338cf7b201cf",
    "slug": "n8n-mcp-mcp-server-for-n8n-workflows",
    "name": "n8n-mcp (MCP Server for n8n Workflows)",
    "description": "MCP server that lets Claude, Cursor & AI agents build and run n8n workflows",
    "url": "https://railway.com/deploy/n8n-mcp-mcp-server-for-n8n-workflows",
    "upstream": {
      "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest"
    }
  },
  "services": [
    {
      "name": "n8n-mcp",
      "source": {
        "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "n8n-mcp",
      "description": "Port the MCP HTTP server listens on",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "MCP_MODE",
      "service": "n8n-mcp",
      "description": "Run as a remote HTTP MCP server",
      "secret": false,
      "strategy": "default",
      "default": "http"
    },
    {
      "key": "LOG_LEVEL",
      "service": "n8n-mcp",
      "description": "Log verbosity: debug, info, warn, error",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "AUTH_TOKEN",
      "service": "n8n-mcp",
      "description": "Bearer token your MCP client must send (generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TRUST_PROXY",
      "service": "n8n-mcp",
      "description": "Trust Railway reverse proxy headers",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "USE_FIXED_HTTP",
      "service": "n8n-mcp",
      "description": "Use the stable HTTP transport implementation",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-mcp-mcp-server-for-n8n-workflows"
      }
    },
    "cli": "railway deploy --template n8n-mcp-mcp-server-for-n8n-workflows",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "14976164-0603-4457-99ed-338cf7b201cf",
            "serializedConfig": {
              "services": {
                "4f82084d-d1c9-43e3-94e1-b468b6fc4067": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/n8n.svg",
                  "name": "n8n-mcp",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "image": "ghcr.io/czlonkowski/n8n-mcp-railway:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the MCP HTTP server listens on",
                      "defaultValue": "3000"
                    },
                    "MCP_MODE": {
                      "isOptional": false,
                      "description": "Run as a remote HTTP MCP server",
                      "defaultValue": "http"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity: debug, info, warn, error",
                      "defaultValue": "info"
                    },
                    "AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Bearer token your MCP client must send (generated)",
                      "defaultValue": "{{AUTH_TOKEN}}"
                    },
                    "N8N_API_KEY": {
                      "isOptional": true,
                      "description": "Optional: n8n API key (Settings → API) for workflow management",
                      "defaultValue": ""
                    },
                    "N8N_API_URL": {
                      "isOptional": true,
                      "description": "Optional: your n8n URL (e.g. https://n8n.example.com) to enable workflow management tools",
                      "defaultValue": ""
                    },
                    "TRUST_PROXY": {
                      "isOptional": false,
                      "description": "Trust Railway reverse proxy headers",
                      "defaultValue": "1"
                    },
                    "USE_FIXED_HTTP": {
                      "isOptional": false,
                      "description": "Use the stable HTTP transport implementation",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:3000": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "n8n-mcp",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-17T22:14:38.342Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-17T19:54:54.908Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1ee408a9cd1c4808b1b3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 79,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "n8n-mcp"
  }
}
