
Watch Cli
io.github.sonpiaz由 GitHub 账号 sonpiaz 发布v0.3.1更新于 Oct 28, 2026
Hand any social video to your AI agent — frames + transcript bundled. MCP server for watch-cli.
概览
把 watch CLI 封装成单个 MCP 工具,让助手从社交视频链接获取等间隔画面帧和文字稿。
- 可以做什么
- 按链接抓取社交视频,并以一个 JSON 对象返回抽取的画面帧和文字稿
- 可指定抽取的等间隔帧数,范围 1 到 64,默认 8
- 支持 YouTube、X/Twitter、LinkedIn、TikTok、Vimeo、Reddit 和 Facebook 链接
- 对缺少依赖、下载鉴权或地区限制、网络失败和用法错误返回带标签的错误信息
- 识别部分成功的情况:有画面帧但文字稿为空
- 适用场景
- 适合让助手查看并总结社交视频,或据此生成架构图、速查表、笔记等,而无需手动下载视频。适用于已安装 watch CLI 并具备转写后端的智能体环境。
- 运行要求
- 需要 Node.js 18 或更高版本,并已安装 watch CLI 且位于 PATH 中(服务器调用它,不内置)。需要转写后端:默认使用 KYMA_API_KEY,或设置 WATCH_AUDIO_MODE=byok 配合 GROQ_API_KEY,或设置 WATCH_AUDIO_MODE=local 并使用 PATH 中的 whisper.cpp 离线运行。需要访问视频来源的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Watch Cli,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@sonpiaz/watch-cli-mcp
MCP (Model Context Protocol) stdio server that exposes watch-cli as a callable tool.
Watch any social video → get an architecture diagram, working component, runnable notebook, or step-by-step cheat sheet — automatically.
A single MCP server reaches every MCP-capable agent runtime — Claude Desktop, Claude Code, Cursor, OpenClaw, hermes-agent, Cline, Continue.dev, Windsurf, Zed, Codex, Kiro, VS Code Copilot — without per-IDE plugin work. This package wraps watch-cli so any of them can call it through one channel.
Prerequisites
-
Node.js >= 18.
-
The
watchCLI installed and onPATH. Install with:
The MCP server shells out to watch; it does not bundle the CLI.
Install
Or run on demand via npx:
The binary is watch-cli-mcp. It reads JSON-RPC on stdin, writes JSON-RPC on stdout, and logs to stderr.
Tool
One tool is registered: watch.
Input schema:
Output: the v1 JSON object from docs/output-schema.md, passed through verbatim. Read the schema for the field reference.
Error mapping
Tags always ride in the MCP error message field so callers can grep for the same tag=... token they would see in CLI stderr.
Client configuration
Claude Desktop
Config path:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Merge into the existing mcpServers object:
Restart Claude Desktop after editing.
Cursor
Config path: .cursor/mcp.json (project-scoped) or ~/.cursor/mcp.json (user-global). Same mcpServers object shape as Claude Desktop:
hermes-agent
Config path: optional-skills/mcp.json inside the hermes-agent install, or ~/.hermes-agent/mcp.json user-global. Same mcpServers shape as above.
Other MCP clients
Any MCP-capable agent that accepts an npx command will work with the snippet above. Substitute the client's config path; the command / args pair is portable.
Build from source
License
MIT. © 2026 Son Piaz.
来源:mcp-server/README.md,提交 06beafb
工具
0版本历史
1- v0.3.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
