Skip to content
Back to search

danial-mcp-editor

A native macOS video editor that AI agents drive through MCP: cutting, colour, effects, HyperFrames motion layers, depth matte, image generation and segmented export. Swift 6, Metal, no dependencies.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/danialrp--danial-mcp-editor/badge.svg)](/listings/danialrp--danial-mcp-editor)

HTML

<a href="/listings/danialrp--danial-mcp-editor"><img src="/api/listings/danialrp--danial-mcp-editor/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Needs an Apple Silicon Mac with macOS 26 or later and the Command Line Tools (Xcode is optional).

scripts/build-app.sh
open "build/Danial MCP Editor.app"

The MCP server runs inside the app. For agents without a window:

scripts/swift.sh build -c release --product dme
.build/release/dme info

`dme info` prints how to connect an MCP client. Agents start with [`agent_onboard`](docs/agent-guide.md); the full guide is [docs/agent-guide.md](docs/agent-guide.md).

Keeping macOS permissions across rebuilds

An ad-hoc signed app looks new to macOS after every build, so privacy grants (Full Disk Access, the microphone) are lost. Create a code-signing certificate once in Keychain Access (Certificate Assistant › Create a Certificate, type *Code Signing*, name `DME Local Signing`) and `build-app.sh` signs with it.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 137 lines
  1. <div align="center">
  2. # Danial MCP Editor
  3. **A native macOS video editor that AI agents drive through MCP, and people drive with a timeline.**
  4. ![macOS 26+](https://img.shields.io/badge/macOS-26%2B-000000?logo=apple&logoColor=white)
  5. ![Apple Silicon](https://img.shields.io/badge/Apple%20Silicon-native-555555)
  6. ![Swift 6](https://img.shields.io/badge/Swift-6%20strict%20concurrency-F05138?logo=swift&logoColor=white)
  7. ![MCP](https://img.shields.io/badge/MCP-150%2B%20tools-6E56CF)
  8. ![Metal](https://img.shields.io/badge/render-Metal-8A8A8A)
  9. ![No dependencies](https://img.shields.io/badge/dependencies-none-2EA44F)
  10. ![License MIT](https://img.shields.io/badge/license-MIT-blue)
  11. </div>
  12. Every capability is an MCP tool before it is a button. An agent can take a raw
  13. recording to a finished, colour-graded, motion-designed Reel without a window
  14. open; the owner can open the same project in the app, scrub, cut and tweak by
  15. hand, and every click runs the very tool the agent would call. One journal,
  16. one undo history, one render engine for both.
  17. It is built for one production workflow: talking-head Reels, course lessons
  18. and long YouTube videos. Features that workflow does not use are left out on
  19. purpose.
  20. ## What it does
  21. | Area | What it gives you |
  22. |---|---|
  23. | **Cut** | Timeline with CapCut's keys, snapping, ripple on the main track, speed with pitch kept, join fades, automatic pause removal from rules, loudness to a target |
  24. | **Grade** | The Edits Adjust panel (Adjust, White Balance, HSL, Style), picked colours, looks shared by clips or tracks, saved profiles, live preview while a slider moves, colour statistics and reference matching for agents |
  25. | **Animate** | Effect plug-ins that are just a folder (manifest + Metal shader), transform keyframes for zooms, freeze frames, still pictures with transparency |
  26. | **Motion graphics** | HyperFrames (HTML and GSAP) compositions as timeline layers, rendered in slices so a fix re-renders only its part |
  27. | **Depth** | A person matte (Apple Vision, or imported SAM masks) puts motion elements *behind* the speaker, with a lit outline and a soft shadow on the wall |
  28. | **Accent colour** | A native picker for the motion-graphics accent: solid or gradient, eyedropper on the video frame, WCAG contrast, CSS out |
  29. | **Sound** | Voice, music and sound-effect tracks, extract audio for J and L cuts, voice-over recording, transcripts that stay on the right words through every cut |
  30. | **Reference downloads** | A post from YouTube, Pinterest, Instagram or X by its link, in the app or through MCP: download, contact sheet, captions and loudness for an agent studying a style, then into the Trash |
  31. | **Images** | A built-in browser agents drive to generate pictures (Google AI Studio, Nano Banana Pro at 4K, every aspect ratio, retries on its own); results land in the media pool |
  32. | **Export** | Segmented, resumable, cached: an interrupted export keeps its finished work, a small edit re-renders only its segments. HEVC 10-bit HLG, H.264, ProRes |
  33. ## How it fits together
  34. <p align="center"><img src="docs/overview.svg" alt="Agents and the app call the same tools; commands go through the journal into the project, which the composition builder and the Metal render graph turn into the player and the export." width="880"></p>
  35. - **`EditorCore`**: the data model, time maths and commands. Pure Swift, deterministic: replaying the journal gives the identical project.
  36. - **`EditorKit`**: command bus, journal, undo, settings, the tool catalog.
  37. - **`MediaEngine`**: AVFoundation and Metal: composition, rendering, export, mattes, HyperFrames, the browser.
  38. - **`MCPServer`**: JSON-RPC over HTTP and stdio, written in-house.
  39. - **`dme`**: the editor without a window. **`EditorApp`**: the window.
  40. ## Measured
  41. On an Apple Silicon laptop, from real 4K 60 fps phone footage:
  42. | Job | Result |
  43. |---|---|
  44. | 60 s Reel, 30 cuts, look, zoom, picture overlay, SFX → 1440×2560 60 fps HEVC HLG | **35.6 s** (1.7× real time), 262 MB peak memory |
  45. | 4K 60 fps HEVC export | 1.3× real time |
  46. | 1080p 30 H.264 lesson export | 5.3× real time |
  47. | 2,000-clip timeline built in one batch over HTTP | 218 ms |
  48. | Hard kill mid-edit | nothing lost (journal replay) |
  49. | 4K frame with a Gaussian blur | 8.3 ms |
  50. | Automated tests | 148 unit and render tests, 92 UI checks on the live window |
  51. ## Keys
  52. CapCut's, from a keymap file you can change (`keymap.set`):
  53. | Key | Action | Key | Action |
  54. |---|---|---|---|
  55. | Space | Play / pause | ⌘B | Split selected clips' tracks at the playhead |
  56. | Q / W | Delete to the clip's start / end | ⌫ | Delete the selection |
  57. | ← → | One frame (⇧ ten) | ↑ ↓ | Previous / next cut |
  58. | Home / End | Start / end of the timeline | M | Marker |
  59. | ⌘C / ⌘V | Copy / paste at the playhead | ⌘D | Duplicate |
  60. | ⌘A / Esc | Select all / none | , / . | Nudge one frame |
  61. | ⌘= / ⌘- / ⇧Z | Zoom in / out / fit | R | Record voice-over |
  62. | ⇞ / ⇟ / ↩ | Start or end of the clip | ⌘Z / ⇧⌘Z | Undo / redo |
  63. | ⌘/ | All shortcuts (Help menu) | ⌥-drag on ruler | Mark a range; ⌫ deletes it |
  64. ## Quick start
  65. Needs an Apple Silicon Mac with macOS 26 or later and the Command Line Tools
  66. (Xcode is optional).
  67. ```bash
  68. scripts/build-app.sh
  69. ```
  70. ```bash
  71. open "build/Danial MCP Editor.app"
  72. ```
  73. The MCP server runs inside the app. For agents without a window:
  74. ```bash
  75. scripts/swift.sh build -c release --product dme
  76. ```
  77. ```bash
  78. .build/release/dme info
  79. ```
  80. `dme info` prints how to connect an MCP client. Agents start with
  81. [`agent_onboard`](docs/agent-guide.md); the full guide is
  82. [docs/agent-guide.md](docs/agent-guide.md).
  83. ### Keeping macOS permissions across rebuilds
  84. An ad-hoc signed app looks new to macOS after every build, so privacy grants
  85. (Full Disk Access, the microphone) are lost. Create a code-signing certificate
  86. once in Keychain Access (Certificate Assistant › Create a Certificate, type
  87. *Code Signing*, name `DME Local Signing`) and `build-app.sh` signs with it.
  88. ## Development
  89. ```bash
  90. scripts/swift.sh build
  91. ```
  92. ```bash
  93. scripts/swift.sh test
  94. ```
  95. Contributors and coding agents start with [AGENTS.md](AGENTS.md). The design
  96. lives in the documents and changes with the code:
  97. - [Requirements](docs/requirements.md): what the editor must do
  98. - [Architecture](docs/architecture.md): how it is built
  99. - [MCP tools](docs/mcp-tools.md): every tool
  100. - [Roadmap](docs/roadmap.md): phases, exit checks and what is open
  101. - [Phase 0](docs/phase0.md): the measurements behind the design
  102. ## License
  103. [MIT](LICENSE)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.