{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/caption-sh/json-schema/caption-sh-mcp-install-token-response-schema.json",
  "title": "McpInstallTokenResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/caption-sh-openapi.json#/components/schemas/McpInstallTokenResponse",
  "type": "object",
  "required": [
    "ok",
    "token",
    "userId",
    "email",
    "mcpUrl",
    "skillsUrl",
    "skillPackRepository",
    "installCommand",
    "skillUrl",
    "clients",
    "installPrompt"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "token": {
      "type": "string",
      "format": "uuid"
    },
    "userId": {
      "type": "string",
      "format": "uuid"
    },
    "email": {
      "type": "string"
    },
    "mcpUrl": {
      "type": "string",
      "format": "uri"
    },
    "skillsUrl": {
      "type": "string",
      "format": "uri"
    },
    "skillPackRepository": {
      "type": "string",
      "format": "uri"
    },
    "installCommand": {
      "type": "string"
    },
    "attributionRecorded": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Null when the non-blocking durable write is still pending."
    },
    "skillUrl": {
      "type": "string",
      "format": "uri"
    },
    "installPrompt": {
      "type": "string"
    },
    "tokenSensitivity": {
      "type": "string"
    },
    "clients": {
      "type": "object",
      "description": "Client-specific setup instructions for Cursor, Codex, Claude Code, Claude hosted chat, Antigravity, ChatGPT, and generic MCP clients.",
      "properties": {
        "cursor": {
          "type": "object"
        },
        "codex": {
          "type": "object"
        },
        "claudeCode": {
          "type": "object"
        },
        "claude": {
          "type": "object"
        },
        "antigravity": {
          "type": "object"
        },
        "chatgpt": {
          "type": "object"
        },
        "generic": {
          "type": "object"
        }
      }
    },
    "mcpHeaders": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}