Skip to main content
Glama

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 name

ai.clipswarm/mcp

npm

clipswarm-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.

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"
    }
  }
}

Related MCP server: clipspeed-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

Variable

Required

Description

CLIPSWARM_API_KEY

Yes (stdio)

ClipSwarm API key (sck_...). Also reads STORMCLIP_KEY or ~/.config/clipswarm/config.json.

CLIPSWARM_URL

No

Custom 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

License

MIT, Margin Systems. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Turn YouTube videos into short clips — from Claude, Cursor, or any AI assistant that supports MCP. You give it a YouTube link. It finds the best moments, reframes them for vertical video, adds subtitles, and gives you download links. All from a chat.
      6
      68 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables turning any video into scored, captioned, ready-to-post vertical clips directly from your MCP client, with capabilities to download finished MP4s, schedule posts, and discover trending content.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to clip videos and live streams into scored, captioned shorts, then plan, preview, schedule, and manage posts across eight social platforms with tools for channels, analytics, trending discovery, and usage.
      65 npm
      MIT