ClaudeCodeMod

All shelves / MCP servers

Watch Cli

sonpiaz/watch-cli · 259 stars · Shell · MIT

MCP server MCP (Model Context Protocol) stdio server that exposes watch-cli as a callable tool.

Install

The repo has no one-line install. Follow its README.

Published as

  • npm@sonpiaz/watch-cli-mcpstdio

From the server's entry in the official MCP Registry.

Open the repo

Configuration

NameSet asWhat it is
KYMA_API_KEYOptional · SecretEnv varKyma API key (default backend). Get one at https://kymaapi.com — first $0.50 free, then pay-per-use (~$0.05 per 1-hour video). Optional if WATCH_AUDIO_MODE=local (whisper.cpp) or GROQ_API_KEY is set instead.
GROQ_API_KEYOptional · SecretEnv varGroq API key for direct BYOK transcription (alternative to Kyma). Set this instead of KYMA_API_KEY if you prefer direct provider.
WATCH_AUDIO_MODEOptionalEnv varBackend routing override. Values: kyma (default), byok (use GROQ_API_KEY), local (whisper.cpp on $PATH, fully offline).

Files

mcp-server/README.md

@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 watch CLI installed and on PATH. Install with:

    curl -fsSL https://raw.githubusercontent.com/sonpiaz/watch-cli/main/install.sh | bash

The MCP server shells out to watch; it does not bundle the CLI.

Install

npm install -g @sonpiaz/watch-cli-mcp

Or run on demand via npx:

npx -y @sonpiaz/watch-cli-mcp

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:

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "A social video URL. Supported: YouTube, X / Twitter, LinkedIn, TikTok, Vimeo, Reddit, Facebook."
    },
    "frames": {
      "type": "integer",
      "minimum": 1,
      "maximum": 64,
      "description": "Number of evenly-spaced frames to extract. Default 8."
    }
  },
  "required": ["url"],
  "additionalProperties": false
}

Output: the v1 JSON object from docs/output-schema.md, passed through verbatim. Read the schema for the field reference.

Error mapping

CLI exit MCP response
0 Tool result with the v1 JSON as content[0].text.
2 InternalError, message includes tag=missing-dep:<bin>.
3 download-auth / download-region InvalidParams, message includes the tag — caller can recover with cookies or a different URL.
3 download-network / download-other InternalError, message includes the tag.
4 (partial success) Tool result with isError: false. Frames populated, transcript null, exit_code: 4 in the JSON payload. Caller branches on obj.exit_code === 4.
64 InvalidParams, message includes tag=usage-error.
1 / other InternalError, message includes the CLI stderr tail (≤ 1 KB).

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:

{
  "mcpServers": {
    "watch-cli": {
      "command": "npx",
      "args": ["-y", "@sonpiaz/watch-cli-mcp"]
    }
  }
}

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:

{
  "mcpServers": {
    "watch-cli": {
      "command": "npx",
      "args": ["-y", "@sonpiaz/watch-cli-mcp"]
    }
  }
}
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

git clone https://github.com/sonpiaz/watch-cli
cd watch-cli/mcp-server
npm install
npm run build
node dist/index.js

License

MIT. © 2026 Son Piaz.

Facts

Kind
MCP server
Repo
sonpiaz/watch-cli
Group
Uncategorized
Stars
259
License
MIT
Language
Shell
Last push
2026-09-13
Forks
71
MCP Registry
io.github.sonpiaz/watch-cli
Homepage
kymaapi.com
Topics
ai-agents, claude-code, cli, mcp, transcription, video

Next on this shelf

  1. 891💾 Synology MCP Serveratom2ueki/mcp-server-synology💾 Model Context Protocol (MCP) server for Synology NAS - Enables AI assistants (Claude, Cursor, Continue) to manage files, downloads, and system operations through secure API integration. Features Docker deployment, auto-authentication, and comprehensive file system tools.259
  2. 892Gmail MCP ServerArtyMcLabin/Gmail-MCP-ServerA Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.258
  3. 893Mcp 1cfeenlace/mcp-1cMCP server for 1C:Enterprise. Metadata inspection, BSL code search, query execution, event log, syntax reference. One Go binary, zero dependencies.258
  4. 894Toleno Networktolenonetwork/toleno-mcp258
  5. 895Kilncodeofaxel/kiln258
  6. 897Mattermostio.github.mattermost/mattermost-plugin-agentsOfficial Mattermost MCP server, built into the Mattermost Agents plugin. Read, search and post.257