{
  "openapi": "3.1.0",
  "info": {
    "title": "Premiere Pro MCP site API",
    "summary": "Machine-readable endpoints for premiere-mcp.com",
    "description": "Discovery API for Premiere Pro MCP. The editing surface itself is a local stdio MCP server (CLI premiere-pro-mcp, npm adobe-premiere-pro-mcp), not these HTTP routes. Use GET /api/status, /openapi.json, /mcp.json, and /llms.txt to install and call that server.",
    "version": "1.2.7",
    "license": {
      "name": "MIT",
      "url": "https://github.com/hetpatel-11/Adobe_Premiere_Pro_MCP/blob/main/LICENSE.md"
    },
    "contact": {
      "name": "Premiere Pro MCP",
      "url": "https://github.com/hetpatel-11/Adobe_Premiere_Pro_MCP/issues"
    }
  },
  "servers": [
    {
      "url": "https://premiere-mcp.com",
      "description": "Canonical premiere-mcp.com"
    }
  ],
  "tags": [
    {
      "name": "discovery",
      "description": "Install metadata and OpenAPI"
    },
    {
      "name": "mcp",
      "description": "MCP client config and server cards"
    }
  ],
  "paths": {
    "/api/status": {
      "get": {
        "operationId": "getStatus",
        "tags": [
          "discovery"
        ],
        "summary": "Package and CLI status",
        "description": "Returns the published npm package name, CLI binary, version, tool count, and install command for Premiere Pro MCP.",
        "responses": {
          "200": {
            "description": "Current package metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            }
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "getOpenApiJson",
        "tags": [
          "discovery"
        ],
        "summary": "OpenAPI document (JSON)",
        "description": "The OpenAPI 3.1 document for this site. Same document as GET /api/openapi.json.",
        "responses": {
          "200": {
            "description": "OpenAPI 3.1 JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/api/openapi.yaml": {
      "get": {
        "operationId": "getOpenApiYaml",
        "tags": [
          "discovery"
        ],
        "summary": "OpenAPI document (YAML)",
        "description": "YAML serialization of the same OpenAPI 3.1 document.",
        "responses": {
          "200": {
            "description": "OpenAPI 3.1 YAML",
            "content": {
              "application/yaml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsTxt",
        "tags": [
          "discovery"
        ],
        "summary": "Agent instruction file",
        "description": "llms.txt for Premiere Pro MCP: when to use it, install commands, and canonical links.",
        "responses": {
          "200": {
            "description": "Plain-text agent instructions",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/mcp.json": {
      "get": {
        "operationId": "getMcpClientConfig",
        "tags": [
          "mcp"
        ],
        "summary": "MCP client config snippet",
        "description": "JSON a local MCP client can merge: mcpServers.premiere-pro.command = premiere-pro-mcp.",
        "responses": {
          "200": {
            "description": "mcpServers config",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpClientConfig"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp/server-card.json": {
      "get": {
        "operationId": "getMcpServerCard",
        "tags": [
          "mcp"
        ],
        "summary": "MCP server card",
        "description": "SEP-1649-style server card. Transport is local stdio via the npm CLI, not Streamable HTTP.",
        "responses": {
          "200": {
            "description": "Server card JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpServerCard"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp": {
      "get": {
        "operationId": "getMcpManifest",
        "tags": [
          "mcp"
        ],
        "summary": "MCP discovery manifest",
        "description": "SEP-1960-style manifest enumerating the local stdio endpoint.",
        "responses": {
          "200": {
            "description": "Manifest JSON",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpManifest"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Status": {
        "type": "object",
        "required": [
          "name",
          "package",
          "cli",
          "version",
          "tools",
          "homepage",
          "install"
        ],
        "properties": {
          "name": {
            "type": "string",
            "examples": [
              "Premiere Pro MCP"
            ]
          },
          "package": {
            "type": "string",
            "examples": [
              "adobe-premiere-pro-mcp"
            ]
          },
          "cli": {
            "type": "string",
            "examples": [
              "premiere-pro-mcp"
            ]
          },
          "version": {
            "type": "string",
            "examples": [
              "1.2.7"
            ]
          },
          "tools": {
            "type": "integer",
            "examples": [
              283
            ]
          },
          "homepage": {
            "type": "string",
            "format": "uri"
          },
          "docs": {
            "type": "string",
            "format": "uri"
          },
          "openapi": {
            "type": "string",
            "format": "uri"
          },
          "repository": {
            "type": "string",
            "format": "uri"
          },
          "npm": {
            "type": "string",
            "format": "uri"
          },
          "install": {
            "type": "string"
          }
        }
      },
      "McpClientConfig": {
        "type": "object",
        "required": [
          "mcpServers"
        ],
        "properties": {
          "mcpServers": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "required": [
                "command"
              ],
              "properties": {
                "command": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "McpServerCard": {
        "type": "object",
        "required": [
          "version",
          "protocolVersion",
          "serverInfo",
          "transport"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "protocolVersion": {
            "type": "string"
          },
          "serverInfo": {
            "type": "object",
            "required": [
              "name",
              "title",
              "description"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            }
          },
          "transport": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "examples": [
                  "stdio"
                ]
              },
              "command": {
                "type": "string"
              }
            }
          }
        }
      },
      "McpManifest": {
        "type": "object",
        "required": [
          "mcp_version",
          "endpoints"
        ],
        "properties": {
          "mcp_version": {
            "type": "string"
          },
          "endpoints": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "transport"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "transport": {
                  "type": "string"
                },
                "command": {
                  "type": "string"
                },
                "package": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message",
              "hint"
            ],
            "properties": {
              "code": {
                "type": "string",
                "examples": [
                  "not_found"
                ]
              },
              "message": {
                "type": "string"
              },
              "hint": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  },
  "externalDocs": {
    "description": "Install docs for Premiere Pro MCP",
    "url": "https://premiere-mcp.com/docs/"
  }
}
