{
  "name": "refinive",
  "description": "Pay-per-video editing, vertical Shorts, thumbnails, and Premiere/Resolve XML.",
  "endpoint": "https://refinive.com/mcp",
  "auth": {
    "type": "bearer",
    "header": "Authorization"
  },
  "tools": [
    {
      "name": "refinive_quote_job",
      "description": "Calculate USD price in cents for a video editing job given preset, shorts_count, duration_sec, is_4k, and options.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "preset": {
            "type": "string",
            "enum": [
              "highlight_reel",
              "shorts_only"
            ]
          },
          "shorts_count": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10
          },
          "duration_sec": {
            "type": "number",
            "minimum": 0
          },
          "is_4k": {
            "type": "boolean"
          },
          "include_thumbnail": {
            "type": "boolean"
          },
          "include_watermark": {
            "type": "boolean"
          },
          "discount_code": {
            "type": "string"
          }
        },
        "required": [
          "preset",
          "shorts_count"
        ]
      }
    },
    {
      "name": "refinive_list_orders",
      "description": "List recent orders and jobs belonging to the authenticated Refinive user.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          }
        }
      }
    },
    {
      "name": "refinive_get_job_status",
      "description": "Check the current status, QC summary, and deliverables for a Refinive job_id.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "job_id": {
            "type": "string"
          }
        },
        "required": [
          "job_id"
        ]
      }
    },
    {
      "name": "refinive_submit_video",
      "description": "Submit a local file path (in stdio mode), cloud URL, or upload:// URI with an editing brief. Uses prepaid credits automatically if available.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "source_uri": {
            "type": "string"
          },
          "content_description": {
            "type": "string"
          },
          "editing_expectations": {
            "type": "string"
          },
          "preset": {
            "type": "string",
            "enum": [
              "highlight_reel",
              "shorts_only"
            ]
          },
          "shorts_count": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10
          },
          "withdrawal_consent": {
            "type": "boolean",
            "description": "Only needed when the service requires it: true confirms the customer wants editing to start immediately and understands the right of withdrawal ends once the service has been fully performed."
          },
          "include_thumbnail": {
            "type": "boolean"
          },
          "include_watermark": {
            "type": "boolean"
          },
          "include_music": {
            "type": "boolean"
          },
          "include_captions": {
            "type": "boolean"
          },
          "must_include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "start": {
                  "type": "number"
                },
                "end": {
                  "type": "number"
                },
                "label": {
                  "type": "string"
                }
              }
            }
          },
          "webhook_url": {
            "type": "string"
          },
          "discount_code": {
            "type": "string"
          }
        },
        "required": [
          "source_uri",
          "content_description",
          "editing_expectations"
        ]
      }
    },
    {
      "name": "refinive_download_deliverables",
      "description": "Get signed download URLs for a delivered job (and download files locally in stdio mode when output_dir is provided).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "job_id": {
            "type": "string"
          },
          "output_dir": {
            "type": "string"
          }
        },
        "required": [
          "job_id"
        ]
      }
    }
  ]
}