
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 分