Insta360 Studio MCP Pro
Provides tools for interacting with Insta360 Studio on Windows, including reading and editing .insproj project JSON, managing clips and transforms, interacting with Studio's gRPC helper services for thumbnails and exports, and driving the GUI export dialog to produce finished video files.
Click on "Deploy 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., "@Insta360 Studio MCP Pro export my .insproj project via the GUI and tell me the file path"
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.
Insta360 Studio MCP Pro
An MCP server for Insta360 Studio (Windows) that goes past screenshot clicking: it reads and edits .insproj project files as JSON, talks to Studio's own gRPC helper services, and drives the real GUI export dialog when the API won't cooperate.
Built and tested against Insta360 Studio 6.0.8 on Windows 11.
Why this exists
The only other Insta360 Studio MCP server does UI automation and nothing else. Studio actually ships more than that:
Surface | What it is | Status |
| Plain JSON — tracks, clips, transforms, stitching | works, fully read/write |
| gRPC on a dynamic port: thumbnails + scene detection | works, verified |
| gRPC on a dynamic port: export/stitching | accepts jobs, never writes a file |
The GUI export dialog | Qt canvas | works — this is the export path that produces files |
The gRPC exporter is the interesting part and the disappointing part. Its full protobuf schema was recovered from the embedded descriptors in studio_worker.dll (see src/proto/export2.proto), and requests are accepted and parsed correctly — but StartExporting returns "running" and produces nothing. The GUI path is what actually exports. So this server exposes both, and the GUI path is the one to use.
Related MCP server: LosslessCut MCP
Tools
GUI automation (the export path that works)
Tool | What it does |
| Screenshot the window and report what's on screen: dialog open/closed, accent-coloured button positions, whether the player actually has content |
| Save a screenshot |
| Full GUI export: click the toolbar export button, click the dialog's export button, wait for the file to stop growing |
| Wait for a specific export to finish |
| Open a |
| Send a SendKeys chord to the window |
| Analyse an existing screenshot for buttons and player content |
Projects (.insproj JSON)
Tool | What it does |
| Find projects under the Studio project root |
| Read a project, summarised |
| List the media a project references |
| Read a clip's transform |
| Write a clip's transform |
| Change a clip's in/out points |
| Point a clip at a different source file |
gRPC services
Tool | What it does |
| Are Studio and its helper services running, on which ports |
| Which gRPC services/methods this server knows |
| Start an export via the Exporter2 gRPC service |
| Cancel a gRPC export |
| Keep-alive for the gRPC exporter |
| Render a thumbnail via gRPC |
| Remove a cached thumbnail |
| Keep-alive for the thumbnail service |
| Inspect the install directory |
How the GUI export works (and why it's not just clicking)
Studio's Qt canvas exposes no UI Automation tree — uia.ps1 returns nothing, and that's expected, not a bug. So the server drives the GUI deterministically instead of guessing coordinates:
Find the window and normalise its rect (
win32.ps1).Screenshot with
PrintWindow, not BitBlt — so it works while the window is occluded or behind another app.Decode the PNG in pure JS (
src/png.mjs, zlib only, no dependencies) and find Studio's primary action colour (#FFD200) by pixel mask. Connected components give the button's bounding box.Click by window-relative coordinates, so the same code works at any window position.
Watch the output folder until the file stops growing, then report its path and size.
No hardcoded coordinates, no vision model, no OCR. studio_ui_state also reports whether the player has content, using a variance test on the player region — that's how you tell "no video loaded" from "video loaded" without a screenshot in your face.
Install
git clone <this repo>
cd insta360-studio-mcp-pro
npm installRequirements:
Node.js ≥ 20
Windows (the GUI layer is Win32/PowerShell)
Insta360 Studio installed, default path
C:\Program Files\Insta360 Studio\PowerShell on PATH (ships with Windows)
No Python, no native modules, no build step.
Register with an MCP client
{
"mcpServers": {
"insta360-studio": {
"command": "node",
"args": ["C:\\path\\to\\insta360-studio-mcp-pro\\src\\server.mjs"],
"env": {
"INSTA360_STUDIO_DIR": "C:\\Program Files\\Insta360 Studio"
}
}
}
}Environment variables:
Variable | Default | Meaning |
|
| Studio install directory |
|
| Where projects live |
|
| Where screenshots are written |
Usage
Typical export flow, as an agent would do it:
studio_ui_state → is a clip loaded? is a dialog already open?
studio_ui_open_media → if the player is empty, load the file
studio_ui_export → click through the dialog and wait for the filestudio_ui_export returns the finished file's path and size. It needs Studio running with a clip loaded — if the player is empty, Studio has nothing to export and the dialog never appears.
Verified end-to-end
Export through studio_ui_export on Studio 6.0.8:
VID_20261112_051426_001.mp4 295,752,399 bytes
HEVC 3840×2160, 30.2 s, 78.4 Mbit/s, 905 framesBoth the module-level flow and the MCP tool call were run and checked with ffprobe.
Tests
npm test # protobuf wire format + .insproj reader — 12 tests, no Studio needed
npm run probe # live MCP handshake, tool list, gRPC port discovery
npm run probe:ui # live GUI probe: window, screenshot, button detection
npm run probe:export # SLOW: drives a real export (minutes, writes a big file)probe:export is opt-in on purpose — it produces a real multi-hundred-MB file and takes minutes.
What was learned about Studio's gRPC API
Kept here because it's hard to find anywhere else:
Two helper services run as separate processes:
studio-exporter-service.exeandstudio-thumbnail-service.exe, each on a dynamically assigned localhost port, bound to the parent Studio PID with--pid=and--enable_heartbeat.gRPC reflection is not enabled (
UNIMPLEMENTED).The protobuf descriptors are compiled into
studio_worker.dllas plain-textFileDescriptorProtoblobs — recoverable by scanning for the.protoname strings and walking the varint length prefix.src/proto/export2.protois reconstructed from those.The live service is
service.Export2.Export2, notservice.Export.Export— the older descriptor in the same DLL is a decoy.StartExportingparses the request correctly (the echoed task id proves it) and returnsRUNNING, but never writes output. Status codes seen:0OK,2exporter start failure,1026no source file.Export logs under
%LOCALAPPDATA%\Insta360\...\export_*.logare compressed/encrypted — not readable for debugging.
The probe scripts that got us there are in research/grpc-probes/.
Limitations
Windows only. The GUI layer is Win32 + PowerShell.
gRPC export does not produce files. Use
studio_ui_export.GUI export needs a loaded clip. An empty player means nothing to export —
studio_ui_statetells you.The GUI layer assumes Studio's accent colour is
#FFD200. If a future version changes its theme, the button detector needs the new colour..insprojwrites are structural JSON edits; Studio must reload the project to see them.
License
MIT. See LICENSE.
Available Tools
25 toolsstudio_api_servicesA
List the gRPC services and methods this server knows about, with the port each one runs on.
Inputs: no named parameters.
studio_clip_repointC
Point a clip at a different source file without touching the GUI.
Inputs: path (required), newUrl (required), clip, track, +2 more.
studio_clip_set_transformC
Change the camera view of a clip. Values are merged into the clip's camera_transform. Writes a .bak backup first.
Inputs: path (required), fov, yaw, clip, +5 more.
studio_clip_transformA
Read the camera view (euler pitch/roll/yaw, fov, dewarp mode) of one clip in a project.
Inputs: path (required), clip, track.
studio_clip_trimC
Set the in/out trim of a clip in frames.
Inputs: path (required), clip, track, backup, +2 more.
studio_exportA
Start an export through Studio's Exporter2 gRPC service. Builds the verified ExportParams tree (exportHeader + localExtraParams{exportType, videoExportParam[], imageExportParam{sourceGroup}}) and returns the decoded ExportReply (state, errCode, message, logPath). Studio must be running.
Inputs: sources (required), savePath (required), width, height, +14 more.
studio_export_cancelC
Cancel a running export by task id.
Inputs: taskId (required), timeoutMs.
studio_export_heartbeatC
Send a keep-alive heartbeat to the exporter service.
Inputs: count, exitApp.
studio_install_infoB
Report the Studio install directory contents: main executable, helper services and version metadata.
Inputs: no named parameters.
studio_list_projectsB
Find .insproj project files under the Studio project root (or a given directory).
Inputs: root.
studio_project_readB
Read a .insproj project and return its summary: fps, frame count, tracks, clips and their source files.
Inputs: path (required), includeClips.
studio_project_sourcesC
List every source file referenced by a project.
Inputs: path (required).
studio_statusA
Report whether Insta360 Studio and its gRPC helper services are running, on which ports, and whether the install path exists.
Inputs: no named parameters.
studio_thumbnail_heartbeatB
Send a keep-alive heartbeat to the thumbnail service.
Inputs: no named parameters.
studio_thumbnail_removeC
Drop a cached thumbnail from the thumbnail service.
Inputs: no named parameters.
studio_thumbnail_requestB
Ask Studio's thumbnail service to render a thumbnail or run scene detection for a source file.
Inputs: sourceFile (required), taskType, timeoutMs.
studio_ui_analyze_shotC
Analyse an existing screenshot file: accent button boxes and player emptiness.
Inputs: file (required).
studio_ui_captureB
Save a screenshot of the Studio window and return its path.
Inputs: out, mode, title.
studio_ui_clickB
Click at window-relative coordinates in the Studio window. Coordinates are relative to the window's top-left corner, matching what studio_ui_state's button boxes report.
Inputs: x (required), y (required), title, double.
studio_ui_exportA
Run a real GUI export end-to-end: click the toolbar's export button, click the dialog's primary button, then wait until the new file in the output folder stops growing. This is the path that actually produces video files — the gRPC exporter (studio_export) accepts jobs but writes nothing. A clip must be loaded and the export dialog must be reachable.
Inputs: stage, title, outDir, pollMs, +1 more.
studio_ui_moveC
Move and resize the Studio window to a fixed rectangle so click coordinates stay stable.
Inputs: x, y, title, width, +1 more.
studio_ui_open_mediaA
Open a media file (.insv/.mp4) or project (.insproj) in Insta360 Studio by launching the app with that path. Use this when studio_ui_state reports an empty player.
Inputs: file (required).
studio_ui_send_keysB
Send a key chord to the Studio window (SendKeys syntax, e.g. '^{s}' for Ctrl+S).
Inputs: keys (required), title.
studio_ui_stateA
Screenshot the Studio window and report what it shows: window rect, whether the export dialog is open, where the accent-coloured primary buttons are, and whether the player looks empty. This is the reliable way to answer 'is a video actually loaded?'.
Inputs: mode, title.
studio_ui_wait_exportC
Wait until a file in the output folder reaches a stable size, then return its path and size.
Inputs: file, outDir, pollMs, timeoutMs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Several clusters overlap: studio_ui_capture vs studio_ui_state vs studio_ui_analyze_shot all produce/consume screenshots of the same window, and studio_export vs studio_ui_export vs studio_ui_wait_export describe two export paths plus a wait that is already part of the GUI export. The descriptions do disambiguate (the gRPC exporter is explicitly called out as writing nothing) but an agent must read carefully to avoid picking the wrong export tool.
Almost everything follows a studio_<area>_<action> snake_case pattern with clear prefixes (ui, project, clip, export, thumbnail). Minor deviations are flat names like studio_status, studio_api_services, studio_install_info, and studio_export lacking the second-level noun used by its siblings.
25 tools is at the heavy end for what is essentially GUI automation plus a few gRPC services. Three near-identical heartbeat tools and a screenshot/analyze/state trio suggest consolidation would shrink the surface without losing capability.
The lifecycle is broadly covered: status/install discovery, project listing and reading, clip transform/repoint/trim, export both via gRPC and GUI, plus UI state and media opening. Gaps remain around writing or saving projects, adding/removing clips or tracks, and any explicit list of clips independent of a full project read.
Maintenance
Related MCP Connectors
Build, run, inspect, and continue AgentScript workflows on connected Super Chrome and Mac clients.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Read and edit DAW projects as an agent, save native Logic projects, convert projects between DAWs
Open-source AI video editor: cut, caption, clip and animate real Revline projects from your agent.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI agents to control Roblox Studio by launching/closing it, opening places, executing Luau, building scenes, scripts, and GUI, inserting Toolbox assets, and running Play Solo/Run playtests. It also supports scene inspection, property editing, output reading, and undo/redo of agent actions.50MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to inspect media and project files, create reviewable v2 projects, and perform verified native exports of selected segments as separate files through a private editor instance. It provides a small, safety-checked workflow that verifies output paths, streams, and durations with FFprobe.MIT
- AlicenseAqualityBmaintenanceEnables AI clients to drive local video editing projects through a CEP bridge, covering media ingest, sequence and timeline editing, effects, keyframes, captions, markers, audio, color, and exports across hundreds of discoverable tools. Ships context resources, guided prompts, and higher-level assembly workflows for agent-driven editing.5MIT
- AlicenseAqualityBmaintenanceEnables an agent to open Pixel Composer projects, inspect node graphs, edit input values, run console commands, and render all Export nodes.7MIT