{
  "version": 3,
  "summary": "Magic Hour provides AI video, image, and audio generation through a REST API and a hosted MCP server.",
  "credentials": {
    "magic-hour-api-key": {
      "type": "bearer",
      "label": "Magic Hour API key",
      "generateUrl": "https://magichour.ai/developer?tab=api-keys",
      "setup": "Create an API key in the Magic Hour Developer Hub. Send it as a bearer token and keep it out of source control."
    },
    "magic-hour-oauth": {
      "type": "oauth2",
      "label": "Magic Hour MCP OAuth",
      "setup": "Connect to the hosted MCP endpoint. Compatible MCP clients discover the authorization server and complete the OAuth flow automatically."
    }
  },
  "surfaces": [
    {
      "type": "http",
      "slug": "magic-hour-api",
      "name": "Magic Hour REST API",
      "docs": "https://docs.magichour.ai/",
      "spec": "https://magichour.ai/openapi.json",
      "url": "https://api.magichour.ai/v1",
      "basis": {
        "via": "declared",
        "source": "https://magichour.ai/.well-known/integrations.json"
      },
      "auth": {
        "status": "required",
        "entries": [
          {
            "use": [
              {
                "id": "magic-hour-api-key",
                "mechanics": {
                  "source": "http",
                  "in": "header",
                  "headerName": "Authorization",
                  "scheme": "Bearer"
                }
              }
            ],
            "basis": {
              "via": "declared",
              "source": "https://magichour.ai/.well-known/integrations.json"
            }
          }
        ]
      }
    },
    {
      "type": "mcp",
      "slug": "magic-hour-mcp",
      "name": "Magic Hour MCP",
      "docs": "https://magichour.ai/mcp",
      "url": "https://mcp.magichour.ai/",
      "transports": [
        "streamable-http"
      ],
      "basis": {
        "via": "declared",
        "source": "https://magichour.ai/.well-known/integrations.json"
      },
      "auth": {
        "status": "required",
        "entries": [
          {
            "use": [
              {
                "id": "magic-hour-oauth",
                "mechanics": {
                  "source": "well-known"
                }
              }
            ],
            "basis": {
              "via": "declared",
              "source": "https://magichour.ai/.well-known/integrations.json"
            }
          },
          {
            "use": [
              {
                "id": "magic-hour-api-key",
                "mechanics": {
                  "source": "http",
                  "in": "header",
                  "headerName": "Authorization",
                  "scheme": "Bearer"
                }
              }
            ],
            "basis": {
              "via": "declared",
              "source": "https://magichour.ai/.well-known/integrations.json"
            }
          }
        ]
      }
    }
  ]
}
