
Crabcut
io.github.realcrabcut由 GitHub 账号 realcrabcut 发布v2.0.7更新于 Oct 24, 2026
Turn YouTube videos into short-form clips from any AI assistant
概览
Crabcut 把 YouTube 链接转成带字幕的竖屏短视频,让助手发起任务、查询进度并获取可下载的片段。
- 可以做什么
- 从 YouTube 链接发起切片生成,可限定起止时间或设置 webhook 回调
- 查询项目进度并获取按评分排序的成品片段
- 列出历史项目及其状态与片段数量,查看单个片段的完整信息
- 查询账户套餐、剩余额度和用量
- 适用场景
- 适合希望助手在对话中把长 YouTube 视频改造成竖屏短视频的场景,例如为社交媒体准备素材,或从录像中挑出评分最高的精彩片段。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js;也可使用远程 Streamable HTTP 端点。需要 Crabcut 账户,并通过环境变量 CRABCUT_API_KEY 提供 API 密钥(远程端点使用 Bearer 令牌)。需要访问 Crabcut API 的网络;可用 CRABCUT_API_URL 覆盖接口地址。
安装
在 SourceWeft 中
- 打开 控制台中的 Crabcut,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@crabcut/mcp-server
Turn YouTube videos into short clips — from Claude, Cursor, or any AI assistant that supports MCP.
Give it a YouTube link. It finds the best moments, reframes for vertical video (9:16), adds subtitles, and returns download-ready clips.
[smithery badge] [CrabCut MCP server]
Quick Start
- Get an API key at app.crabcut.ai/developers
- Run:
Setup
Claude Desktop / Cursor
Add to your config file — claude_desktop_config.json for Claude, .cursor/mcp.json for Cursor:
Cursor Directory
Smithery
Remote (Streamable HTTP)
For n8n, custom integrations, or any client that supports remote MCP:
- Endpoint:
https://mcp.crabcut.ai/mcp - Auth:
Authorization: Bearer sk_live_... - Transport: Streamable HTTP (POST)
Tools
How It Works
- Call
generate_clipswith a YouTube URL - Get back a
project_idimmediately - Poll
get_project_statusevery 10–15 seconds (or pass acallback_urlfor webhook) - When done, clips are sorted by score (best first), each with a
download_url
Statuses
Project: pending → processing → completed (or completed_no_clips / failed)
Processing steps: queued → DOWNLOADING_VIDEO → EXTRACTING_AUDIO → TRANSCRIBING → DETECTING_HIGHLIGHTS → CUTTING_CLIPS → EXPORTING_CLIPS → done
Clips: pending → exporting → completed (or failed). The download_url is available when clip_status is completed.
API Reference
generate_clips
Start clip generation from a YouTube video.
get_project_status
Check progress and get clips.
Clips are sorted by score (highest first).
list_projects
get_clip
check_usage
No input required.
Errors
Webhooks
Pass a callback_url when calling generate_clips to receive a POST when all clips are ready.
Completed:
Failed:
Clips are sorted by score (highest first). We retry up to 3 times if your server doesn't respond.
Signature verification (optional): Each callback includes an X-Crabcut-Signature header. Compute HMAC-SHA256 of the request body using SHA-256(your_api_key) as the signing key. Compare with the header value (sha256=<hex>).
Using with n8n
Option A — Webhook (recommended):
- Create a workflow with a Webhook trigger node. Copy its URL.
- Add an HTTP Request node:
POST https://api.crabcut.ai/api/v1/clips/generatewith Header Auth (Authorization: Bearer sk_live_...) and body: - When clips are ready, the Webhook node receives the payload.
- Best clip:
{{ $json.clips[0].download_url }}
Option B — Polling loop:
POSTto generate clips (same as above, withoutcallback_url).- Wait 15 seconds → GET
https://api.crabcut.ai/api/v1/projects/{{ $json.project_id }}→ IF status is notcompleted, loop back to Wait.
REST API
For direct HTTP calls without MCP:
Base URL: https://api.crabcut.ai — All endpoints require Authorization: Bearer sk_live_...
Environment Variables
Links
- Website: crabcut.ai
- API key: app.crabcut.ai/developers
- Pricing: crabcut.ai/pricing
License
MIT
来源:README.md,提交 7ed258b
工具
0版本历史
1- v2.0.7最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
