{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0098eb9b-7a7e-45cf-8f73-c645d5afdbc8",
    "slug": "cursor-agent-machine",
    "name": "Cursor Agent Machine",
    "description": "Cursor Agent Machine hosted on railway",
    "url": "https://railway.com/deploy/cursor-agent-machine",
    "upstream": {
      "repo_url": "https://github.com/roadmap-ai/railway-cursor-agent-worker"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Cursor Agent Machine",
      "source": {
        "repo": "https://github.com/roadmap-ai/railway-cursor-agent-worker"
      },
      "needs_volume": true,
      "volume_mount_path": "/workspace",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REPO_URL",
      "service": "Cursor Agent Machine",
      "description": " Git clone URL for the single repo this worker serves. Example: https://github.com/you/your-repo.git",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GIT_TOKEN",
      "service": "Cursor Agent Machine",
      "description": "Personal access token / deploy token with read",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WORKER_NAME",
      "service": "Cursor Agent Machine",
      "description": "Cursor Machine Name. This is what will appear on your cursor \"My Machines\" dasbhoard",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GIT_USERNAME",
      "service": "Cursor Agent Machine",
      "description": "Username to use for all git commands",
      "secret": false,
      "strategy": "default",
      "default": "x-access-token"
    },
    {
      "key": "CURSOR_API_KEY",
      "service": "Cursor Agent Machine",
      "description": " Personal user API key from https://cursor.com/dashboard/api",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cursor-agent-machine"
      }
    },
    "cli": "railway deploy --template cursor-agent-machine",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0098eb9b-7a7e-45cf-8f73-c645d5afdbc8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "b6ac102f-cfcb-4870-adc8-0598c769c05d": {
                  "icon": "https://raw.githubusercontent.com/roadmap-ai/railway-cursor-agent-worker/main/docs/images/cursor-icon.png",
                  "name": "Cursor Agent Machine",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/roadmap-ai/railway-cursor-agent-worker",
                    "rootDirectory": null
                  },
                  "variables": {
                    "REPO_URL": {
                      "isOptional": false,
                      "description": " Git clone URL for the single repo this worker serves. Example: https://github.com/you/your-repo.git",
                      "defaultValue": "{{REPO_URL}}"
                    },
                    "GIT_TOKEN": {
                      "isOptional": false,
                      "description": "Personal access token / deploy token with read",
                      "defaultValue": "{{GIT_TOKEN}}"
                    },
                    "WORKER_NAME": {
                      "isOptional": true,
                      "description": "Cursor Machine Name. This is what will appear on your cursor \"My Machines\" dasbhoard",
                      "defaultValue": "${{RAILWAY_SERVICE_NAME}}"
                    },
                    "GIT_USERNAME": {
                      "isOptional": true,
                      "description": "Username to use for all git commands",
                      "defaultValue": "x-access-token"
                    },
                    "CURSOR_API_KEY": {
                      "isOptional": false,
                      "description": " Personal user API key from https://cursor.com/dashboard/api",
                      "defaultValue": "{{CURSOR_API_KEY}}"
                    }
                  },
                  "volumeMounts": {
                    "b6ac102f-cfcb-4870-adc8-0598c769c05d": {
                      "mountPath": "/workspace"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0"
}
