A

Agentic Video

by tlq5l · io.github.tlq5l/agentic-video

Enables AI agents that read text and images to work with local video files by providing measurements, timestamped contact sheets, transcripts, cut and loudness checks, sync analysis, and searchable visual or audio events over MCP.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-tlq5l-agentic-video": {
      "command": "uvx",
      "args": [
        "agentic-video"
      ],
      "env": {
        "PYTHONPATH": "<VALUE>",
        "CLOUDFLARE_API_TOKEN": "<VALUE>",
        "AGENTIC_VIDEO_EG2_DIR": "<VALUE>",
        "CLOUDFLARE_ACCOUNT_ID": "<VALUE>",
        "AGENTIC_VIDEO_CACHE_DIR": "<VALUE>",
        "AGENTIC_VIDEO_EG2_PYTHON": "<VALUE>",
        "AGENTIC_VIDEO_INLINE_IMAGES": "0",
        "AGENTIC_VIDEO_CF_TOKEN_COMMAND": "<VALUE>",
        "AGENTIC_VIDEO_WHISPER_CPP_MODEL": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-tlq5l-agentic-video": {
      "command": "uvx",
      "args": [
        "agentic-video"
      ],
      "env": {
        "PYTHONPATH": "<VALUE>",
        "CLOUDFLARE_API_TOKEN": "<VALUE>",
        "AGENTIC_VIDEO_EG2_DIR": "<VALUE>",
        "CLOUDFLARE_ACCOUNT_ID": "<VALUE>",
        "AGENTIC_VIDEO_CACHE_DIR": "<VALUE>",
        "AGENTIC_VIDEO_EG2_PYTHON": "<VALUE>",
        "AGENTIC_VIDEO_INLINE_IMAGES": "0",
        "AGENTIC_VIDEO_CF_TOKEN_COMMAND": "<VALUE>",
        "AGENTIC_VIDEO_WHISPER_CPP_MODEL": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-tlq5l-agentic-video": {
      "command": "uvx",
      "args": [
        "agentic-video"
      ],
      "env": {
        "PYTHONPATH": "<VALUE>",
        "CLOUDFLARE_API_TOKEN": "<VALUE>",
        "AGENTIC_VIDEO_EG2_DIR": "<VALUE>",
        "CLOUDFLARE_ACCOUNT_ID": "<VALUE>",
        "AGENTIC_VIDEO_CACHE_DIR": "<VALUE>",
        "AGENTIC_VIDEO_EG2_PYTHON": "<VALUE>",
        "AGENTIC_VIDEO_INLINE_IMAGES": "0",
        "AGENTIC_VIDEO_CF_TOKEN_COMMAND": "<VALUE>",
        "AGENTIC_VIDEO_WHISPER_CPP_MODEL": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-tlq5l-agentic-video": {
      "command": "uvx",
      "args": [
        "agentic-video"
      ],
      "env": {
        "PYTHONPATH": "<VALUE>",
        "CLOUDFLARE_API_TOKEN": "<VALUE>",
        "AGENTIC_VIDEO_EG2_DIR": "<VALUE>",
        "CLOUDFLARE_ACCOUNT_ID": "<VALUE>",
        "AGENTIC_VIDEO_CACHE_DIR": "<VALUE>",
        "AGENTIC_VIDEO_EG2_PYTHON": "<VALUE>",
        "AGENTIC_VIDEO_INLINE_IMAGES": "0",
        "AGENTIC_VIDEO_CF_TOKEN_COMMAND": "<VALUE>",
        "AGENTIC_VIDEO_WHISPER_CPP_MODEL": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-tlq5l-agentic-video": {
      "command": "uvx",
      "args": [
        "agentic-video"
      ],
      "env": {
        "PYTHONPATH": "<VALUE>",
        "CLOUDFLARE_API_TOKEN": "<VALUE>",
        "AGENTIC_VIDEO_EG2_DIR": "<VALUE>",
        "CLOUDFLARE_ACCOUNT_ID": "<VALUE>",
        "AGENTIC_VIDEO_CACHE_DIR": "<VALUE>",
        "AGENTIC_VIDEO_EG2_PYTHON": "<VALUE>",
        "AGENTIC_VIDEO_INLINE_IMAGES": "0",
        "AGENTIC_VIDEO_CF_TOKEN_COMMAND": "<VALUE>",
        "AGENTIC_VIDEO_WHISPER_CPP_MODEL": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-tlq5l-agentic-video": {
      "command": "uvx",
      "args": [
        "agentic-video"
      ],
      "env": {
        "PYTHONPATH": "<VALUE>",
        "CLOUDFLARE_API_TOKEN": "<VALUE>",
        "AGENTIC_VIDEO_EG2_DIR": "<VALUE>",
        "CLOUDFLARE_ACCOUNT_ID": "<VALUE>",
        "AGENTIC_VIDEO_CACHE_DIR": "<VALUE>",
        "AGENTIC_VIDEO_EG2_PYTHON": "<VALUE>",
        "AGENTIC_VIDEO_INLINE_IMAGES": "0",
        "AGENTIC_VIDEO_CF_TOKEN_COMMAND": "<VALUE>",
        "AGENTIC_VIDEO_WHISPER_CPP_MODEL": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
PYTHONPATH No Absolute path to the agentic-video repository, so the server can be started with `-m src.executor.mcp_server` from any folder.
CLOUDFLARE_API_TOKEN No Cloudflare API token with Workers AI access, required only for the optional cloud tools `watch_for` and `label_sounds` (or use AGENTIC_VIDEO_CF_TOKEN_COMMAND instead).
AGENTIC_VIDEO_EG2_DIR No Path to the EmbeddingGemma 2 Core ML model folder, enabling semantic (meaning-based) transcript search in `search_transcript` (macOS, optional).
CLOUDFLARE_ACCOUNT_ID No Cloudflare account id, required only for the optional cloud tools `watch_for` and `label_sounds`.
AGENTIC_VIDEO_CACHE_DIR No Directory for cached results. Defaults to ~/.cache/agentic-video.
AGENTIC_VIDEO_EG2_PYTHON No Path to an interpreter with coremltools, tokenizers and numpy, used for EmbeddingGemma 2 semantic transcript search (optional, used together with AGENTIC_VIDEO_EG2_DIR).
AGENTIC_VIDEO_INLINE_IMAGES No Set to 1 to include base64 images in tool results instead of only the JPEG file_path. By default images come back as files (AGENTIC_VIDEO_INLINE_IMAGES unset/0). Default: 0
AGENTIC_VIDEO_CF_TOKEN_COMMAND No Command whose last printed line is the Cloudflare API token (for example `wrangler auth token`). Alternative to CLOUDFLARE_API_TOKEN for the optional cloud tools; runs at most once every 50 minutes.
AGENTIC_VIDEO_WHISPER_CPP_MODEL No Path to the whisper.cpp model file (e.g. ggml-large-v3-turbo-q5_0.bin) if kept somewhere other than ~/.cache/whisper.cpp. When whisper.cpp is installed, `turbo` becomes the default transcribe model.

Similar servers