{
  "manifest_version": "1.0.0",
  "template": {
    "id": "af550700-c778-46eb-bf9a-7e2ca42c49b9",
    "slug": "mcsmanager",
    "name": "MCSManager | Minecraft Server Panel (Paper, Fabric, Forge)",
    "description": "Minecraft server panel: one-click Paper, Fabric, Forge; web console, files",
    "url": "https://railway.com/deploy/mcsmanager",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/mcsmanager-railway"
    }
  },
  "services": [
    {
      "name": "MCSManager",
      "source": {
        "repo": "https://github.com/nomideusz/mcsmanager-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        25565
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "MCSManager",
      "description": "Port the panel listens on behind the Railway domain - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MCSM_LANGUAGE",
      "service": "MCSManager",
      "description": "Panel language on first boot: en_us, zh_cn, zh_tw, ja_jp, ko_kr, de_de, fr_fr, es_es, pt_br, ru_ru, th_th, tr_tr - change it later in Settings",
      "secret": false,
      "strategy": "default",
      "default": "en_us"
    },
    {
      "key": "MCSM_ADMIN_PASSWORD",
      "service": "MCSManager",
      "description": "Password for the panel's 'admin' login, set on first boot only (9-36 chars with a-z, A-Z and 0-9) - change it in the panel afterwards",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "MCSManager",
      "description": "Time to save worlds and stop servers cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "90"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mcsmanager"
      }
    },
    "cli": "railway deploy --template mcsmanager",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "af550700-c778-46eb-bf9a-7e2ca42c49b9",
            "serializedConfig": {
              "services": {
                "c0848470-a9a7-45a4-b8d8-6de943ed2e4c": {
                  "icon": "https://raw.githubusercontent.com/nomideusz/mcsmanager-railway/main/icon.png",
                  "name": "MCSManager",
                  "build": {
                    "dockerfilePath": "Dockerfile"
                  },
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/mcsmanager-railway",
                    "rootDirectory": "/"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the panel listens on behind the Railway domain - leave as is",
                      "defaultValue": "8080"
                    },
                    "MCSM_LANGUAGE": {
                      "isOptional": false,
                      "description": "Panel language on first boot: en_us, zh_cn, zh_tw, ja_jp, ko_kr, de_de, fr_fr, es_es, pt_br, ru_ru, th_th, tr_tr - change it later in Settings",
                      "defaultValue": "en_us"
                    },
                    "MCSM_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the panel's 'admin' login, set on first boot only (9-36 chars with a-z, A-Z and 0-9) - change it in the panel afterwards",
                      "defaultValue": "{{MCSM_ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time to save worlds and stop servers cleanly on redeploy",
                      "defaultValue": "90"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "25565": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "c0848470-a9a7-45a4-b8d8-6de943ed2e4c": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "MCSManager",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-13T16:14:45.508Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-13T13:39:21.743Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_033ae8f0f86546cba2c4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 88,
    "typical_build_seconds": 61,
    "typical_start_seconds": 10,
    "slowest_service": "MCSManager"
  }
}
