Skip to main content

MCP server for Clipici — turn long videos into captioned viral clips from any MCP client.

Project description

clipici-mcp

An MCP server for Clipici — turn long videos into captioned, viral-ready short clips (with correct Romanian diacritics) from any MCP client: Claude Code, Claude Desktop, Cursor, and more.

What it does

The server wraps the Clipici REST API as MCP tools:

Tool What it does
clipici_whoami / clipici_usage Account info and minutes/quota
clipici_create_clips Upload a video (local file or URL) → AI clip pipeline
clipici_wait_for_job Poll a job to completion, with live progress
clipici_list_jobs / clipici_get_job Browse jobs
clipici_list_clips / clipici_get_clip Browse generated clips
clipici_download_clip Save a finished clip to disk, or get a download URL
clipici_get_captions Export a clip's captions as SRT/VTT
clipici_caption_video Caption-only: burn captions onto a video you already cut
clipici_regenerate_clip Re-render with a new aspect ratio / caption style / template
clipici_edit_subtitles / clipici_restore_diacritics Fix caption text & diacritics
clipici_trim_clip / clipici_split_clip / clipici_merge_clips Cut, split, montage
clipici_export_aspect_ratios Clone a clip into 9:16 / 1:1 / 16:9

It also exposes read-only resources (clipici://jobs, clipici://jobs/{id}, clipici://clips/{id}) and a guided prompt make_viral_clips.

Get an API key

In the Clipici dashboard → Setări → Chei API, generate a key (clpc_live_…). It's shown once — copy it.

Use it (local / stdio)

Add to your MCP client config (Claude Code: ~/.claude.json or project .mcp.json; Claude Desktop: claude_desktop_config.json):

{
  "mcpServers": {
    "clipici": {
      "command": "uvx",
      "args": ["clipici-mcp"],
      "env": { "CLIPICI_API_KEY": "clpc_live_your_key_here" }
    }
  }
}

CLIPICI_API_URL defaults to https://api.clipici.ro. For local development against your own backend, add "CLIPICI_API_URL": "http://localhost:8000".

Then ask your agent: "Use Clipici to turn ./talk.mp4 into viral clips, wait for it, and download the top clip to ./clips/."

Hosted / remote (Streamable-HTTP)

The same server can run as a remote MCP at https://mcp.clipici.ro — point a remote-MCP-capable client at it and authenticate with Authorization: Bearer clpc_live_…. Note: local-file tools (file_path, dest_path) only work in stdio mode; with the hosted server, pass a public url and use the returned download URL.

Environment variables

Var Default Notes
CLIPICI_API_KEY Your clpc_live_… key (required for stdio)
CLIPICI_API_URL https://api.clipici.ro Backend base URL
CLIPICI_TRANSPORT stdio stdio or http
MCP_HTTP_HOST / MCP_HTTP_PORT 0.0.0.0 / 9000 HTTP transport bind

Develop & test

cd mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest -q                      # unit tests (no backend needed)

# Interactive tool testing:
CLIPICI_API_KEY=clpc_live_… npx @modelcontextprotocol/inspector uvx clipici-mcp

# Opt-in end-to-end smoke against a local backend:
CLIPICI_E2E=1 CLIPICI_API_URL=http://localhost:8000 \
  CLIPICI_API_KEY=clpc_live_… CLIPICI_E2E_VIDEO=./sample.mp4 pytest -q tests/test_e2e_smoke.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clipici_mcp-0.1.1.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clipici_mcp-0.1.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file clipici_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: clipici_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for clipici_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a5fbc569aa1bb507dd0142bc8a1dbe979be1acd1457e9dc3c6167403a17790c1
MD5 b18ae79dcc79ee3df5ca9870d5bbe28e
BLAKE2b-256 38555f5755ff8e78d2f6c5991810e4a89b8b25f13799423b6859e8a1df776cbc

See more details on using hashes here.

File details

Details for the file clipici_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: clipici_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for clipici_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44cdbe206a2c2ce6dd3fea422eeb1d35fd95cbe9130b936f20b8725495006cd7
MD5 e8d54ae561c4e3872c5b5e1b3e62f4e2
BLAKE2b-256 1b5e9ce2a44779ce963aeee15862c474066f3b7a430a92d189328c0223464213

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page