clipmaster-mcp
MCP (Model Context Protocol) server that exposes the ClipMaster public API as tools, so Claude Desktop, Claude Code, and any MCP client can ingest videos, monitor processing, browse clips, trigger exports, and schedule posts.
- Talks ONLY to the public REST API (
https://api.clipmaster.app/api/v1) with the user's API key — no database access, no internal services. - Ingestion is URL-only by design (streaming a local file through an LLM tool call is impractical). Account management (keys, billing, OAuth connects) is excluded; the API rejects those routes for key auth anyway.
Requirements
- Python 3.10+
- A ClipMaster API key (paid plans): web app → Settings → API access
Install
From this repo checkout:
pipx install ./clipmaster-mcp
# or, without installing:
uvx --from ./clipmaster-mcp clipmaster-mcp
Configure
| Env var | Required | Meaning |
|---|---|---|
CLIPMASTER_API_KEY |
yes* | Your cm_live_… API key |
CLIPMASTER_API_BASE |
no | Override the API base URL (default https://api.clipmaster.app/api/v1) |
*Instead of the env var you can put the key in ~/.config/clipmaster/key —
this keeps it out of client config files and shell history:
mkdir -p ~/.config/clipmaster && printf '%s' 'cm_live_...' > ~/.config/clipmaster/key && chmod 600 ~/.config/clipmaster/key
The env var wins when both are set.
Claude Code
claude mcp add clipmaster -e CLIPMASTER_API_KEY=cm_live_... -- clipmaster-mcp
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"clipmaster": {
"command": "clipmaster-mcp",
"env": { "CLIPMASTER_API_KEY": "cm_live_..." }
}
}
}
Tools
| Tool | What it does |
|---|---|
ingest_youtube(url, orientation?, user_query?, compilation_format?) |
Import a YouTube video, start clip generation |
get_status(project_id) |
Processing progress / state |
list_projects() |
The user's projects |
list_clips(project_id) |
Generated clips with AI metadata |
get_clip(project_id, clip_id) |
Full detail for one clip |
trigger_export(project_id, clip_id) |
Render a clip with its saved settings (charges tokens) |
get_export_status(export_id) |
Poll an export; completed → temporary download_url |
list_compilations(source_project_id?) / get_compilation(id) |
Cross-project clip collections |
list_social_accounts() |
Connected channels for scheduling |
schedule_post(...) |
Schedule an export to publish (idempotent on retry) |
list_scheduled_posts(from_date, to_date) |
Posting calendar range |
Development
python3 -m venv .venv && .venv/bin/pip install -e ./clipmaster-mcp pytest
.venv/bin/pytest clipmaster-mcp/tests -q
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clipmaster_mcp-0.1.0.tar.gz.
File metadata
- Download URL: clipmaster_mcp-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9a5bad619a65470743812aa93ff2e2a99aa290b644dce27026b8b5f6285967f
|
|
| MD5 |
46dcdbae039e2a8e5f832ceec69073c9
|
|
| BLAKE2b-256 |
2f8bf409f493d1f6490e0454b8563332ee6c8eaf87460cbeb7d0986b59913708
|
File details
Details for the file clipmaster_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: clipmaster_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30c35b5c7e18e35222994ce841d3a6ac9167786a971a459d62fdad09f8569603
|
|
| MD5 |
a7250e584cbf4742f466c915f4f096ad
|
|
| BLAKE2b-256 |
3f20900a2046df4a5904141f3198c953cc4b5d19729b9816439782ac5d61fc7e
|