Troubleshooting
The MCP server doesn’t start
Section titled “The MCP server doesn’t start”Check that the package is installed globally:
npm ls -g video-context-mcp-serverIf it’s missing, install it:
npm install -g video-context-mcp-serverCheck that Node.js 20+ is installed:
node --versionVS Code: Make sure your .vscode/mcp.json is valid JSON and the command field is video-context-mcp. The shorter vmcp alias is available for CLI/cache commands, but video-context-mcp is the config value shown in the setup docs.
”No API key configured” error
Section titled “”No API key configured” error”The server needs at least one video API key. Check that the env block in your MCP config file contains at least one of: Z_AI_API_KEY, GEMINI_API_KEY, DASHSCOPE_API_KEY, MOONSHOT_API_KEY, MIMO_API_KEY, or MINIMAX_API_KEY.
See Getting Started and Video Providers for details.
All providers fail / rate-limited
Section titled “All providers fail / rate-limited”If you only have one API key and that provider is temporarily unavailable, all tools will fail. Add keys for additional providers to enable the fallback chain — Gemini has a free tier with no credit card required.
See Video Providers for the fallback chain and API key links.
A model override is ignored or reset to the default
Section titled “A model override is ignored or reset to the default”Several model environment variables only accept a fixed set of model IDs. When the value is not supported, the server falls back to the default model instead of failing the tool call. GEMINI_MODEL and GLM_MODEL also log a one-time warning to stderr.
| Variable | Accepted values | Fallback default |
|---|---|---|
GEMINI_MODEL | Gemini 3.8+ only — gemini-3.7-flash and gemini-3.6-flash are rejected | gemini-3.8-flash |
GLM_MODEL | GLM 5.3+ only — glm-5v-turbo, glm-4.6v, and glm-4.6v-flash are rejected | glm-5.3-flash |
MINIMAX_MODEL | MiniMax-M3.1-Flash or MiniMax-M3 — aliases m3.1-flash, m31-flash, m3.1, and m3 are accepted | MiniMax-M3.1-Flash |
MINIMAX_EFFORT | low, medium, high, xhigh, or max | low |
If you previously set GEMINI_MODEL=gemini-3.6-flash or GLM_MODEL=glm-4.6v-flash as a rollback, those values are now rejected — update them to a supported model, or remove them to pick up the new defaults.
Large local file fails or uses low-quality frame analysis
Section titled “Large local file fails or uses low-quality frame analysis”GLM-5.3-Flash, Qwen3.8, and MiMo-V2.6 have a 10–12 MB base64 limit for local files. When a file exceeds this:
- The server tries to fall back to Gemini or Kimi (if configured).
- If no upload-capable provider is available, it falls back to frame-based analysis (evenly-spaced keyframes) — lower quality.
Best solution: Configure the S3 relay — GLM, Qwen, and MiMo will receive a presigned URL to the full video.
Alternative: Add GEMINI_API_KEY or MOONSHOT_API_KEY to get an upload-capable provider in the fallback chain.
YouTube video fails to download
Section titled “YouTube video fails to download”YouTube downloads occasionally fail due to format changes or network conditions. Try:
- Retry — transient failures often resolve on their own.
- Use a direct MP4 URL if you can find one (works for all users without download).
- Check for updates — the downloader (yt-dlp) is updated regularly:
Terminal window npm install -g video-context-mcp-server@latest
Non-YouTube platform URL fails
Section titled “Non-YouTube platform URL fails”Vimeo, TikTok, Bilibili, and other non-YouTube platform downloads require the Pro tier. Free users receive an error message for these URLs.
Direct http(s):// URLs pointing to video files (e.g. .mp4, .webm) work for all users.
Transcription fails or returns empty
Section titled “Transcription fails or returns empty”- Check that at least one audio provider key is set (
DEEPGRAM_API_KEY,ASSEMBLYAI_API_KEY,GROQ_API_KEY, orGEMINI_API_KEY). - Check that the video has an audio track. Use
get_video_infoto confirm. - Try a different provider — pass
provider: "groq"orprovider: "gemini"(both have free tiers).
Transcription ignores the language I specified
Section titled “Transcription ignores the language I specified”Make sure you pass the correct BCP-47 language code (e.g. en, es, fr, ja, zh). Some providers have limited language support — see Audio Providers for details.
S3 relay uploads but the provider still fails
Section titled “S3 relay uploads but the provider still fails”Verify that:
AWS_S3_BUCKETmatches an existing bucket in the configured region.- The IAM user / role has
s3:PutObjectands3:GetObjectpermissions on the bucket. AWS_REGIONmatches the bucket’s region.
Cache is using too much disk space
Section titled “Cache is using too much disk space”Run vmcp cache status to see the breakdown. Then either:
vmcp cache clear:expired— remove old entriesvmcp cache clear:all --yes— wipe the entire cache- Reduce
VIDEO_MCP_CACHE_MAX_MBin your config to enforce a lower cap
See Caching & CLI for all cache management commands.