Integration
Video Download MCP for Codex
Configure the remote HTTP server in ~/.codex/config.toml. Codex reads the dedicated key from the named environment variable; no local stdio package is needed.
Provide the key privately
Run this in Bash, enter the key at the hidden prompt, then press Enter. Save the configuration below before launching the client from the same terminal.
# Bash: enter the dedicated key only at the hidden prompt.
read -rsp 'VideoDownload API key: ' VIDEODOWNLOAD_API_KEY
export VIDEODOWNLOAD_API_KEY
# Save the client config, then launch that client from this terminal.[mcp_servers.videodownload]
url = "https://videodownloadmcp.com/mcp"
bearer_token_env_var = "VIDEODOWNLOAD_API_KEY"Merge this section with existing configuration. The value names the variable; do not paste a key into this field.
Steps
- 01Create a dedicated key and supply it through the hidden Bash input below.
- 02Add the remote configuration to ~/.codex/config.toml, preserving existing servers.
- 03Launch codex from the same terminal. Check the MCP connection and six available tools before requesting a download.
- 04Resolve a public URL first. Create one job using a returned format, keep its job_id and poll to a terminal status, then save the ready file before expires_at.
Limits that still apply
- The remote MCP path needs no local yt-dlp, ffmpeg, or unpublished npm package.
- The optional Skill belongs in ~/.agents/skills/video-download/SKILL.md for current Codex. MCP configuration and Skill installation are separate steps.
- A key is associated with one account. Each new download job can reserve another credit; polling an existing job does not create another download.
FAQ
Does Codex need ffmpeg?+
No. The hosted worker handles video merging and audio conversion; the client receives a temporary signed file URL.
Why is the environment variable not found?+
The client must start with VIDEODOWNLOAD_API_KEY in its own environment. Setting it after the app starts, or in an unrelated terminal, does not update that process. Check the environment and restart the client.