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.0.tar.gz (16.4 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.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clipici_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for clipici_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 26738f2eedaab2a8d7daeab9e47f7564653505bb5791b1986fcf0a0519bb5ced
MD5 5e3ba17b374931f0b377df7ba783b403
BLAKE2b-256 7da645f92c478659895ec218d5bf64d3ba246591d1f46abf2401e53449e9ece7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clipici_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for clipici_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad663b4c5b5627b523ad98b2254413a93cc4f73871e94e025c195c3ecf57303d
MD5 8461092bbce86f872611a15a8cc2f499
BLAKE2b-256 dffd25e0156d01d5c21ef462649c704fbec94e132e7beebae17af7c78fcc6eb0

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