Browse developer docs

MCP

Connect an AI client

Use the stateless Streamable HTTP endpoint and authenticate every request with your Bearer key: https://video2url.com/api/mcp.

MCP client configuration
{"mcpServers":{"video2url":{"url":"https://video2url.com/api/mcp","headers":{"Authorization":"Bearer <YOUR_API_KEY>"}}}}

Available tools

  • create_uploadRequires filename, MIME type, and size in bytes; returns a presigned URL.
  • complete_uploadRequires uploadId after the raw-file PUT succeeds.
  • get_upload_statusRequires uploadId and returns upload status plus the file record when ready.
  • create_share_linkRequires fileId; title, visibility, and password are optional, with visibility defaulting to unlisted.
  • get_share_linkRequires shareId and returns a share link owned by the authenticated user.
  • revoke_share_linkRequires shareId and revokes a share link owned by the authenticated user.

For uploads, follow this sequence: create_uploadPUT complete_upload.