Repository avatar
Multimedia
v1.0.0
active

kapture-video

io.github.asaadmahmood/kapture-video

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

Documentation

Kapture Video

Kapture logo

Local MCP server built into the Kapture Mac screen recorder, so AI agents can record, edit, caption and export videos on-device.

Not williamkapke/kapture (an unrelated Chrome DevTools MCP, also published on npm as kapture-mcp). This repository documents the MCP server inside Kapture, the native macOS screen recorder at kapture.video.

This repository contains documentation and the MCP manifest only. It does not include the Kapture app source. The server ships inside the Mac app and is available while the app is running.

How it works

While Kapture is running it serves the Model Context Protocol over HTTP on the loopback interface:

http://127.0.0.1:8787/mcp?token=YOUR_TOKEN
  • Bound to 127.0.0.1 only — recordings never leave the machine
  • Token-gated (token= query parameter or Authorization: Bearer)
  • Token and ready-made client commands live in Kapture → Settings → Automation (⌘,). The editor toolbar MCP button opens the same pane.
  • Official docs: kapture.video/help/mcp
  • Live tool reference, generated from the same manifest the app serves: kapture.video/help/mcp/tools — 46 tools

Clients with first-class support in the app: Claude Code, Codex, Cursor, and Claude Desktop.

Install

  1. Download Kapture for Mac (Apple silicon, macOS 14 or later) and leave it running.
  2. Open Kapture → Settings → Automation (⌘,) and copy the pre-filled command for your client (the token is already filled in).
  3. Restart the client.

Claude Code

claude mcp add --transport http kapture "http://127.0.0.1:8787/mcp?token=YOUR_TOKEN"

Codex

Kapture can add itself: the Codex row in Settings → Automation has a Connect button. It writes the entry into ~/.codex/config.toml (used by the Codex app in ChatGPT, the Codex extension, and the codex CLI). Start a new Codex thread afterwards, and keep Kapture running.

From the command line, this does the same thing:

codex mcp add kapture --url "http://127.0.0.1:8787/mcp?token=YOUR_TOKEN"

Cursor and other HTTP MCP clients

Add this URL:

http://127.0.0.1:8787/mcp?token=YOUR_TOKEN

JSON shape for clients that take config:

{
  "mcpServers": {
    "kapture": {
      "type": "http",
      "url": "http://127.0.0.1:8787/mcp?token=YOUR_TOKEN"
    }
  }
}

Claude Desktop

Do not use Settings → Connectors → Add custom connector. That dialog adds a remote connector: Anthropic’s servers call the URL, so they cannot reach 127.0.0.1, and the dialog also refuses anything that is not https. The address is local on purpose.

Use the Connect button in Kapture → Settings → Automation. It writes the entry into Claude Desktop’s config, leaves any other servers in that file alone, and turns into Remove so you can take it out again. Quit and reopen Claude Desktop afterwards, and keep Kapture running.

If you would rather configure it by hand, the file is ~/Library/Application Support/Claude/claude_desktop_config.json (Settings → Developer → Edit Config), and the entry is:

{
  "mcpServers": {
    "kapture": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://127.0.0.1:8787/mcp?token=YOUR_TOKEN"]
    }
  }
}

mcp-remote bridges Kapture’s HTTP server to the stdio transport Claude Desktop launches. Restart Claude Desktop afterwards. Kapture must be running for the tools to appear.

The same mcp-remote config works for other clients that cannot speak HTTP MCP.

Token and port

YOUR_TOKEN is the token from the bottom of the Automation pane. Clients may also send Authorization: Bearer YOUR_TOKEN instead of the query parameter. The default port is 8787 and can be changed in the same pane. Regenerating the token in the app updates the Connect-button entries so the connection does not quietly stop working.

Tools

46 tools, generated from the same manifest the app serves. The full reference, with arguments and behaviour, is at kapture.video/help/mcp/tools.

App and recording

ToolWhat it does
get_app_statusWhere Kapture is right now: recording state, whether the editor is open, the active project, and permission status.
get_permissionsStatus of every macOS permission Kapture uses.
request_permissionAsks for one permission, optionally opening System Settings.
activate_appBrings Kapture to the front, optionally opening a specific window.
list_capture_sourcesDisplays, windows, cameras and microphones available to record.
start_recordingStarts a screen recording. Returns once capture is live.
control_recordingPause, resume, stop, discard or restart the running recording, or stamp a marker.
get_recording_statusState, elapsed time and countdown of the current recording.

Projects and timelines

ToolWhat it does
list_projectsRecently opened projects plus every .kapture package in the auto-save folder.
open_projectOpens a project in its own editor window.
make_project_from_takePromotes an appended take to a project of its own.
open_videoOpens an mp4/mov (or similar) as a new Kapture project.
get_projectThe full editable state of an open project.
save_projectWrites the project to its .kapture package.
manage_timelinesAlternative cuts of the same recording; nest, insert or extract clips.
get_edit_stateThe complete editable model of one timeline, with stable ids and a revision.
apply_edit_batchUp to 500 clip, audio-clip and settings patches in one request.
manage_shortcutsLists, sets or resets editor and recording shortcuts.

Playback and timeline edits

ToolWhat it does
control_playbackStarts or stops preview playback.
set_playheadMoves the preview playhead.
run_editor_actionRuns any keyboard-reachable editor verb by name.
trim_timelineSets the in and out points of the recording.
split_atAdds an edit point, cutting the clip in two without removing media.
delete_rangeRipple-deletes a span on every lane and shortens the output.
set_speedApplies a speed multiplier (0.25–8) to a range or the trimmed timeline.
reset_timeline_editsClears trim, cuts, splits and speed ramps. Zooms, masks and captions stay.

Zooms, masks and markers

ToolWhat it does
manage_zoomsZoom keyframes; auto rebuilds them from cursor and keyboard activity.
manage_masksBlur or spotlight a rectangle of the frame.
manage_markersTimeline markers (flags) that bookmark moments.

Look and sound

ToolWhat it does
set_canvasAspect ratio, output size, background, padding, crop, corner radius, shadow and 3D tilt.
set_cursorHow the recorded pointer is drawn.
set_cameraThe webcam overlay.
set_audioTrack levels and processing: mic, system audio, music, ducking and noise reduction.
manage_audioImport, list or delete narration on the audio lane.
manage_captionsOn-device transcription and caption editing.
set_shortcuts_overlayThe key-cap overlay built from captured keystrokes.
manage_presetsSaved looks reusable across projects.

Clips and analysis

ToolWhat it does
manage_clipsPictures, movies, titles and shape annotations on the timeline.
analyze_timelineSuggested highlight ranges from transcript, markers, zooms and activity.
create_reelsCuts several standalone timelines from the open recording or imported video.

Export

ToolWhat it does
list_export_presetsExport presets and quality tiers, with an estimated file size.
export_videoStarts an export and returns a job id immediately.
get_export_statusProgress of an export job.
cancel_exportStops a running export and deletes the partial file.
export_still_frameWrites one composed frame as a PNG.
get_export_historyEverything exported from this project, plus this session’s jobs.

Manifest

server.json is the MCP server metadata document (schema 2025-12-11). Publishing it to the official MCP Registry still requires a public package or a public remote URL; Kapture’s server is local-only (127.0.0.1), so this file is kept here as the source of truth for name, description and docs links.

Pricing

Recording and editing are free with no account. Free exports go up to 1080p at 30 fps with a watermark; all 46 agent tools are included. Pro is $10 per month or a $99 one-time licence for watermark-free exports up to 4K and 60 fps, with one licence covering two Macs. The $99 licence includes twelve months of new versions; the copy you have keeps working after that window.

Links

License

The documentation and server.json manifest in this repository are licensed under the MIT License. The Kapture Mac application is proprietary software of The Small Square LLC and is not included in this repository.

NPM
kapture-video-mcp
Install Command
npm install kapture-video-mcp