Kapture Video

v1.0.0
io.github.asaadmahmood/kapture-video Checked 4 days ago Published 8 days ago

Local MCP server in the Kapture Mac app for recording, editing and exporting screen videos.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_edit_state Read complete editor state

Read the complete native editable timeline model, stable IDs, projectID, revision and every editor action. Includes all keyframe poses, easing, per-animation blur, caption styles, audio processing and timeline canvas settings. Use before apply_edit_batch. No selection or playhead changes. Times use {value,timescale}; animation times are clip-local seconds. Arrays use the native Codable schema returned here.

ParameterTypeDescription
timelineIDstring

apply_edit_batch Apply coordinated edits atomically

Preferred for coordinated edits: update up to 500 clips, audio clips or timeline settings in ONE request, without seeking, selecting, closing or reopening the project. Requires projectID and revision from get_edit_state. All edits are staged and validated before one commit; failures apply nothing. Patch objects merge; arrays replace; null removes an optional field. animations is the complete array of {id,start,duration,easing,toLayout,toOpacity,motionBlurShutter?,toTilt?,toPlate?}. layoutRect/opacity are the explicit starting pose; each animation supplies its ending pose. Off-canvas positions…

ParameterTypeDescription
edits *array
projectID *string
revision *string
dryRunboolean

manage_shortcuts Read and change keyboard shortcuts

Read all native editor/recording shortcuts or set/reset one. Uses the app's shared shortcut store and immediately reloads global keys. Conflicts swap bindings exactly as the UI does. Copy the chord structure from list; a recording chord requires hardware keyCode. Editor chord can be omitted to clear it.

ParameterTypeDescription
action *string
chordobject
idstring
scopestring

get_app_status Kapture status

Where Kapture is right now: recording state, whether the editor is open, the active project, and permission status. Call this first when you are unsure what the app is doing.

ParameterTypeDescription
refreshPermissionsbooleanRe-probe permissions, which can show a system prompt. Default false.

get_permissions Get permissions

Status of every macOS permission Kapture uses (screen recording, camera, microphone, accessibility, input monitoring, speech recognition).

ParameterTypeDescription
refreshbooleanRe-probe rather than using the cached state. Default true.

request_permission Request permission

Asks for one permission. Screen Recording, Accessibility, and Input Monitoring can only be granted by the user in System Settings — pass openSystemSettings to take them there.

ParameterTypeDescription
permission *string
openSystemSettingsbooleanOpen the relevant System Settings pane instead of prompting in-app.

activate_app Show a window

Brings Kapture to the front, optionally opening a specific window. Pass path, name, or id with window 'editor' to focus that open project.

ParameterTypeDescription
idstringFocus an open project by its id.
namestringFocus an open project by name.
pathstringFocus the editor for this .kapture package.
windowstringDefault 'current' — just activate. 'recorder' opens the capture dock.

list_capture_sources List capture sources

Displays, windows, cameras, and microphones available to record, plus the app's current capture defaults. Use the ids from here with start_recording.

ParameterTypeDescription
windowLimitintegerCap on returned windows. Default 60.

start_recording Start recording

Starts a screen recording. Returns once capture is live (after the countdown). Stop it with control_recording, which creates a project and opens the editor.

ParameterTypeDescription
areaobjectRequired for mode 'area'. Screen points, top-left origin.
automaticallyCreateZoomsbooleanRun auto-zoom analysis when the recording stops.
camerabooleanRecord the webcam as a separate track. Default false.
cameraDeviceIDstring
countdownSecondsintegerCount-in before capture starts. 0 skips it.
displayIDintegerFrom list_capture_sources. Defaults to the main display.
frameRatenumber30 or 60. Defaults to the app's preference.
microphonebooleanRecord the microphone. Default false.
microphoneDeviceIDstring
modestringWhat to capture. Default 'display'.
systemAudiobooleanRecord system audio. Default false.
windowIDintegerRequired for mode 'window'.

control_recording Control recording

Pause, resume, stop, discard, or restart the running recording, or stamp a marker/zoom mark into it. 'stop' finalises the take, creates a project, and opens the editor.

ParameterTypeDescription
action *string'flag' drops a timeline marker at this instant; 'zoomMark' asks auto-zoom to push in here; 'discard' deletes the take.

get_recording_status Recording status

State, elapsed time, and countdown of the current recording.

list_projects List projects

Recently opened projects plus every .kapture package in the app's auto-save folder.

open_project Open project

Opens a project in its own editor window. Other open projects stay put — call open_project again to work in two at once, then copyClips / pasteClips to move clips between them. Identify it by path, by name (fuzzy, most recent wins), or by a recent-project id from list_projects. Opening one that is already showing just brings that window forward. Pass foreground: false to open it behind whatever the user is working in.

ParameterTypeDescription
foregroundbooleanDefault true. false opens the editor window without bringing Kapture in front of the user's work.
idstringRecent-project id from list_projects.
namestringProject name or part of it.
pathstringFull path to a .kapture package.

make_project_from_take Make project from take

Promotes an appended take to a project of its own, where that take is the recording rather than a clip sitting on someone else's timeline — so its event log is the project's, and the pointer, the zooms, masks and the keystroke overlay all apply to it with no special case. Copies the take's picture, camera, narration, system audio, event log and any zooms it already had; the project it came from is left exactly as it was. With one take in the project you need pass nothing.

ParameterTypeDescription
clipIdstringThe take clip's id. Optional when the project holds only one take.

open_video Open a video file

Opens an mp4/mov (or similar) as a new Kapture project and shows the editor — the same as File → Open Video. Use this when the input is a long finished video rather than a .kapture recording. Then analyze_timeline and create_reels to cut it into shorts.

ParameterTypeDescription
path *stringFull path to the video file.

get_project Get project

The full editable state of an open project: canvas (including crop and output size), cursor, camera, audio, captions, timelines, counts, playhead, and source media. Defaults to the frontmost window; pass path, name, or id to read another that is also open.

ParameterTypeDescription
idstringRead an open project by its id.
includeTimelineDetailbooleanInclude trim/cuts/splits/clips. Default true.
namestringRead an open project by name.
pathstringRead this open .kapture package instead of the frontmost window.

save_project Save project

Writes the project to its .kapture package. Optionally renames it or saves to a new path.

ParameterTypeDescription
namestringRename the project first.
pathstringSave to this path instead of the current one.

manage_timelines Manage timelines

Timelines are alternative cuts of the same recording — separate trims, zooms, captions and masks over one set of source media.

ParameterTypeDescription
action *string
clipIDsarrayFor extract: visual/text clip IDs to move into a new timeline; defaults to current selection. Relative timing is preserved, parent is not rippled.
namestringNew name, for add and rename.
secondsnumberFor insert: placement in the active timeline; defaults to playhead. Source timeline is copied as editable clips on free layers.
timelineIDstring
timelineNamestringIdentify a timeline by name instead of id.

control_playback Play / pause

Starts or stops preview playback. Needs the editor window open.

ParameterTypeDescription
action *string

set_playhead Move the playhead

Moves the preview playhead. Give one of seconds, sourceSeconds, normalized, or marker.

ParameterTypeDescription
markerstringJump to an edge, or to the next/previous marker, zoom, or split.
normalizednumberFraction through the timeline.
secondsnumberPosition on the edited timeline (output time).
sourceSecondsnumberPosition in the original recording.
timeBasestringHow to read 'seconds'. Default 'output' for this tool.

run_editor_action Run an editor action

Runs any keyboard-reachable editor verb by name — the escape hatch for anything the other tools do not cover. Needs the editor open. Names include playPause, splitAtPlayhead, rippleDeleteClip, deleteSelection, setTrimIn, setTrimOut, addZoomAtPlayhead, addFlagAtPlayhead, undo, redo, save, export, exportStill, copyToClipboard, fitTimeline, toggleInspector.

ParameterTypeDescription
action *stringAn EditorAction name; an invalid one lists the valid names.

trim_timeline Set trim

Sets the in and out points of the recording. Omitted edges keep their current value.

ParameterTypeDescription
endnumberTrim-out, in seconds.
startnumberTrim-in, in seconds.
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.

split_at Split

Adds an edit point, cutting the clip in two without removing any media. Splits the arranged clip when the timeline has been rearranged.

ParameterTypeDescription
seconds *numberWhere to cut.
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.

delete_range Delete a range

Ripple-deletes a span: the media is removed and everything after it closes up, shortening the output.

ParameterTypeDescription
end *numberRange end, in seconds.
start *numberRange start, in seconds.
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.

set_speed Set speed

Applies a speed multiplier (0.25–8) to a range, or to the whole trimmed timeline when no range is given. 1× removes the ramp.

ParameterTypeDescription
clearbooleanRemove every speed ramp.
endnumber
multipliernumberRequired unless clear is true.
startnumber
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.

reset_timeline_edits Reset timeline edits

Clears trim, cuts, splits, and speed ramps. Zooms, masks, and captions stay.

manage_zooms Manage zooms

Zoom keyframes push the camera into part of the frame for a span of time. 'auto' rebuilds the whole set from the recording's cursor and keyboard activity.

ParameterTypeDescription
action *string
centerobjectAlternative to targetRect: what to centre on, with scale.
durationnumberHow long it holds. Default 2.5s.
easingstring
idstringZoom id, for update and delete.
scalenumberMagnification when using center. Default 2×.
startnumberWhen the zoom begins, in seconds.
targetRectobjectExactly what to frame.
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.
transitionDurationnumberSeconds spent easing in and out.
zoomOnDwellbooleanFor 'auto': also zoom where the cursor merely rests. Off by default.

manage_masks Manage masks

Masks blur or spotlight a rectangle of the frame — used to redact something on screen. Without a duration a mask runs to the end of the recording.

ParameterTypeDescription
action *string
durationnumber
idstring
kindstringDefault blur.
rectobjectRequired when adding.
startnumberDefault 0.
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.

manage_markers Manage markers

Timeline markers (flags) bookmark moments. ⌥← / ⌥→ in the editor jump between them.

ParameterTypeDescription
action *string
idstring
labelstring
secondsnumberWhere to place it. Defaults to the playhead.
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.

set_canvas Set canvas look

The frame the recording sits in: aspect ratio, output size, background, padding, corner radius, shadow, 3D tilt, and crop. Only the fields you pass change.

ParameterTypeDescription
aspectRatiostring16:9, 9:16, 1:1, 4:3, or a custom w:h such as 21:9.
backgroundobject
backgroundBlurnumberSoftens an image or wallpaper background.
clearCropboolean
clearResolutionbooleanDrop the custom output size and use the aspect ratio's default.
contentAnchorstringWhere the recording's plate sits on the canvas. Matters on square and vertical canvases, where centring wastes the very space a caption or camera wants.
cornerRadiusnumber
cropRectobjectCrop the raw screen capture.
heightnumberOutput height in pixels.
paddingRationumberMargin around the recording, as a fraction of the short edge.
resolutionobjectExplicit output size in pixels, same as width + height.
shadowobjectDrop shadow; only the fields you pass change
tiltobjectLean the whole recording in 3D. Trimmed segments without a tilt of their own follow it; placed pictures never do.
widthnumberOutput width in pixels. Height can be omitted and is derived from the aspect ratio.

set_cursor Set cursor look

How the recorded pointer is drawn: style, size, smoothing, idle hiding, motion blur, click ripple, and click sounds.

ParameterTypeDescription
autoHideWhenIdleboolean
clickRippleEnabledboolean
clickSoundEnabledboolean
clickSoundStylestring
idleHideDelaynumberSeconds of stillness before hiding.
loopBackToStartboolean
motionBlurEnabledboolean
sizeMultipliernumber1.0 is life-size.
smoothingEnabledboolean
smoothingStrengthnumber
stylestring

set_camera Set camera bubble

The webcam overlay: whether it shows, its shape, crop, size, position, mirroring, border, and how much it shrinks during a zoom. Only works when the recording has a webcam track.

ParameterTypeDescription
aspectstringHow much of the webcam frame to keep (a centre crop, not a squash).
borderWidthnumber
cornerRadiusnumberFor shape 'roundedRect'.
dynamicLayoutEnabledbooleanLet the bubble move out of the way of on-screen activity.
enabledboolean
mirroredboolean
pointobjectFor position 'free'.
positionstring
shadowobjectDrop shadow; only the fields you pass change
shapestring
shrinkOnZoomnumber
sizeRationumberBubble size as a fraction of canvas width; 1 fills the frame (clamped to fit).

set_audio Set audio mix

Track levels and processing: microphone, system audio, and music volumes, loudness normalisation, noise reduction, ducking, and the music bed.

ParameterTypeDescription
clearMusicTrackboolean
duckingEnabledbooleanDip music and system audio under speech.
musicTrackPathstringAudio file to use as a music bed.
noiseReductionEnabledboolean
normalizeEnabledbooleanLoudness-normalise the mic track.
trackVolumesobject1.0 is unchanged; above 1 boosts.

manage_audio Manage voiceover

Import a narration file onto the audio lane, list clips, or delete one. Live recording is in the editor; this imports an existing file at the playhead (or at 'start').

ParameterTypeDescription
action *string
idstringClip id, for delete.
pathstringAudio file to import as a voiceover. Required for 'import'.
startnumberWhere to place the clip, in output seconds. Defaults to the playhead.

manage_captions Manage captions

On-device transcription and caption editing. 'generate' transcribes the recording's audio and can take a while on a long take. 'setStyle' changes the whole track's look; 'update' can restyle or retime one cue. 'export' writes the captions as they play in the edited video: plain text for drafting a post, or SRT / VTT as a subtitle file.

ParameterTypeDescription
action *string
applyToAllCuesbooleanFor 'setStyle': also clear per-cue overrides so every cue follows the track.
burnedInbooleanRender captions into the exported video. Required for 'setBurnedIn'.
clearStylebooleanFor 'update': drop this cue's own style.
durationnumber
endnumberCue end, or a filter upper bound for 'list'.
formatstringFor 'export'. Default text.
idstringCue id, for update and delete.
idsarraySeveral cue ids to delete.
limitintegerFor 'list': cap the cues returned.
overwritebooleanFor 'export': replace an existing file. Default false.
pathstringFor 'export': a file, or a directory to write into. Defaults to ~/Movies/Kapture Exports.
searchstringFor 'list': only cues containing this text.
startnumberCue start, or a filter lower bound for 'list'.
styleobject
textstringNew text for a cue.

set_shortcuts_overlay Set keystroke overlay

The key-cap overlay built from keystrokes captured during recording: whether it shows, where, how big, and whether plain keys count or only chords.

ParameterTypeDescription
enabledboolean
includesPlainKeysbooleanShow every keystroke, not just chords with ⌘/⌥/⌃.
pointobjectFor position 'free'.
positionstring
scalenumber

manage_presets Manage look presets

Saved looks — canvas, camera, cursor, zoom easing, audio processing, keystroke overlay and caption styling — reusable across projects. 'update' re-captures an existing preset from the project's current look. 'setDefault' makes one the starting look for every new recording ('clearDefault' reverts to factory defaults). 'listBackgrounds' returns the curated background names set_canvas accepts.

ParameterTypeDescription
action *string
idstringPreset id or name — identifies the preset for 'apply', 'update', 'setDefault' and 'delete'.
namestringPreset name — required for 'save'.

manage_clips Manage clips and annotations

Everything that sits on a timeline lane: imported pictures and movies, titles, and shape annotations (arrow, line, rectangle, ellipse). Import a file, crop its source (not a scale), move or resize its layout on the canvas, retime it, restack it onto another lane, hide it, or delete it. 'text' and 'shape' each add a clip when given no id and restyle one when given an id. Recording crop still lives on set_canvas cropRect.

ParameterTypeDescription
action *string
alignmentstringleft, center or right.
animationstringHow the words animate in.
backgroundColorstringHex, or 'clear' for none.
clearCropboolean
clearTiltbooleanFor 'layout': drop this clip's own tilt so a segment follows the recording again, or a picture lies flat.
closingGapbooleanFor 'delete': ripple later clips left. Default false.
colorstringShape colour as hex, e.g. '#EE3322'.
cropRectobjectNormalized source crop for an imported image or video.
durationnumberHow long a title or shape stays on screen, in seconds.
entrancestringHow the clip arrives. 'draw' traces a shape on, tail to head, and is shapes only.
entranceDurationnumberSeconds, 0.1-1.5. Default 0.4.
exitstringHow the clip leaves. 'draw' un-draws a shape; shapes only.
exitDurationnumberSeconds, 0.1-1.5. Default 0.4.
filledbooleanFill a rectangle or ellipse as well as stroking it.
fillsLayoutbooleanFor layout: crop imagery to fill its animated box; off preserves aspect fit.
flipbooleanSwap an arrow or line's tail and head, turning it back on itself.
fontNamestring
fontSizenumber
fontWeightstring
fromobjectWhere an arrow or line starts (normalized, top-left origin).
heightnumberTitle box height, normalized.
hiddenbooleanFor 'hide'. Default true.
idstringClip id. Omit on 'text' or 'shape' to add a new one.
layoutRectobjectWhere the clip sits on the canvas (normalized).
marginnumberGap from the edge when 'position' is used. Default 0.05.
motionBlurShutternumberFor layout: transform motion blur exposure in 30 fps frame units; 0 disables.
opacitynumberClip opacity 0-1. With an animation bar, the playhead chooses start vs end.
pathstringFile to import. Required for 'import' and 'intro'.
plateobjectFor 'layout' on a recorded segment: where its plate sits. With a keyframe bar, the playhead chooses start vs end, so two calls at two playheads animate the recording across the canvas.
positionstringNamed spot on the frame for a title, instead of layoutRect.
rotationnumberDegrees clockwise. Turns a rectangle or ellipse about its centre; an arrow or a line takes its angle from its two points instead.
scalesTextWithLayoutbooleanFor layout: scale title artwork with its animation instead of reflowing text.
secondsnumberFor 'duration', the clip's new length; for 'intro', how long a still image holds.
shapestringWhich shape to draw, for action 'shape'. Default 'arrow'.
startnumberWhere the clip begins, in output seconds. A new title or shape starts at the playhead if this is omitted.
textstringThe words, for action 'text'.
textColorstringHex, e.g. '#FFFFFF'.
thicknessnumberStroke weight in points against a 1080p frame, 1-80. An arrow tapers from a hair at its tail to this at its head.
tiltobjectFor 'layout': lean this clip in 3D. A recorded segment starts from the recording's tilt; a picture or movie starts flat.
toobjectWhere an arrow or line ends - the pointed end.
trackIndexintegerOverlay lane. The recording holds 0 and 1, so overlays start at 2. A busy lane is refused, naming the clip in the way.
uppercaseboolean
widthnumberTitle box width, normalized.

analyze_timeline Analyze for reels

Reads the open project's transcript, markers, zooms, and click/key activity and returns suggested highlight ranges. Does not transcode. If there are no captions yet, call manage_captions action generate first — speech is the strongest signal. Then pass the ranges to create_reels.

ParameterTypeDescription
cueLimitintegerHow many caption cues to include. Default 80.
includeActivitybooleanDefault true.
includeSuggestionsbooleanDefault true.
includeTranscriptbooleanDefault true.
maxCountintegerCap on suggested reels. Default 8.
maxDurationnumberLongest suggested reel, seconds. Default 45.
minDurationnumberShortest suggested reel, seconds. Default 8.

create_reels Create reels

Cuts several standalone timelines from the open recording or imported video. Each reel is its own timeline (trim + clips) ready to edit and export — nothing is re-encoded. Pass reels: [{start, end, name}] in source seconds, or useSuggested: true to take analyze_timeline's picks. verticalLook sets 9:16 at 1080×1920.

ParameterTypeDescription
aspectRatiostringApplied if verticalLook is false.
heightnumber
maxCountintegerWith useSuggested. Default 8.
maxDurationnumber
minDurationnumber
reelsarray
selectFirstbooleanSelect the first new timeline. Default true.
timeBasestringWhich clock the times are on. 'source' (default) is the original recording; 'output' is the edited timeline after trims, cuts, and speed.
useSuggestedbooleanIgnore reels and cut whatever analyze_timeline would suggest.
verticalLookbooleanSet the canvas to 9:16 at 1080×1920 after cutting.
widthnumber

list_export_presets List export presets

Export presets and quality tiers, with an estimated file size for the open project.

export_video Export video

Starts an export and returns a job id immediately — rendering runs in the app. Poll get_export_status until the state is completed or failed. Without a path it writes to ~/Movies/Kapture Exports.

ParameterTypeDescription
audioStemsbooleanAlso save the voice and system audio as separate 24-bit 48 kHz WAVs beside the video ("<name> voice.wav", "<name> system-audio.wav"), on the same edited timeline. Ignored for gif. Default false.
overwritebooleanReplace an existing file. Default true.
pathstringOutput file, or a directory to write into with a generated name.
presetstringDefault webBlog (H.264 MP4).
qualitystringDefault better.
revealInFinderboolean

get_export_status Export status

Progress of an export job — state, percentage, elapsed time, output path, and file size when it finishes. Omit jobID for the most recent one.

ParameterTypeDescription
jobIDstring

cancel_export Cancel export

Stops a running export and deletes the partial file.

ParameterTypeDescription
jobIDstringDefaults to the running job.

export_still_frame Export a still

Writes one composed frame as a PNG — the fastest way to see what an edit actually looks like. Defaults to the playhead.

ParameterTypeDescription
overwriteboolean
pathstringOutput file or directory.
revealInFinderboolean
secondsnumberOutput-timeline position of the frame.
sourceSecondsnumberPosition in the original recording.

get_export_history Export history

Everything exported from this project, plus this session's export jobs.