Repository avatar
AI Tools
v0.1.0
active

mcp

ai.clipswarm/mcp

Official ClipSwarm (clipswarm.ai): streams to captioned shorts, AI clip editor, post scheduling.

Documentation

ClipSwarm MCP

Official MCP server for ClipSwarm (clipswarm.ai), by Margin Systems.

Connect any MCP-compatible AI agent (Claude Code, Claude Desktop, Claude.ai, Cursor, Codex, Windsurf, ChatGPT Connectors) to ClipSwarm to turn YouTube, Kick, and Twitch streams into captioned vertical shorts, talk directly to ClipSwarm's AI clip editor, schedule social posts, and create public share links.

Remote server (OAuth 2.1)https://clipswarm.ai/v1/mcp
Local stdio bridge (API key)npx -y clipswarm-mcp
Official MCP Registry nameai.clipswarm/mcp
npmclipswarm-mcp

Not to be confused with other projects named "clipswarm": this is the official server for ClipSwarm at clipswarm.ai. It is not the npm package clipswarm and has no token or coin.

Quick start (Remote HTTP + OAuth 2.1, recommended)

ClipSwarm hosts a Remote Streamable HTTP MCP server at https://clipswarm.ai/v1/mcp with full OAuth 2.1 + PKCE discovery (RFC 9728 / RFC 8414 / RFC 7591). No API key needed.

Claude Code

claude mcp add --transport http clipswarm https://clipswarm.ai/v1/mcp

Run /mcp inside Claude Code and approve ClipSwarm in your browser.

Claude.ai / Claude Desktop / ChatGPT Connectors

Add a custom connector pointing to:

https://clipswarm.ai/v1/mcp

OAuth discovery and Dynamic Client Registration run automatically.

Cursor

Add to ~/.cursor/mcp.json (or .cursor/mcp.json):

{
  "mcpServers": {
    "clipswarm": {
      "url": "https://clipswarm.ai/v1/mcp"
    }
  }
}

Local stdio bridge (npx -y clipswarm-mcp)

For MCP clients or directories that require a local stdio server (or headless CI / API-key auth), use clipswarm-mcp:

  1. Create an API key (sck_...) in https://clipswarm.ai/dashboard under Integrations.
  2. Add the stdio server to your client:

Claude Code (stdio)

claude mcp add clipswarm -e CLIPSWARM_API_KEY=sck_... -- npx -y clipswarm-mcp

Claude Desktop / Cursor / Windsurf (mcpServers JSON)

{
  "mcpServers": {
    "clipswarm": {
      "command": "npx",
      "args": ["-y", "clipswarm-mcp"],
      "env": {
        "CLIPSWARM_API_KEY": "sck_..."
      }
    }
  }
}

Codex CLI

codex mcp add clipswarm --env CLIPSWARM_API_KEY=sck_... -- npx -y clipswarm-mcp

Environment variables

VariableRequiredDescription
CLIPSWARM_API_KEYYes (stdio)ClipSwarm API key (sck_...). Also reads STORMCLIP_KEY or ~/.config/clipswarm/config.json.
CLIPSWARM_URLNoCustom MCP endpoint URL. Defaults to https://clipswarm.ai/v1/mcp.

Available tools

Every tool includes MCP tool annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) for safe client approval prompts.

Create & monitor jobs

  • create_job: Start clipping a YouTube, Kick, or Twitch VOD/video with optional count, length, instructions, and brand.
  • get_job: Read a job's current stage and clip count.
  • wait_job: Bounded wait (default 45s, max 90s) that returns as soon as the job becomes ready or failed.
  • list_jobs, get_credits, list_platforms, list_brands: Inspect account jobs, credit balance, supported platforms, and brands.

Inspect & edit clips

  • ask_editor: Chat directly with ClipSwarm's built-in vision-capable AI clip editor to inspect frames, resize/reframe layouts (fit, crop, stacked facecam), tighten cuts, fix captions, or rewrite copy in one natural-language turn.
  • list_clips, read_clips, read_transcript, review_stream: Read clips, full transcripts, silence markers, and stream feedback.
  • add_clips, add_clip_range, trim_clip, render_clip, rename_clip, set_review, remove_clip: Direct clip cutting, layout, and review controls.
  • list_caption_words, edit_captions, fix_captions, remember_spelling, list_spellings: Caption word fixes, timing offsets, styling, bleep/blur toggles, and saved spellings.
  • set_music, new_music, remove_music: Background music and voice only sound, each priced in credits before it runs.
  • get_copy, rewrite_copy, write_copy, research_tags, suggest_posting_plan: Platform-specific titles, descriptions, hashtags, and suggested post times.

Download, share & schedule

  • get_downloads: Download URLs and upload copy for every rendered clip and platform.
  • create_share_link, list_share_links, revoke_share_link: Public view-only clip watch pages (/w/<token>).
  • list_connected_accounts, list_schedule, schedule_post, cancel_post: Inspect connected social accounts and schedule posts (schedule_post previews first until confirm: true).
  • get_stats: Engagement stats by clip or brand.
  • set_live_source: Set where a job's full stream lives, for the creator credit watermark.

Security & privacy

  • Remote OAuth 2.1 uses mandatory PKCE (S256), single-use authorization codes, rotating refresh tokens with reuse detection, and RFC 8707 resource binding.
  • Access and refresh tokens (cso_at_... / cso_rt_...) and API keys (sck_...) are stored only as SHA-256 hashes.
  • The stdio bridge refuses to transmit credentials over non-loopback plain http://.

Development

The bridge has no runtime dependencies and needs Node 20 or newer.

npm test
node bin/clipswarm-mcp.mjs --version

Links

License

MIT, Margin Systems. See LICENSE.

NPM
clipswarm-mcp
Install Command
npm install clipswarm-mcp

Remote