{
  "version": "1",
  "name": "Stackr",
  "origin": "https://stackr.grasany.com",
  "docs": "https://stackr.grasany.com/ai",
  "discovery": {
    "guide": "https://stackr.grasany.com/llms.txt",
    "openapi": "https://stackr.grasany.com/stackr-openapi.yaml",
    "publicMcp": "https://stackr.grasany.com/api/mcp"
  },
  "workloads": {
    "starter": ["business-site-v1", "landing-page-v1", "status-api-v1"],
    "static": {
      "artifact": "ZIP of locally or CI-built files with index.html at the root",
      "maxArchiveBytes": 524288,
      "maxUnpackedBytes": 1048576,
      "maxFiles": 40,
      "maxFileBytes": 262144,
      "assetAffinity": "Mark eligible HTML asset links with data-stackr-release and stage with --asset-affinity."
    }
  },
  "cli": {
    "install": "npm install -g https://stackr.grasany.com/grasany-stackr-cli-0.13.0.tgz",
    "node": ">=22",
    "projectCredentials": ["STACKR_DEPLOY_URL", "STACKR_DEPLOY_TOKEN"],
    "staging": {
      "starter": "stackr stage launch.json",
      "static": "stackr deploy-static site.zip",
      "builtDirectory": "stackr launch dist",
      "retainedStaticRelease": "stackr copy-release RELEASE_ID"
    },
    "preview": "stackr preview RELEASE_ID",
    "smoke": "stackr smoke RELEASE_ID --contains EXPECTED_TEXT",
    "releaseHistory": "stackr releases",
    "publish": "stackr promote RELEASE_ID",
    "rollback": "stackr promote PREVIOUS_RELEASE_ID",
    "publishRequiresExplicitAuthorization": true
  },
  "projectMcp": {
    "endpointTemplate": "https://stackr.grasany.com/api/projects/{projectId}/mcp",
    "transport": "Streamable HTTP",
    "credentialEnvironmentVariable": "STACKR_AGENT_TOKEN",
    "tools": ["stackr_get_usage", "stackr_list_releases", "stackr_list_release_events", "stackr_check_release", "stackr_inspect_release_checks", "stackr_get_rollout_metrics", "stackr_list_rollout_history", "stackr_stage_starter"]
  }
}
