Skip to content
View .md

AI agents (MCP) ​

Azot includes a Model Context Protocol (MCP) server over stdio. Connect Claude Desktop, Cursor, or another MCP-compatible client so your agent can inspect links, fetch subtitle transcripts, and download media using your Azot settings and site sign-ins.

Running azot mcp requires Azot Pro and the azot command installed in your PATH.

Setup ​

  1. Install the azot command (turn on Command Line Interface in Settings > About, or install the standalone CLI).
  2. Sign in to your Azot Pro account with azot login (if you are already signed in to Pro in the desktop app, the CLI shares that session automatically).
  3. Add Azot to your client's MCP configuration (or click Copy config next to MCP Server in Settings > About):
json
{
  "mcpServers": {
    "azot": {
      "command": "azot",
      "args": ["mcp"]
    }
  }
}

You can also invoke the same server with azot serve mcp.

Available tools ​

ToolWhat it does
list_extensionsLists built-in, installed, and development extensions with URL patterns, status, and known incidents
inspect_urlInspects a link without downloading: returns episodes or playlist entries, live status, duration, and available video, audio, and subtitle tracks
get_subtitlesFetches existing subtitle text (text, srt, or vtt) for a video or episode without downloading media
downloadDownloads a video, playlist, or episode range into your configured download folder and returns output file paths
list_downloadsLists downloads in Azot's shared history, newest first, with optional status filter and limit
get_downloadShows progress, speed, media details, saved file paths, or error message for one download ID
manage_downloadPauses, resumes, or cancels an active or queued download

Key download options ​

  • url: page URL for a video, playlist, channel, or show.
  • episodes: episode selection such as "S1E1-S1E3", "E4", "S2", or "S1E1-S1E4,S3".
  • quality: target quality such as "1080p" or "720p" (defaults to your saved preference / best available).
  • audioOnly: set true to download audio without video.
  • wait: defaults to true (waits until finished and emits MCP progress notifications). Pass false to queue the download and return immediately, then follow up with get_download.

Downloads started with wait: false stay in Azot's shared SQLite history, so you can monitor or resume them in the desktop app.

Safety guardrails ​

The MCP server enforces several guardrails automatically:

  • Configured folder only: files save only into your configured Azot download folder.
  • No local or private network URLs: requests to loopback or private IP ranges are blocked.
  • No live stream recordings: unbounded live streams are refused.
  • Batch cap: one download call downloads at most 50 videos (pass episodes to select fewer).
  • Non-interactive: background jobs never open interactive prompts or visible browser windows.
  • No deletion of completed files: manage_download can cancel unfinished jobs and clean up partial files, but never deletes completed files.

Released under the MIT License.