Skip to main content

ChatCut MCP Server 🎬🤖

License: MIT Python: 3.10+ Model Context Protocol: 1.0

ChatCut MCP Server is a Model Context Protocol (MCP) server that empowers AI coding agents (such as Claude Code, Cursor, Codex, or Antigravity) with local video editing, media processing, transcription, and hardware-accelerated rendering capabilities.

With this server, you can give your AI agent natural language instructions like "trim the silences from this video, overlay slide 2 at second 20, and render it using my GPU" or "transcribe this video, find the most engaging segment, and create a vertical 9:16 Short", and the agent will know exactly which tools to call to physically process the video on your local machine.


🛠️ Tools Reference

The server automatically registers the following tools with the MCP client:

Tool Name Arguments Description
detect_hardware None Auto-detects the system's active GPU (NVIDIA, Apple Silicon, Intel, AMD) and checks if FFmpeg has hardware encoders enabled.
parse_video_guidelines_excel file_path: str Parses an Excel video editing guidelines file and outputs the cut ranges and slide overlay times in seconds.
convert_pptx pptx_path: str, output_dir: str Converts a PowerPoint presentation to PNG slides and pre-scales them to $1920 \times 1080$ in a cache directory (significantly speeds up FFmpeg rendering).
transcribe_video_file video_path: str, gemini_api_key: str (optional), force_local: bool (optional) Transcribes a video file to JSON with timestamps. Uses the Gemini API (cloud-based, free/fast) or local Whisper (faster-whisper running on CPU or GPU).
find_short_clips transcript_json: str, gemini_api_key: str (optional) Analyzes the transcript text and identifies the 3 best 30-60 second clips for vertical Shorts/Reels/TikToks with hook explanations.
generate_vertical_crop_timeline timeline_json_path: str, start_time: float, end_time: float, crop_type: str (optional) Creates a vertical (9:16) 1080x1920 timeline configuration, cropping or fitting the main video for the specified time segment.
render_video_project timeline_json_path: str, output_mp4_path: str Renders the final video from the timeline configuration using FFmpeg with GPU-accelerated encoding (e.g. -c:v h264_nvenc).

🤖 INSTRUCTIONS FOR AI AGENTS (Claude Code / Codex / Antigravity)

If you are an AI agent reading this repository and the user has asked you to "Install this MCP server", follow these steps based on the user's operating system:

Step 1: Check System Dependencies

Ensure the user's system has python (>= 3.10), ffmpeg, and optionally libreoffice (required for .pptx conversions) installed. If they are missing, inform the user or request permission to install them.

Step 2: Locate the MCP Client Configuration File

Locate the configuration file corresponding to the application the user is using to converse with you:

  • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
  • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Desktop (Linux): ~/.config/Claude/claude_desktop_config.json
  • Claude Code (Global CLI): ~/.claude.json
  • Cursor (IDE): Configurable in the Settings -> Features -> MCP section of the graphical interface.

Step 3: Add the Server to Configuration

Read the configuration JSON file and append a new entry under the "mcpServers" key.

"chatcut": {
  "command": "uvx",
  "args": ["chatcut-mcp-server"],
  "env": {
    "GEMINI_API_KEY": "YOUR_OPTIONAL_API_KEY"
  }
}
"chatcut-local": {
  "command": "wsl",
  "args": [
    "-d", "Ubuntu",
    "-u", "parrot",
    "bash", "-c",
    "cd /home/parrot/video && venv/bin/chatcut-mcp-server"
  ],
  "env": {
    "GEMINI_API_KEY": "YOUR_OPTIONAL_API_KEY"
  }
}

Write the configuration back, preserving all other existing keys.


👨‍💻 HUMAN INSTALLATION GUIDE

If you have uv installed on your system, you can run the server instantly without a permanent installation using uvx:

uvx chatcut-mcp-server

Option B: Local Source Installation

  1. Clone the repository:
    git clone git@github.com:madrigal-a/chatcut-mcp-server.git
    cd chatcut-mcp-server
    
  2. Create a virtual environment and install the package in editable mode:
    python -m venv venv
    source venv/bin/activate  # On Windows use: venv\Scripts\activate
    pip install -e .
    
  3. Run the server:
    chatcut-mcp-server
    

📝 Additional System Requirements

  • LibreOffice headless: Required for automated PPTX to PDF conversions. On Ubuntu, install it using sudo apt-get install libreoffice.
  • Poppler-utils: Required by pdf2image to extract pages from PDF files. On Ubuntu, install it using sudo apt-get install poppler-utils.

Metadata

Release files for chatcut-mcp-server 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chatcut-mcp-server 0.2.1
File Size Uploaded Provenance Actions
chatcut_mcp_server-0.2.1.tar.gz 47.1 kB With provenance Details for chatcut_mcp_server-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chatcut-mcp-server 0.2.1
File Interpreter ABI Platform Actions
chatcut_mcp_server-0.2.1-py3-none-any.whl Python 3 none any Details for chatcut_mcp_server-0.2.1-py3-none-any.whl

Total release size: 96.6 kB

Release files / chatcut_mcp_server-0.2.1.tar.gz

Download URL chatcut_mcp_server-0.2.1.tar.gz
Size 47.1 kB
Tags Source
SHA-256 checksum
How to use checksums
74f13dadd2e3954f246cd8ec6a46d34c813b72928fe22ef67f23443c9d732cae
BLAKE2b-256 checksum
How to use checksums
eb41898db601b477248afd1f73dbb4a64a3e803b3ed1452e297543f87c38eaab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Release files / chatcut_mcp_server-0.2.1-py3-none-any.whl

Download URL chatcut_mcp_server-0.2.1-py3-none-any.whl
Size 49.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba239a2a5fe6c33c9732d3041d704fbb81157e882e6543a9d4a24e549aef62ec
BLAKE2b-256 checksum
How to use checksums
bdf3376401c9e1bb33a78ddf4d4cb2a452db8f36fd03724bf577c7e7e1543ce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Security for chatcut-mcp-server 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chatcut_mcp_server-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page