Back to Home
VMRam95 icon

mcp-video

Verified Safe

by VMRam95

Overview

Enables LLMs to analyze video content by extracting frames as images and, in the future, transcribing audio to text.

Installation

Run Command
node dist/index.js

Environment Variables

  • VIDEO_BASE_DIR
  • OPENAI_API_KEY
  • TRANSCRIPTION_BACKEND
  • WHISPER_MODEL
  • CACHE_ENABLED
  • CACHE_DIR
  • MAX_FRAMES_DEFAULT
  • FRAME_QUALITY_DEFAULT
  • FFMPEG_PATH
  • FFPROBE_PATH

Security Notes

The server relies heavily on `ffmpeg` and `ffprobe` binaries, invoked via `child_process.spawn`. While path validation (`normalizePath`, `validateVideoPath`) is implemented to mitigate directory traversal in tool inputs, the inherent risk of spawning external processes exists. The web server's file upload (`src/web/server.ts`, `parseMultipart`) lacks explicit size limits, posing a potential denial-of-service vulnerability by allowing large file uploads to fill disk space. No apparent hardcoded secrets or obfuscation were found. The `OPENAI_API_KEY` is expected to be an environment variable for future transcription features.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens50000
Stars0
Forks0
Last Update2025-12-03

Tags

video analysisLLM integrationframe extractionaudio transcriptionMCP servermultimedia processing