Skip to content
BatuWorks
Kurgu · AI connection

Connect Kurgu to your AI

Use Kurgu with your own Claude or Gemini account and give commands right from the chat bubble inside Kurgu. Kurgu never sees or stores your account credentials.

  • Your account credentials stay yours
  • Videos never leave your computer — Whisper & rendering stay local
  • Every edit appears on the timeline and can be undone
Option 1Recommended

Claude (Claude Code)

The smoothest setup for Kurgu's built-in chat bubble. You sign in with your own Claude account; Kurgu only exposes local editing tools.

Official Claude Code setup guide ↗
  1. 01

    Install Claude Code

    Open your terminal and run the command for your operating system. Close and reopen the terminal once it finishes.

    irm https://claude.ai/install.ps1 | iex

    If you have Node.js 18+, you can alternatively run `npm install -g @anthropic-ai/claude-code`.

  2. 02

    Sign in with your own account

    Run the command below in your terminal. Your browser will open—sign in to your Claude account and approve access. Kurgu never sees your password or tokens.

    Terminal
    claude

    Once signed in, you can exit the terminal with `/exit`.

  3. 03

    Connect in one click inside Kurgu

    Open Kurgu, go to the connections window from the top menu (or the ◆ AI status button at the bottom right), and click Connect:

    AI → Connections → Claude Code → Connect

    We also recommend clicking Install Skill on the same card—it installs Kurgu's Reels & editing playbook (~/.claude/skills/kurgu/SKILL.md).

    Manual setup (optional)

    If Kurgu can't locate `claude` automatically, register it manually in your terminal:

    Terminal
    claude mcp add --scope user kurgu -- kurgu-mcp
  4. 04

    Test and start from the chat bubble

    Click Test Connection in Kurgu. Once you see "Connected — … tools ready", open the AI chat bubble inside Kurgu and try a prompt:

    Example prompt (Kurgu chat bubble)

    “Cut 3 vertical Reels (30–45 s each) from the podcast in my open project, keep the speaker centered, and add Reels captions.”

Option 2MCP

Claude Desktop (MCP)

Prefer no command line? Connect Kurgu as an MCP server inside the Claude Desktop app and edit projects straight from chat.

Download Claude Desktop ↗
  1. 01

    Download Claude Desktop and sign in

    If you don't have it yet, install Claude Desktop and sign in with your own Claude account.

  2. 02

    Add the MCP connection from Kurgu

    Open the connections window in Kurgu and click Connect on the Claude Desktop card. Kurgu backs up your existing config file and adds `kurgu` without touching other servers:

    AI → Connections → Claude Desktop → Connect

    Optional: click Copy as Project Instructions to paste Kurgu's Reels workflow guide into a Claude Desktop Project.

    Manual setup (optional)
    {
      "mcpServers": {
        "kurgu": {
          "command": "kurgu-mcp",
          "args": []
        }
      }
    }

    If kurgu-mcp isn't on PATH, use the full command path shown in Kurgu's Connections window.

  3. 03

    Fully restart Claude Desktop

    Quit and reopen Claude Desktop so it loads the new config. Once restarted, `kurgu` appears under the tools icon in the chat box.

    Windows: closing the window isn't always enough—right-click the Claude icon in the bottom-right system tray, choose Quit, then reopen.

  4. 04

    Test the connection

    Click Test Connection in Kurgu to verify the server, then open a chat in Claude Desktop and try:

    Example prompt (Claude Desktop)

    “Summarize my open project in Kurgu and suggest the 3 strongest short-form moments.”

Option 3Google account

Gemini CLI

Drive Kurgu with your own Google account (including Gemini CLI's free tier) from Kurgu's chat bubble or your terminal.

Official Gemini CLI repository ↗
  1. 01

    Install Gemini CLI

    Requires Node.js 20 or newer. Open your terminal, run the command below, and reopen the terminal when done.

    npm install -g @google/gemini-cli

    If Node.js isn't installed yet, grab the LTS release from nodejs.org first.

  2. 02

    Sign in with your Google account

    Run the command below in your terminal, choose Sign in with Google, and approve in your browser. Kurgu never sees your credentials.

    Terminal
    gemini

    Once signed in, exit with `/quit` or Ctrl+C.

  3. 03

    Connect in one click inside Kurgu

    Open the connections window in Kurgu and click Connect on the Gemini CLI card. Kurgu backs up `~/.gemini/settings.json` and merges the `kurgu` entry with a long render timeout:

    AI → Connections → Gemini CLI → Connect
    Manual setup (optional)
    {
      "mcpServers": {
        "kurgu": {
          "command": "kurgu-mcp",
          "args": [],
          "timeout": 1800000,
          "trust": false
        }
      }
    }

    For the editing playbook context, copy `docs/ai/GEMINI.md` to `%USERPROFILE%\.gemini\GEMINI.md`.

  4. 04

    Test the connection

    Click Test Connection in Kurgu, or run `/mcp` inside `gemini` to verify that `kurgu` tools are listed. Then start giving commands in Kurgu's chat bubble.

    Gemini CLI
    /mcp

    If the Kurgu tools appear in the list, you're all set.

You stay in control

Preset permission profiles

In AI → Capabilities, pick Safe (read & suggestions only), Standard (edits/renders on, destructive actions ask first), or Full Access.

Allowed folders

AI tools can only read and write inside folders you allow (default: Videos and Documents/Kurgu); the rest of your computer stays off-limits.

One-click undo

Kurgu automatically backs up your project before the first AI edit in a session. Revert everything in one click from AI → Activity Log.

Common issues

Check these quick fixes if something doesn't connect right away.

Command or client not found (claude / gemini / kurgu-mcp)

Right after installing, an already-open terminal or Kurgu may not see the updated PATH. Close and reopen both your terminal and Kurgu, then click Refresh Status under AI → Connections. If `claude --version` or `gemini --version` fails in a fresh terminal, re-run the install step. For Claude Desktop, make sure you fully quit it from the system tray / Cmd + Q before reopening.

Not signed in or authentication error

Kurgu never signs in on your behalf or stores your credentials. Run `claude` or `gemini` in your terminal and complete the browser sign-in with your own account. If your session expired, sign in again the same way and retry in Kurgu's chat bubble.

"Outside allowed folders" error

For safety, AI tools can only access projects, media, and renders inside your allowed folders (default: Videos and Documents/Kurgu). Open AI → Capabilities → Allowed Folders in Kurgu and add the folder containing your footage—changes take effect immediately with no restart.

"Confirmation required" or disabled tool error

Under the Standard profile, destructive actions like deleting clips ask for confirmation—a dialog pops up when Kurgu is open, or the tool stops safely if Kurgu is closed. Under Safe mode, editing and rendering are disabled. Adjust your profile or per-tool checkboxes in AI → Capabilities.

Timeout on long videos

The first Whisper transcription of an hour-long podcast can take a few minutes on CPU (subsequent runs use the local cache instantly). In Claude Code you can set `MCP_TOOL_TIMEOUT=1800000` (30 min); for Gemini CLI, Kurgu configures this timeout automatically.

Coming soon

BatuWorks AI

Use AI without your own Claude or Gemini account—included with your BatuWorks membership. A built-in option right inside Kurgu's chat bubble is on the way.

Connecting your own Claude or Gemini account will always remain available.