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.

1

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).

2

Install Node.js if missing

bash
node --version

Need 18+. Get it from nodejs.org.

3

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:

  1. Open PandaStudio on your machine.
  2. Go to Settings → Automation.
  3. 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.

4

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:

macOS
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
5

Install 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:

bash
npx skills add kamskans/pandastudio-skills

The tool detects Cline is installed and copies the Skill to its skills directory. It covers all your other agents in one go too.

6

Paste in PandaStudio's MCP config

cline_mcp_settings.json
{
  "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.

7

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" to autoApprove for read-only ones.