Vidsight
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLM_MODEL | No | A verified model name for the selected cloud or OpenAI-compatible provider. | |
| GGUF_N_CTX | No | Context size for the GGUF runtime (example: 8192). | |
| LLM_BASE_URL | No | Base URL for an openai_compatible local or remote server, e.g. http://127.0.0.1:1234/v1. | |
| LLM_PROVIDER | Yes | Provider selection: one of openai, openai_compatible, anthropic, gemini, ollama, or gguf (auto selects one valid provider at initialization). | |
| OLLAMA_MODEL | No | The loaded Ollama model to use. | |
| STT_PROVIDER | No | Speech-to-text provider used when subtitles are unavailable (subtitle retrieval is preferred). | |
| LLM_JSON_MODE | No | Set to true to enable structured JSON-mode requests (requires LLM_SUPPORTS_JSON_MODE=true). | |
| STT_LANGUAGES | No | Comma-separated subtitle/STT language priority, e.g. vi,en. | |
| GEMINI_API_KEY | No | API key for the gemini provider. | |
| LLM_MAX_TOKENS | No | Configures the output token reserve (default 1024). | |
| OPENAI_API_KEY | No | API key for the openai provider. | |
| STT_MODEL_PATH | No | Path to an existing local STT model; Vidsight does not download STT models automatically. | |
| GGUF_MODEL_PATH | No | Path to a local GGUF model file (GGUF does not download models). | |
| LLM_ALLOW_CLOUD | No | Set to true to allow remote AI endpoints; false blocks remote AI endpoints. | |
| LLM_MAX_RETRIES | No | Maximum number of retries after the first attempt within the timeout budget (default 3). | |
| OLLAMA_BASE_URL | No | Base URL for the Ollama native API, e.g. http://127.0.0.1:11434. | |
| ANTHROPIC_API_KEY | No | API key for the anthropic provider. | |
| GGUF_N_GPU_LAYERS | No | Number of GPU layers for the GGUF runtime (example: 0). | |
| MCP_MAX_CONCURRENT | No | Limits simultaneous analysis in the MCP server (default 1). | |
| VIDSIGHT_CACHE_DIR | No | Overrides the cache directory (default ~/.cache/vidsight/). | |
| LLM_SUPPORTS_IMAGES | No | Enable only after verifying that the selected model supports images. | |
| VIDSIGHT_CACHE_MAX_MB | No | Cache size limit in MB; 0 disables persistence (default 2048). | |
| LLM_SUPPORTS_JSON_MODE | No | Set to true for a model with verified JSON support to request and validate structured output. | |
| VIDSIGHT_CACHE_TTL_DAYS | No | Cache entry expiry in days (default 7). | |
| VIDSIGHT_SCENE_THRESHOLD | No | Histogram change threshold (0–1) for scene-change frame prioritization (default 0.3). | |
| VIDSIGHT_ANALYZE_TIMEOUT_SEC | No | Bounds analysis execution after the queue slot is acquired, including media, STT and AI (default 900). | |
| VIDSIGHT_FRAME_DEDUP_THRESHOLD | No | Mean pixel difference threshold (0–1) for near-duplicate frame removal (default 0.01). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use source/warnings/timestamps to qualify conclusions. Raw timeline is not AI analysis.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| watch_video_overviewA | Summarize a YouTube video with original timestamps. Uses sampled frames/transcript when available; returns raw-timeline without AI if no valid provider is selected. |
| analyze_video_segmentA | Answer a question about a specified video time range. Set require_vision=true for visual claims. Reports missing or reduced evidence; never switches AI providers after errors. |
| ask_video_questionA | Answer a question using evidence across a YouTube video. Set require_vision=true when visual confirmation is required. Sampled evidence does not mean continuous viewing. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a reasonably distinct scope: whole-video summary, time-range Q&A, and whole-video Q&A. The main overlap is between analyze_video_segment and ask_video_question, which both answer questions and differ only in evidence scope; the descriptions clarify this, but an agent could still pick ask_video_question for a segment query.
All three names follow the same snake_case verb_noun pattern (watch/analyze/ask + video object) and consistently embed the video resource. Highly predictable and readable.
Three tools is thin for a video analysis server, even a focused one. The set covers the main interaction modes but leaves little room for supporting operations such as transcript or metadata retrieval.
The core Q&A/summarization lifecycle is covered, but there are notable gaps: no way to fetch a raw transcript, get video metadata or chapters, or list available videos. Agents needing the underlying evidence or video discovery will hit a dead end.