Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.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
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).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
.mcp.json (project) or %USERPROFILE%\.claude.json (global).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
.vscode\mcp.json.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
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.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
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.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.
| Name | Required | Description |
|---|---|---|
| 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. |