
Media Context Mcp
io.github.vishalguptax由 GitHub 帳號 vishalguptax 發布v0.1.4更新於 Oct 24, 2026
Local MCP server to analyze video, audio & images: frames, transcripts, on-screen text.
概覽
本機 MCP 伺服器,把影片、音訊和圖片(檔案或連結)轉成模型可讀的上下文:取樣影格、逐字稿和畫面文字。
- 可以做什麼
- 分析本機路徑或 http(s) 連結的影片、音訊和圖片,並自動辨識類型
- 以聯絡表、單張靜態影格、場景切換影格或密集膠片條方式取樣影片影格,支援裁切、時間範圍和影格數上限
- 對音訊或影片進行語音轉錄,可選擇 Whisper 模型大小
- 以 OCR 擷取畫面文字,可設定語言和頁面分割方式
- 追蹤畫面中的數字並回報附時間戳的回跳異常
- 檢查本機已安裝且可用的輔助相依項目
- 適用情境
- 適合讓助理摘要螢幕錄影、讀出影片或截圖中顯示的錯誤、說明介面操作流程、轉錄會議或語音備忘,或從 YouTube、Vimeo 等連結取得內容而不必上傳媒體檔案。
- 執行需求
- 以本機程序透過 npx 啟動,需要 Node.js 18+,支援 Windows、macOS 或 Linux。需執行一次安裝指令來安裝本機輔助工具(取樣影格、連結抓取、OCR;語音轉錄為選用)。未宣告任何 API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Media Context Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[media-context-mcp — local media analysis for AI assistants]
[npm version] [npm downloads] [license] [node]
Give your AI assistant eyes and ears.
Analyze any video, audio, or image — locally, right inside your editor.
Install · Capabilities · Modes · Examples · Tools · Options · Docs
LLMs read text and glance at a single image — but they can't watch a video or listen to audio. media-context-mcp closes that gap. Hand it a file or a link and it returns clean, model-ready context — keyframes, a transcript, or the text on screen — entirely on your machine. Nothing is uploaded.
[A 10-second clip turned into one contact sheet of keyframes]
A 10-second clip becomes one tidy contact sheet your model reads in order — not hundreds of stills.
🚀 Install
Two steps — add the server, then install the local helpers it uses.
1 · Add the server to your client
The launch command is always npx -y media-context-mcp. Pick your client:
Claude Desktop
Settings → Developer → Edit Config (claude_desktop_config.json):
Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):
VS Code (GitHub Copilot, agent mode)
.vscode/mcp.json — VS Code uses the servers key:
Windsurf
~/.codeium/windsurf/mcp_config.json:
Cline / Roo Code
cline_mcp_settings.json (the extension's MCP settings):
Kiro
.kiro/settings/mcp.json (project) or ~/.kiro/settings/mcp.json (user):
Gemini CLI
~/.gemini/settings.json:
Zed
settings.json — Zed uses context_servers:
Codex CLI
~/.codex/config.toml:
JetBrains AI Assistant
Settings → Tools → AI Assistant → Model Context Protocol → Add, then use command npx with args -y media-context-mcp.
Tip: in Claude Code you can install it as a plugin instead — run
/plugin marketplace add vishalguptax/media-context-mcp, then/plugin install media-context. To share with a team, install per-project:--scope project(writes.mcp.json) or commit a.cursor/mcp.jsonin the repo.
2 · Install the local helpers
One command sets up everything the server uses, via your OS package manager:
The server finds the helpers automatically afterward — no extra configuration. Run check_media_deps to see what's ready, and setup --uninstall to remove them. (Install by hand →)
3 · Ask
“Summarize
demo.mp4.”
✨ Capabilities
🎞️ Modes
analyze_media auto-detects audio and images. For video, choose how frames are sampled:
💬 Examples
Just ask in plain language — the assistant picks the right options.
🧰 Tools
Every call runs locally and cleans up after itself.
⚙️ Options
Your assistant fills these in for you, but you can steer it (“use filmstrip mode”, “crop to the toolbar”).
Full analyze_media parameters
Worked recipes for each are in the usage guide.
❓ FAQ
Can an LLM watch a video? Not directly — models take images and text, not video. This server turns the video into frames and a transcript it can read.
Does anything get uploaded? No. Everything runs on your machine; no keys, no cloud.
Which clients work? Any MCP client — Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Cline, Kiro, Gemini CLI, JetBrains, Zed, Codex.
Does it handle YouTube and other links? Yes.
How much does it cost? It's free and open source.
📋 Requirements
Node.js 18+, on Windows, macOS, or Linux. The one-time npx media-context-mcp setup installs everything else.
🛠️ Development
Issues and PRs welcome — see the usage guide for the architecture.
📄 License
Apache-2.0 © Vishal Gupta
來源:README.md,提交 2cc68be
工具
0版本歷史
1- v0.1.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分