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
- Install the
azotcommand (turn on Command Line Interface in Settings > About, or install the standalone CLI). - 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). - 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
| Tool | What it does |
|---|---|
list_extensions | Lists built-in, installed, and development extensions with URL patterns, status, and known incidents |
inspect_url | Inspects a link without downloading: returns episodes or playlist entries, live status, duration, and available video, audio, and subtitle tracks |
get_subtitles | Fetches existing subtitle text (text, srt, or vtt) for a video or episode without downloading media |
download | Downloads a video, playlist, or episode range into your configured download folder and returns output file paths |
list_downloads | Lists downloads in Azot's shared history, newest first, with optional status filter and limit |
get_download | Shows progress, speed, media details, saved file paths, or error message for one download ID |
manage_download | Pauses, 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: settrueto download audio without video.wait: defaults totrue(waits until finished and emits MCP progress notifications). Passfalseto queue the download and return immediately, then follow up withget_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
downloadcall downloads at most 50 videos (passepisodesto select fewer). - Non-interactive: background jobs never open interactive prompts or visible browser windows.
- No deletion of completed files:
manage_downloadcan cancel unfinished jobs and clean up partial files, but never deletes completed files.