Skip to main content
Glama

Raskadr — CapCut MCP Server for AI Video Editing

CI License: AGPL-3.0-only Node.js 20+

Raskadr is an independent, open-source CapCut MCP server for safe AI-assisted video editing. It lets Model Context Protocol (MCP) clients inspect local CapCut desktop projects and create validated, reviewable edit plans while keeping the timeline editable in CapCut.

Current status — v0.1.0: the public MCP tools are non-mutating. Raskadr can discover, inspect, validate, and dry-run timeline edits. Writing to a real CapCut project remains disabled until the safety gates are proven against a wider compatibility fixture set.

Table of contents

Related MCP server: capcut-mcp

What is Raskadr

Raskadr connects AI agents to editable CapCut desktop drafts through MCP. Instead of treating video editing as an opaque render-only task, it works with timeline structure: projects, tracks, clips, source ranges, frame rates, and edit operations.

The long-term goal is an AI video editing workflow that can analyze source footage, remove pauses and failed takes, choose strong fragments, synchronize cuts with music, generate captions, add B-roll and motion, balance audio, review a preview, and save the result as an editable CapCut project.

Raskadr is not affiliated with ByteDance or CapCut.

Why Raskadr

  • Editable output: the target is a normal CapCut project, not only a flattened video render.

  • Review before write: edits are represented as versioned plans with before/after timeline summaries.

  • Safety first: project confinement, compatibility checks, fingerprints, isolated copies, validation, backup, and exact rollback are built into the editing path.

  • Agent-friendly interface: MCP tools expose structured project information and operations to compatible AI clients.

  • Clean architecture: domain rules, application workflows, CapCut adapters, safety infrastructure, and the MCP boundary remain separate and independently testable.

  • High-level direction: Raskadr is designed to grow beyond raw timeline commands into repeatable editing workflows and automated quality checks.

Raskadr uses capcut-cli as a confined low-level adapter. Raskadr adds the MCP interface, edit-plan lifecycle, project safety boundaries, transaction checks, and future AI editing workflows around that engine.

Current capabilities

Raskadr 0.1.0 currently supports:

  • automatic discovery of the local CapCut desktop draft store;

  • listing CapCut projects and basic metadata;

  • inspecting tracks, segments, canvas settings, FPS, and timing;

  • read-only version, storage, editor-process, and structural lint checks;

  • versioned dry-run plans for split, trim, move, and delete;

  • stale-plan and concurrent-project-change detection;

  • frame-aware timeline invariants and overlap prevention;

  • isolated write verification against a copied project;

  • atomic save, post-write validation, snapshot restoration, and exact rollback verification.

No public MCP tool writes to the user's real CapCut drafts in this release.

MCP tools

Tool

Purpose

Writes to project

raskadr_health

Verify that Raskadr can locate the CapCut draft store

No

raskadr_list_projects

List local CapCut projects and basic metadata

No

raskadr_inspect_project

Inspect tracks, segment IDs, canvas, FPS, and timing

No

raskadr_check_compatibility

Check version support, storage layout, running editor processes, and lint results

No

raskadr_plan_edit

Validate and preview split, trim, move, and delete operations

No

Installation

Requirements

  • Node.js 20 or newer;

  • npm;

  • CapCut desktop with local project drafts;

  • an MCP-compatible client.

Build from source

git clone https://github.com/n1ghtmare-dev/raskadr-capcut-mcp.git
cd raskadr-capcut-mcp
npm ci
npm run check

Start the MCP server over stdio:

node dist/index.js

MCP client configuration

Add Raskadr as a stdio server in an MCP-compatible client's configuration. Replace the example path with the absolute path to your clone:

{
  "mcpServers": {
    "raskadr": {
      "command": "node",
      "args": [
        "/absolute/path/to/raskadr-capcut-mcp/dist/index.js"
      ]
    }
  }
}

Raskadr discovers the standard CapCut draft location automatically. To use a custom directory, pass an environment variable through the MCP configuration:

{
  "mcpServers": {
    "raskadr": {
      "command": "node",
      "args": [
        "/absolute/path/to/raskadr-capcut-mcp/dist/index.js"
      ],
      "env": {
        "RASKADR_CAPCUT_DRAFTS_DIR": "/absolute/path/to/com.lveditor.draft"
      }
    }
  }
}

Example prompts

Once the server is connected, an MCP client can use requests such as:

List my local CapCut projects.
Inspect the tracks and clip timings in the project named "Product demo".
Check whether "Product demo" is safe and compatible for editing.
Create a dry-run plan that splits segment "segment-1" at 12.5 seconds,
moves "segment-2" to 18 seconds, and show the before/after timeline.

The MCP client should call raskadr_list_projects and raskadr_inspect_project first to obtain exact project and segment identifiers.

Safety model

CapCut draft formats are version-sensitive, and a project that successfully saves can still be structurally damaged. Raskadr therefore fails closed when safety evidence is missing or inconsistent.

Implemented safeguards include:

  • project-root confinement and path traversal rejection;

  • symbolic-link refusal for projects, draft JSON, and isolated workspaces;

  • no-follow file access and concurrent-change detection;

  • bounded-memory fingerprints for large project trees;

  • strict runtime validation at the MCP and application boundaries;

  • project, fingerprint, FPS, operation-ID, and timing validation;

  • refusal while CapCut is running or compatibility checks fail;

  • isolated full-project copies and immutable snapshots;

  • free-disk-space checks before creating working copies;

  • atomic save and structural validation through the low-level adapter;

  • rollback verification and retention of recovery evidence when rollback cannot be proven;

  • transactional in-memory edits that leave the source object unchanged on failure.

Architecture

Raskadr follows an inward dependency rule:

MCP boundary → CapCut adapters → application use cases → domain
                         ↘ safety infrastructure ↗

The domain and application layers do not depend on CapCut, MCP, Zod, the filesystem, or Node.js runtime APIs. See the architecture documentation for the complete edit-plan lifecycle and safety invariants.

Roadmap

Planned high-level AI video editing capabilities include:

  1. media ingestion and reusable analysis caches;

  2. transcription, silence, pause, filler-word, scene, and speaker detection;

  3. automatic talking-head and short-form first cuts;

  4. animated captions, B-roll, zooms, punch-ins, overlays, and reframing;

  5. beat-synchronized cuts and voice/music balancing;

  6. preview rendering and automated visual, timing, and audio QA;

  7. constrained iterative improvement;

  8. editable CapCut project delivery with an edit decision report.

See the detailed Raskadr roadmap.

Development

Install dependencies and run every reliability gate:

npm ci
npm run check

Run the test suite with coverage:

npm run test:coverage

Run the TypeScript MCP server during development:

npm run dev

The project uses strict TypeScript settings, architecture boundary tests, MCP integration tests, filesystem safety tests, isolated write/rollback tests, and randomized frame-rate and clip-speed invariants. CI runs the full check on Node.js 20 and 22.

Compatibility and limitations

  • The current safety round-trip has been verified against a copied CapCut 6.7 desktop project on macOS.

  • Other CapCut versions and operating systems require additional compatibility fixtures.

  • split and trim reject clips with keyframes or attached materials that cannot yet be redistributed safely.

  • Deleting a segment does not yet garbage-collect shared materials.

  • Caption generation, media analysis, B-roll, beat detection, audio mixing, preview rendering, and real-project mutation are roadmap features, not 0.1.0 capabilities.

License and trademarks

The source code is licensed under AGPL-3.0-only.

The Raskadr name and logos are not granted under the software license. See TRADEMARKS.md and NOTICE.

Raskadr is independent software and is not affiliated with, sponsored by, or endorsed by ByteDance or CapCut. CapCut is referenced only to describe software interoperability.

Available Tools

5 tools
raskadr_check_compatibilityA

Run read-only version, storage, editor-process, and timeline integrity checks before any edit is planned.

Inputs: project (required).

raskadr_healthA

Check whether Raskadr can find the local CapCut draft store. This tool never writes files.

Inputs: no named parameters.

raskadr_inspect_projectA

Inspect tracks, segment ids, and timing for one CapCut project without writing files.

Inputs: project (required).

raskadr_list_projectsA

List local CapCut desktop projects without modifying them.

Inputs: no named parameters.

raskadr_plan_editA

Validate and preview split, trim, move, and delete operations without writing to the CapCut project.

Inputs: project (required), operations (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools have clear, distinct responsibilities: list projects, inspect a project, and plan an edit are easy to tell apart. However, raskadr_health and raskadr_check_compatibility overlap somewhat as both are read-only environment/integrity checks, which could cause an agent to pick the wrong one.

    Naming Consistency4/5

    All tools share the raskadr_ prefix and use snake_case, with most following a verb_noun pattern like list_projects and inspect_project. raskadr_health breaks that pattern slightly by using a noun instead of a verb.

    Tool Count5/5

    Five tools is well-scoped for a read-only CapCut draft planning server. Each tool covers a distinct stage: health check, listing, inspection, compatibility validation, and edit planning.

    Completeness5/5

    The tool set forms a complete read-only workflow: verify access, list projects, inspect a project, check compatibility, and preview edits. Since the server explicitly avoids writing files, no CRUD operations are missing for its stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables reading and creating projects in a local CapCut draft library through natural language — listing timelines, checking for missing media, and generating new edits from clips, with cuts automatically matched to the beat of a track. It works by cloning an existing draft as a structural template, so new projects inherit CapCut's undocumented file format.
      6
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables reading and editing CapCut desktop draft projects, including adding/moving/trimming/splitting clips, text, audio, images, filters, transitions, masks, keyframe animation, audio fades, stickers, setting transforms, validation, and saving with backups.
      28
      MIT