Connect other tools
Use SeqLens's local HTTP API to read sequence information or trigger rescans and exports from shell scripts, job managers, and DCC tools.
NOTE
The HTTP API is experimental. Endpoints, response shapes, and behavior may change in future releases without notice.
With SeqLens running and the local HTTP API turned on, other tools can work with the project that’s open. A production tracker can ask which frames of a shot are missing, for example, or call a rescan when a process finishes.
Starting the server

Open Preferences > Server and turn on the Address switch.
Server > Enable Server in the menu does the same.
Once it’s running, the switch turns green and the Server menu shows the address, such as Status: Running (127.0.0.1:5397).
| Setting | What it does |
|---|---|
| Port | The number field in the Address row. Defaults to 5397 |
| Allowed IPs | Addresses allowed to connect. Defaults to this machine only (127.0.0.1 and ::1) |
| Require token | Requires an Authorization: Bearer <token> header on requests |
| Token | Generated for you when tokens are required. Use Copy and Regenerate |
Port, allowed IPs, and token settings are locked while the server runs. Stop the server to change them.
Calling the API
Everything about the project lives under /api/v1/projects/current, which always points at the project that’s open.
The main endpoints for reading:
| Request | Returns |
|---|---|
GET /api/health |
Health check. No auth. Returns the version and whether a project is open |
GET /api/v1/projects |
Recent projects |
GET /api/v1/projects/current |
The open project |
GET /api/v1/projects/current/sequences |
The sequence list |
GET /api/v1/projects/current/sequences/{key}/scan |
The latest scan (missing frames, total size, modified time, …) |
GET /api/v1/projects/current/sequences/{key}/frames |
Per-frame metadata |
GET /api/v1/projects/current/selection |
The sequences selected in the window |
GET /api/v1/projects/current/exports/... |
Exports such as CSV, JSON, MHL, OpenTimelineIO, MP4, and ZIP as a download |
curl http://127.0.0.1:5397/api/v1/projects/current/sequences?limit=20
The sequence list supports paging with offset and limit, plus filters, sorting, and extra data through include (for example include=scan).
The main endpoints for acting on the project:
| Request | Does |
|---|---|
POST /api/v1/projects/open |
Opens a folder or a recent project. The window scans it, and GET /api/v1/projects/current/scan/wait waits for the scan |
POST /api/v1/projects/current/rescan |
Rescans the project |
POST /api/v1/projects/current/sequences/copy |
Copies sequences, with checksum verification, MHL, and a PDF report if asked. /move and /delete move or delete them, and /frames/... works on single frames |
POST /api/v1/projects/current/exports/{format} |
Writes a PDF, CSV, JSON, MHL, OpenTimelineIO, MP4, or ZIP export to the given path |
POST /api/v1/projects/current/selection |
Selects sequences in the window |
PATCH /api/v1/projects/current/columns |
Changes the table columns, which exports also follow |
Sequences can be picked by keys, by a filter (status, extension, search text), or with windowSelection for whatever is selected in the window.
Options you leave out follow the settings last used in the matching dialog.
Copying, moving, deleting, and exporting run as jobs, just like in the app.
The response returns a jobId.
GET /api/v1/jobs/{id}/wait waits until the job finishes and returns its outcome, such as files that could not be copied.
When a job stops to ask something, such as whether to overwrite an existing file, POST /api/v1/jobs/{id}/respond answers it.
The built-in API reference documents every endpoint and parameter.
While the server runs, Server > Open API Docs opens http://<host>:<port>/docs in your browser.
The OpenAPI 3.1 definition is at /openapi.json.
Connecting AI assistants (MCP)
SeqLens also speaks the Model Context Protocol (MCP), so AI assistants such as Claude can list sequences, check for missing frames, copy, and export by themselves. MCP is part of the same server: it runs whenever the server runs and follows the same allowed IPs, token, and API access settings.
Open Preferences > Server and use Install next to your assistant under MCP > Clients. SeqLens supports Claude Code, Claude Desktop, Cursor, VS Code, and Codex, and turns the server on if it is off. Restart the assistant if it is open.
Once installed, the assistant starts SeqLens by itself when it needs it, and keeps working after the port or token changes. For other assistants, Copy config for other clients copies a command-based entry, and Endpoint shows the URL for clients that connect over Streamable HTTP.
Whether an assistant may run a tool without asking is decided by the assistant’s own permission settings. To keep a tool away from assistants entirely, turn it off under Operations.
Allowed operations and write locations
The API access section under Preferences > Server limits what API clients can do.
| Setting | What it does |
|---|---|
| Allowed operations | Read only, Read and write, or All, including move and delete. Defaults to all |
| Operations | Turns off single operations, such as deleting, for both HTTP API and MCP clients |
| Write locations | Where copies and exports may be written. Project folder and listed folders (default) also takes folders you add with Add folder. Anywhere removes the limit |
Logs
The server writes its own log file, api-server.log.
Open it with Server > Show Server Logs.
Using it safely
The default, which only accepts connections from this machine, is the safest setup. To use the API from other machines on your LAN, add their addresses to Allowed IPs and turn on Require token. If a token may have leaked, Regenerate it.
The server refuses to start if allowed IPs include anything beyond this machine while tokens are off. Don’t expose it directly to the internet; when you need outside access, go through a VPN or similar.