MCP server for autonomous macOS, iOS Simulator, and Android screen recording with frame extraction.
Project description
video-capture-mcp
macOS, iOS Simulator, and Android screen recording plus key-frame extraction for MCP-aware AI agents.
video-capture-mcp gives AI agents a stdio MCP server for recording short UI flows, checking macOS app-window visibility, moving the pointer for hover demos without clicking, and extracting frames with ffmpeg.
Features
- 3 OS recording backends in one MCP server: macOS, iOS Simulator, and Android.
- App-window-bounded macOS recording with activation and visible-region checks.
- Hover sequence API for UI demos that need mouse movement without clicks.
record_and_extractfor one-shot recording plus ffmpeg key-frame extraction.- FastMCP
Imageinline responses for extracted frames.
Requirements
- macOS 12 or newer.
- Python 3.11 or 3.12 for PyPI and
uvxinstalls. Homebrew installs its own Python dependency. ffmpegandffprobe.- Xcode Command Line Tools for iOS Simulator recording.
- Android platform-tools and
adbfor Android recording.
Installation
Option 1: uvx (zero install) [Recommended]
Claude Code:
claude mcp add --scope user --transport stdio video_capture -- uvx video-capture-mcp
Claude Desktop:
{
"mcpServers": {
"video_capture": {
"command": "uvx",
"args": ["video-capture-mcp"]
}
}
}
VS Code / Cursor:
{
"servers": {
"video_capture": {
"type": "stdio",
"command": "uvx",
"args": ["video-capture-mcp"]
}
}
}
Codex:
[mcp_servers.video_capture]
command = "uvx"
args = ["video-capture-mcp"]
Goose:
goose configure --name video_capture --command "uvx video-capture-mcp"
Option 2: pip
python3 -m pip install video-capture-mcp
claude mcp add --scope user --transport stdio video_capture -- video-capture-mcp
Codex:
[mcp_servers.video_capture]
command = "video-capture-mcp"
args = []
Option 3: Homebrew
brew install Corvus400/tap/video-capture-mcp
claude mcp add --scope user --transport stdio video_capture -- video-capture-mcp
Codex:
[mcp_servers.video_capture]
command = "video-capture-mcp"
args = []
macOS Permissions
See docs/permissions.md for full details.
- Screen Recording is required for
start_recording target=macosandstart_app_window_recording. - Accessibility is required for
move_pointerandhover_sequence. - Add the executable that launches the server to System Settings > Privacy & Security. For
uvxandpip, this is usually the Python interpreter for that environment. For Homebrew, it is the installedvideo-capture-mcpexecutable.
Quickstart (Claude Code)
-
Install
ffmpeg.brew install ffmpeg
-
Register the MCP server.
claude mcp add --scope user --transport stdio video_capture -- uvx video-capture-mcp
-
Ask Claude Code to call
mcp__video_capture__start_app_window_recordingwith:{ "app_name": "Finder", "duration_seconds": 3 }
Tools
| Tool | Purpose | Key args |
|---|---|---|
start_recording |
Start recording on selected target | target, duration_seconds, options |
stop_recording |
Stop a session and normalize orientation | session_id |
start_app_window_recording |
macOS app-window-bounded recording | app_name, duration_seconds |
get_window_region |
Activate and measure front-window visibility | app_name, min_visible_ratio |
hover_sequence |
Mouse-move sequence without clicks | points, hold_seconds, app_name |
move_pointer |
Single mouse-move without click | x, y |
extract_frames |
ffmpeg scene or fixed-fps frame extraction | video_path, mode, max_frames |
record_and_extract |
Record and extract in one call | target, duration_seconds, output_dir |
list_active_sessions |
List current recordings | none |
cleanup_stale_processes |
Reap recordings from dead previous server PIDs | none |
Detailed parameters and option schemas are in docs/tools.md.
Configuration
VIDEO_CAPTURE_MCP_OUTPUT_DIR: default output root for recordings whenoutput_pathis omitted. Defaults to the system temp directory undervideo-capture-mcp.
Troubleshooting
See docs/troubleshooting.md for TCC denial, missing ffmpeg, no booted Simulator, and unauthorized adb devices.
Development
See docs/development.md for clone, local install, tests, linting, package build, and the bin/video-capture-mcp from-source wrapper.
Security
See SECURITY.md. Report vulnerabilities through GitHub Private Security Advisories.
Explicit output_path values are treated as trusted MCP client input. Use MCP client approvals and filesystem policy to control where agents may write.
License
MIT. See LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file video_capture_mcp-0.1.1.tar.gz.
File metadata
- Download URL: video_capture_mcp-0.1.1.tar.gz
- Upload date:
- Size: 32.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8b5c0c747369d886847fd445ef01adb1d908ffc1d8df20a3e42d5d59d9f199
|
|
| MD5 |
e2811dfed186ba351157fd7dda802db1
|
|
| BLAKE2b-256 |
02d291aced417284c4a362aa6e8bde601d8bac1c67bda70e536bbf46c7c85f24
|
Provenance
The following attestation bundles were made for video_capture_mcp-0.1.1.tar.gz:
Publisher:
publish.yml on Corvus400/video-capture-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
video_capture_mcp-0.1.1.tar.gz -
Subject digest:
2c8b5c0c747369d886847fd445ef01adb1d908ffc1d8df20a3e42d5d59d9f199 - Sigstore transparency entry: 1565502959
- Sigstore integration time:
-
Permalink:
Corvus400/video-capture-mcp@9a61012bb43f7fdfb5a92f2cd0950b5ee81282b1 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Corvus400
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a61012bb43f7fdfb5a92f2cd0950b5ee81282b1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file video_capture_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: video_capture_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb63c38d08f96e34685644fd425205b1a478214dc48ba034e1cf9116ae6f32fc
|
|
| MD5 |
2a07565a13ce872a4722ed0072136e3a
|
|
| BLAKE2b-256 |
93a706260df3528ea4fd76e924d6d29704c6c024f279f3032fa8d4c3a423ee5b
|
Provenance
The following attestation bundles were made for video_capture_mcp-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Corvus400/video-capture-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
video_capture_mcp-0.1.1-py3-none-any.whl -
Subject digest:
eb63c38d08f96e34685644fd425205b1a478214dc48ba034e1cf9116ae6f32fc - Sigstore transparency entry: 1565503037
- Sigstore integration time:
-
Permalink:
Corvus400/video-capture-mcp@9a61012bb43f7fdfb5a92f2cd0950b5ee81282b1 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Corvus400
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a61012bb43f7fdfb5a92f2cd0950b5ee81282b1 -
Trigger Event:
release
-
Statement type: