---
name: velvetroom
description: Create Velvetroom screening rooms, where several people watch one video in sync and leave frame-accurate timecoded comments, from a file in the user's own S3-compatible storage (AWS S3, Backblaze B2, Wasabi, Storj or a custom endpoint); find the file in a private bucket; and read a room's comments back as timecoded notes. Use when the user wants to screen or review a cut, dailies or a grade with other people, share a video for feedback, or collect or summarise review notes from a Velvetroom room link.
---

# Velvetroom

Velvetroom (https://www.velvetroom.tv) is a private screening room for video review. Everyone in a room sees the same
frame at the same time, and comments are pinned to a timecode. There are no accounts. The video stays in the user's
own bucket: Velvetroom never uploads, copies or stores it, and only signs short-lived links to it.

You can drive it two ways. Both need no API key.

- **MCP** (preferred): `https://www.velvetroom.tv/api/mcp`, Streamable HTTP. Tools: `list_providers`,
  `browse_bucket`, `create_room`, `get_room_comments`. Add it with
  `claude mcp add --transport http velvetroom https://www.velvetroom.tv/api/mcp`.
- **REST**: `POST /api/v1/rooms`, `POST /api/v1/rooms/comments`, `GET /api/v1/providers`. OpenAPI at
  `https://www.velvetroom.tv/api/v1/openapi.json`. Bucket browsing is MCP-only.

## Creating a room

1. **Find out where the file is.** You need the provider, bucket and path to the file (the object key, e.g.
   `dailies/A001.mp4`), and the region unless the provider's default applies. If the user gives a link, read the
   parts from it:

   | Link | provider | region | bucket | key |
   |---|---|---|---|---|
   | `s3://my-bucket/cuts/v3.mp4` | ask (usually `aws`) | ask | `my-bucket` | `cuts/v3.mp4` |
   | `https://my-bucket.s3.eu-west-2.amazonaws.com/cuts/v3.mp4` | `aws` | `eu-west-2` | `my-bucket` | `cuts/v3.mp4` |
   | `https://s3.eu-central-003.backblazeb2.com/my-bucket/cuts/v3.mp4` | `b2` | `eu-central-003` | `my-bucket` | `cuts/v3.mp4` |
   | `https://f003.backblazeb2.com/file/my-bucket/cuts/v3.mp4` | `b2` | `eu-central-003` | `my-bucket` | `cuts/v3.mp4` |
   | `https://s3.eu-west-1.wasabisys.com/my-bucket/cuts/v3.mp4` | `wasabi` | `eu-west-1` | `my-bucket` | `cuts/v3.mp4` |

   Any other S3-compatible server (MinIO, Ceph, Cloudflare R2 and so on) is `custom`, with `endpoint` set to its
   public `https://` address (for R2, `https://<account id>.r2.cloudflarestorage.com` with region `auto`). Call `list_providers` for default regions and per-field hints.

2. **Public or private.** `public` means the file opens in a browser without credentials. Otherwise use `private`
   with an access key ID and secret. A **read-only key is enough**: suggest one if the user offers an admin key. Storj
   only works as `private`.

3. **Not sure of the exact path?** For a private bucket, call `browse_bucket` with the same provider, region, bucket
   and keys. It lists one folder at a time. Open a subfolder by passing its `prefix`, narrow a big folder with
   `filter` (start of the name), and continue long listings with `token`. Pass a file's `key` to `create_room`. Never
   guess a path.

4. **Ask about the rest**, offering the defaults:
   - `name`: shown to reviewers (up to 80 characters).
   - `password`: 6 to 200 characters. Without one, anyone with the link can join. Recommend one for unreleased
     material.
   - Expiry: `expiresIn` is `24h`, `7d` (the default) or `30d`, or give `expiresAt` (an ISO date at most 90 days away).
     The room, its comments and any stored key are deleted at expiry.
   - `fps` and `startTc`: set them to match the edit, so that comment timecodes line up with the timeline. The defaults
     are 25 fps from `00:00:00:00`. Long-form edits often start at `01:00:00:00`. `fps` is one of 23.976, 24, 25,
     29.97, 30, 50, 59.94 or 60. `dropFrame` only applies at 29.97 and 59.94.

5. **Call `create_room`** with a fresh `idempotencyKey` (any unique string). If the call times out or the reply is
   lost, retry with the same key and you get the same room back instead of a duplicate. Over REST, send it as the
   `Idempotency-Key` header.

6. **Report the result.** Give the room link and expiry, and pass on any `warning`, which means the file probably
   won't play in browsers. Tell the user to send the link and the password to reviewers separately.

### When create_room fails

| code | What to do |
|---|---|
| `file_check_failed` | The server couldn't read the file. Check the bucket, key, region and keys with the user, or use `browse_bucket`. Only if the storage is reachable from the reviewers' network but not from the internet, retry with `force: true`. |
| `invalid_bucket`, `invalid_key`, `invalid_region`, `invalid_endpoint` | Fix the named `field`. The bucket is the bare name (no `s3://`, no slashes). The key is a file path, not a folder. |
| `public_not_supported` | That provider can't serve public files: use `private` with a key. |
| `missing_credentials` | A private room needs `accessKeyId` and `secretAccessKey`. |
| `endpoint_not_public` | Custom endpoints must be public `https` addresses, not private or local networks. |
| `invalid_password`, `invalid_expiry` | Password of 6 to 200 characters, or none. Expiry from 1 minute to 90 days ahead. |
| `rate_limited` | 20 rooms per hour per IP across the API and MCP. Wait, and don't loop. |

## Reading comments

Call `get_room_comments` with the room link (or its 8-character id) and the password. Leave out the password for an
open room. Each comment comes back as `timecode`, `name` and `comment`, sorted by position in the video, with
timecodes formatted exactly as reviewers saw them.

Useful things to do with them:
- Group notes by reviewer or by scene, and turn them into a change list in timecode order.
- Flag conflicting notes on the same moment.
- Quote timecodes exactly, so that an editor can jump to them.

Password attempts are limited (15 per 15 minutes per IP and room), so ask the user for the password instead of
guessing. On `rate_limited`, wait the number of seconds the error gives. `room_not_found` also covers expired rooms.

## Rules

- **Never repeat a room password or storage secret** in your replies, summaries or files unless the user asks for it.
  Don't write keys into code, commits or notes.
- Velvetroom keeps a private room's key AES-256-GCM encrypted, only until the room expires. `browse_bucket` uses the
  key for that one call and doesn't store it.
- H.264 MP4 or MOV plays in every browser; HEVC only in some. ProRes, DNx, MXF, R3D, BRAW, ARRIRAW, DPX and EXR won't play in browsers:
  suggest an H.264 proxy.
- What it can't do: upload files, list or delete rooms, or post comments through the API. Reviewers comment in the
  room in their browser. A room's comments can also be downloaded as CSV with the room's **Export CSV** button.
