Edit videos with Cline
Cline is the open-source agentic extension for VS Code. Add PandaStudio to its MCP server list and you can record, edit, and export videos from the side panel.
Install PandaStudio + Cline
PandaStudio from writepanda.ai. Cline from the VS Code marketplace — search "Cline" and install. Sign in with your preferred model provider (Claude works best for multi-step tool use).
Enable PandaStudio's automation server + copy the token
PandaStudio's automation server is localhost-only and gated by a bearer token. To find your token:
- Open PandaStudio on your machine.
- Go to Settings → Automation.
- Toggle Enable automation server on. A bearer token will appear — copy it.
The token is a random 32-byte secret stored in your OS keychain. It never leaves your machine — agents only need it because the local HTTP server requires it on every request.
Open Cline's MCP settings
In VS Code, open the Cline panel (left sidebar icon), click the MCP Servers tab, and choose Edit MCP Settings. That opens a JSON file at:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.jsonInstall the PandaStudio Skill
The Skill teaches Claude (or whichever model you point Cline at) PandaStudio's full command surface. Run this once in your terminal:
npx skills add kamskans/pandastudio-skillsThe tool detects Cline is installed and copies the Skill to its skills directory. It covers all your other agents in one go too.
Paste in PandaStudio's MCP config
{
"mcpServers": {
"pandastudio": {
"command": "npx",
"args": ["-y", "@writepanda/mcp"],
"env": {
"PANDASTUDIO_TOKEN": "paste-your-token-here"
},
"disabled": false,
"autoApprove": []
}
}
}Replace paste-your-token-here with your token. Save — Cline hot-reloads the file and the server should appear in the MCP Servers tab with a green dot.
Drive PandaStudio from a chat
Open Cline's chat panel and try:
- "Open my latest recording, transcribe it, remove filler words and silences, then export an MP4."
- "Create a new 9:16 project, import the file at ~/Recordings/launch.mov, add bold captions, and preview it."
- "List all my projects from this week and tell me which one is longest."
Cline will ask permission for each tool call by default. If you trust the flow, add specific tool names to the autoApprove array in the config to skip the prompts.
Troubleshooting
- Server shows "Disconnected" — click it to expand the error. Most often: invalid token, malformed JSON, or Node not on PATH.
- Cline keeps asking permission — that's the safe default. Add tool names like
"system_status","project_list"toautoApprovefor read-only ones.