{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e2dc82dd-8950-4498-bf8d-efff7051a17a",
    "slug": "kms-tools",
    "name": "KMS Tools",
    "description": "Manages, monitors, and generates activation scripts for Windows & Office.",
    "url": "https://railway.com/deploy/kms-tools",
    "upstream": {
      "image": "ikxin/kms-tools:latest"
    }
  },
  "services": [
    {
      "name": "kms-tools",
      "source": {
        "image": "ikxin/kms-tools:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/.data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "kms-tools",
      "description": "Provide a value for HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PORT",
      "service": "kms-tools",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "NUXT_MONITOR_LIST",
      "service": "kms-tools",
      "description": "Provide a value for NUXT_MONITOR_LIST.",
      "secret": false,
      "strategy": "default",
      "default": "kms.org.cn,win.freekms.cn"
    },
    {
      "key": "NUXT_MONITOR_INTERVAL",
      "service": "kms-tools",
      "description": "Provide a value for NUXT_MONITOR_INTERVAL.",
      "secret": false,
      "strategy": "default",
      "default": "10"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kms-tools"
      }
    },
    "cli": "railway deploy --template kms-tools",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e2dc82dd-8950-4498-bf8d-efff7051a17a",
            "serializedConfig": {
              "services": {
                "0888cce1-2784-4776-9edd-dc10696ec16d": {
                  "name": "kms-tools",
                  "source": {
                    "image": "ikxin/kms-tools:latest"
                  },
                  "variables": {
                    "HOST": {
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "defaultValue": "3000"
                    },
                    "NUXT_MONITOR_LIST": {
                      "defaultValue": "kms.org.cn,win.freekms.cn"
                    },
                    "NUXT_MONITOR_INTERVAL": {
                      "defaultValue": "10"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "0888cce1-2784-4776-9edd-dc10696ec16d": {
                      "mountPath": "/app/.data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-05T00:25:16.307Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c694135b44634208b202",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 122,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "kms-tools"
  }
}
