# Reelsaw MCP server

> Turn long-form videos into vertical short-form clips with AI-powered transcription, smart reframing, and automated captioning.

- Repository: https://github.com/osbytes/reelsaw
- Page: https://hostedmcp.org/servers/osbytes/reelsaw
- Transport: stdio
- Stars: 12
- License: AGPL-3.0
- Latest version: 0.39.0

## Install

### Claude Code

```sh
claude mcp add reelsaw -- docker run -i --rm ghcr.io/osbytes/reelsaw:0.39.0
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "reelsaw": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/osbytes/reelsaw:0.39.0"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "reelsaw": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/osbytes/reelsaw:0.39.0"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"reelsaw","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/osbytes/reelsaw:0.39.0"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "reelsaw": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/osbytes/reelsaw:0.39.0"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add reelsaw -- docker run -i --rm ghcr.io/osbytes/reelsaw:0.39.0
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.reelsaw]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/osbytes/reelsaw:0.39.0"]
```

### Gemini CLI

```sh
gemini mcp add -s user reelsaw docker -- run -i --rm ghcr.io/osbytes/reelsaw:0.39.0
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "reelsaw": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/osbytes/reelsaw:0.39.0"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `AI_MODEL` | no | no |  |
| `COMPOSE_FILE` | no | no |  |
| `OPENAI_API_KEY` | no | no |  |
| `OPENAI_BASE_URL` | no | no |  |
| `OPENAI_COMPATIBLE_API_KEY` | no | no |  |
| `OPENAI_COMPATIBLE_BASE_URL` | no | no |  |
| `OTEL_ENABLED` | no | no |  |
| `OTEL_EXPORTER_OTLP_ENDPOINT` | no | no |  |
| `OTEL_SERVICE_NAME` | no | no |  |
| `SPEACHES_IMAGE` | no | no |  |
| `TRANSCRIPTION_MODEL` | no | no |  |
| `WHISPER_MODEL` | no | no |  |

## FAQ

### How does the smart reframing work?

It uses UltraFace to sample clips and automatically selects layouts like face-tracking, split-screen, stack, or fit based on the scene content.

### Can I deploy Reelsaw myself?

Yes, it is a self-hosted solution that can be deployed in one step using Docker Compose.

### Does it support local AI processing?

Yes, it supports fully local operation with no API keys required using compatible local servers.
