About Capcut Agent
Capcut Agent is an MCP server published by qingpingwang in the Developer Tools category: 基于 LangGraph + Flask 的 AI 剪映视频剪辑助手(Agent),通过对话式交互与剪映(CapCut)集成,使用自然语言完成智能视频制作. Conduid read 20 tools from its source: add_audio_effect_to_track, add_effect_to_track, add_filter_to_track, add_material_to_segment, add_media_segment, add_text_segment and 14 more. No package is published for it, so it installs from a source checkout.
The repository has 58 stars and 13 forks, and its last commit was on 22 Sep 2026. Conduid has no tagged release on record for it. It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass License declared, Dependencies pinned and Scoped permissions. Its topics include streaming, capcut, video-editing, flask, devtools and langchain-python.
Install
git clone https://github.com/qingpingwang/capcut-agentTools (20)
add_audio_effect_to_track添加剪映内置音频特效到轨道| Parameter | Type | Description |
|---|---|---|
| category * | string | 资源分类,通常为 "音频特效" |
| name * | string | 音频特效名称,如 "电音"、"爵士" |
| project_id * | string | 项目ID |
| start_time | integer | 插入时间点(毫秒),None 表示追加到轨道末尾(默认 None) |
| track_id * | string | 音频轨道ID |
add_effect_to_track添加剪映内置特效到轨道| Parameter | Type | Description |
|---|---|---|
| category * | string | 资源分类,通常为 "特效" |
| duration | integer | 特效时长(毫秒),默认 5000 |
| name * | string | 特效名称,如 "放大镜"、"马赛克"、"美肤" |
| project_id * | string | 项目ID |
| start_time | integer | 插入时间点(毫秒),None 表示追加到轨道末尾(默认 None) |
| track_id * | string | 特效轨道ID |
add_filter_to_track添加剪映内置滤镜到轨道| Parameter | Type | Description |
|---|---|---|
| category * | string | 资源分类,通常为 "滤镜" |
| duration | integer | 滤镜时长(毫秒),默认 5000 |
| name * | string | 滤镜名称,如 "高清增强"、"美肤"、"复古" |
| project_id * | string | 项目ID |
| start_time | integer | 插入时间点(毫秒),None 表示追加到轨道末尾(默认 None) |
| track_id * | string | 滤镜轨道ID |
add_material_to_segment添加剪映内置资源(转场、特效、滤镜、动画等)到片段| Parameter | Type | Description |
|---|---|---|
| category * | string | 资源分类,如 "转场"、"特效"、"滤镜"、"文字动画"、"画面动画" |
| name * | string | 资源名称,如 "推近 II"、"美肤" |
| project_id * | string | 项目ID |
| segment_id * | string | 片段ID |
add_media_segment添加媒体片段(视频/图片/音频)| Parameter | Type | Description |
|---|---|---|
| request * | any | 添加媒体片段请求 - task_id: 项目ID (必填) - track_id: 轨道ID (必填) - media_material: 媒体素材信息 (必填),包含: - url: 媒体文件路径,本地绝对路径或 URL (必填) - media_type: 素材类型,video/photo/audio (默认 video) - speed: 播放速度,0.1-10.0 (默认 1.0) - mute: 是否静音 (默认 False) - from_time: 裁剪开始时间,毫秒 (默认 0) - to_time: 裁剪结束时间,毫秒,-1 表示到结尾 (默认 -1) - width: 宽度,0 表示自动检测 (默认 0) - height: 高度,0 表示自动检测 (默认 0) - clip_info: 裁剪信息 (可选) - adjust_info: 调节信息 (可选) - material_name: 素材名称 (默认 '') - category: 素材分类 (默认 '') - duration: 素材时长,毫秒 (可选,自动计算,未说明下给None) - start_time: 插入时间点,毫秒,None 表示追加到轨道末尾 (默认 None) - transform: 变换信息(缩放、旋转、平移)(默认 None) |
add_text_segment添加文本片段| Parameter | Type | Description |
|---|---|---|
| request * | any | 添加文本片段请求 - task_id: 项目ID (必填) - track_id: 轨道ID (必填) - text_material: 文本素材信息 (必填),包含: - text: 文本内容 (必填) - styles: 样式列表,None 时自动创建默认样式 (可选) - background_color: 背景颜色,十六进制 (可选) - background_alpha: 背景透明度,0.0-1.0 (默认 1.0) - start_time: 插入时间点,毫秒,None 表示追加到轨道末尾 (默认 None) - duration: 文本显示时长,毫秒 (默认 5000) - transform: 变换信息(缩放、旋转、平移)(默认 None) |
add_track添加轨道| Parameter | Type | Description |
|---|---|---|
| request * | any | 添加轨道请求 - task_id: 项目ID (必填) - track_type: 轨道类型,支持 audio/video/effect/filter/text/sticker/adjust (必填) - index: 插入位置,-1 表示追加到末尾 (默认 -1) |
copy_project_to_jianying复制项目到剪映工作目录| Parameter | Type | Description |
|---|---|---|
| copy_resource | boolean | 是否复制素材资源文件(默认 False) |
| project_id * | string | 项目ID |
create_project创建剪映项目| Parameter | Type | Description |
|---|---|---|
| request * | any | 创建任务请求 - name: 项目名称 (必填) - width: 画布宽度,像素 (默认 720) - height: 画布高度,像素 (默认 1280) - fps: 帧率 (默认 30) - duration: 初始时长,秒 (默认 0) |
delete_project删除项目| Parameter | Type | Description |
|---|---|---|
| request * | any | 删除任务请求 - task_id: 项目ID (必填) |
delete_segment删除片段| Parameter | Type | Description |
|---|---|---|
| request * | any | 删除片段请求 - task_id: 项目ID (必填) - segment_id: 片段ID (必填) |
delete_track删除轨道| Parameter | Type | Description |
|---|---|---|
| request * | any | 删除轨道请求 - task_id: 项目ID (必填) - track_id: 轨道ID (必填) |
get_project_info获取项目基础信息(名称、画布、帧率、时长)| Parameter | Type | Description |
|---|---|---|
| project_id * | string | 项目ID |
get_track_info获取轨道详情| Parameter | Type | Description |
|---|---|---|
| project_id * | string | 项目ID |
| track_id * | string | 轨道ID |
get_tracks获取项目所有轨道| Parameter | Type | Description |
|---|---|---|
| project_id * | string | 项目ID |
list_jianying_resource_categories查询当前资源库的可用分类及数量。目录由资源加载器读取,不依赖提示词内的静态清单。search_jianying_resources按分类和名称/描述关键词查询当前剪映资源,返回名称、描述和分页信息。| Parameter | Type | Description |
|---|---|---|
| category | string | |
| keyword | string | |
| limit | integer | |
| offset | integer |
update_segment_transform更新片段变换(位置/缩放/旋转)| Parameter | Type | Description |
|---|---|---|
| request * | any | 更新变换请求 - task_id: 项目ID (必填) - segment_id: 片段ID (必填) - transform: 变换信息 (必填),包含: - scale_x: X 轴缩放,>0 (默认 1.0) - scale_y: Y 轴缩放,>0 (默认 1.0) - rotate: 旋转角度,度 (默认 0.0) - translate_x: X 轴平移,归一化坐标 -1~1 (默认 0.0) - translate_y: Y 轴平移,归一化坐标 -1~1 (默认 0.0) |
update_text_content更新文本片段的内容(保留原有样式)| Parameter | Type | Description |
|---|---|---|
| request * | any | 更新文本内容请求 - task_id: 项目ID (必填) - segment_id: 片段ID (必填) - text: 新的文本内容 (必填) |
update_video_adjust更新视频片段的调色参数| Parameter | Type | Description |
|---|---|---|
| request * | any | 更新调色请求 - task_id: 项目ID (必填) - segment_id: 片段ID (必填) - adjust_info: 调节信息 (必填),包含: - temperature: 色温 v3,-50~50 (默认 0) - tone: 色调 v3,-50~50 (默认 0) - saturation: 饱和度 v1,-50~50 (默认 0) - brightness: 亮度 v2,-50~50 (默认 0) - contrast: 对比度 v3,-50~50 (默认 0) - highlight: 高光 v3,-50~50 (默认 0) - shadow: 阴影 v3,-50~50 (默认 0) - white: 白色,-50~50 (默认 0) - black: 黑色,-50~50 (默认 0) - light_sensation: 光感,-50~50 (默认 0) - sharpen: 锐化 v1,0~100 (默认 0) - clear: 清晰,0~100 (默认 0) - particle: 颗粒 v2,0~100 (默认 0) - fade: 褪色,0~100 (默认 0) - vignetting: 暗角 v1,-50~50 (默认 0) |
Security checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 763 words.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionScanned 32 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
The repository's README runs to about 763 words, fetched a month ago. The original in the repository is authoritative.
Read full README