iMovie MCP Server
Controls iMovie on macOS via AppleScript for automated video editing, including creating projects, trimming and arranging clips, adding transitions, and exporting.
Uses OpenAI Whisper API for accurate speech-to-text transcription with word-level timestamps and GPT-4o for analyzing transcripts to create coherent narratives and edit decisions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@iMovie MCP ServerCreate a 2-minute highlight reel from the videos in my watch folder."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
iMovie MCP Server
An MCP (Model Context Protocol) server that enables AI-powered video editing with iMovie on macOS. Drop videos in a folder, ask an AI to create a coherent story, and watch it automatically edit in iMovie.
Features
π Folder Watching: Automatically detects new videos in a watch folder
ποΈ Transcription: Uses OpenAI Whisper for accurate speech-to-text with timestamps
π§ AI Story Analysis: GPT-4o analyzes transcripts and creates compelling narratives
π¬ iMovie Automation: Controls iMovie via AppleScript to execute edits
β¨ Smart Editing: Automatically trims, arranges, and adds transitions
Installation
Prerequisites
macOS with iMovie installed
Node.js 18+
ffmpeg (
brew install ffmpeg)OpenAI API key
Setup
Clone this repository:
git clone <repo-url>
cd imovie-mcp-serverInstall dependencies:
npm installBuild the project:
npm run buildSet environment variables:
export OPENAI_API_KEY="your-key-here"
export IMOVIE_WATCH_FOLDER="$HOME/Movies/iMovie MCP Input" # optional, defaults to ~/Movies/iMovie MCP InputUsage with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"imovie": {
"command": "node",
"args": ["/path/to/imovie-mcp-server/dist/index.js"],
"env": {
"OPENAI_API_KEY": "your-key-here"
}
}
}
}Available Tools
1. scan_videos
Scan the watch folder for video files.
2. transcribe_videos
Transcribe videos using Whisper API with word-level timestamps.
Parameters:
videoPaths: Array of video file paths
3. analyze_story
Analyze transcripts and create a coherent storyline.
Parameters:
transcripts: Map of video paths to transcription datatargetDuration: Target duration in seconds (optional)style:"chronological","thematic", or"highlights"(optional)focusTopics: Array of topics to focus on (optional)
4. create_imovie_project
Create a new iMovie project.
Parameters:
name: Project name
5. apply_edits
Apply edit decisions to create the final video.
Parameters:
projectName: iMovie project nameedits: Array of edit decisions with sourceVideo, startTime, endTime, positionaddTransitions: Whether to add transitions (optional)
6. export_project
Export an iMovie project to a file.
Parameters:
projectName: iMovie project nameoutputPath: Export destinationquality:"high","medium", or"low"(optional)
7. auto_edit_videos β
Full pipeline: Transcribe β Analyze β Edit in one command.
Parameters:
videoPaths: Array of video file pathsprojectName: Name for the iMovie projecttargetDuration: Target duration in seconds (optional)style: Editing style (optional)addTransitions: Add transitions between clips (optional)
Example Workflow
Drop videos in
~/Movies/iMovie MCP Input/Ask Claude:
"I just dropped 5 interview videos in my watch folder. Can you create a 3-minute highlight reel that tells a story about my startup journey?"
Claude will:
Scan for videos
Transcribe each one
Analyze the content
Create an iMovie project
Trim and arrange clips
Add transitions
Export the final video
Architecture
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β Videos ββββββΆβ Transcribe ββββββΆβ Analyze β
β Folder β β (Whisper) β β (GPT-4o) β
βββββββββββββββ ββββββββββββββββ ββββββββ¬βββββββ
β
Edit Decisions
β
βΌ
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β Export βββββββ iMovie βββββββ Execute β
β Video β β (AppleScript)β β (MCP) β
βββββββββββββββ ββββββββββββββββ βββββββββββββββLimitations
iMovie's AppleScript support is limited compared to Final Cut Pro
Some advanced editing features may not be available
Requires macOS (iMovie is Mac-only)
iMovie must be installed and accessible
Future Enhancements
Support for image overlays and B-roll
Background music selection
Custom title templates
Integration with other video editors (Final Cut Pro, DaVinci Resolve)
Real-time preview before export
Custom transition effects
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aspectrr/imovie-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server