How youyo/seekio works
Seekio is a stateless Remote MCP video-inspection service: an agent uploads or imports a video, checks when Stream processing is ready, then progressively requests overview frames, frame ranges or an exact frame, and optional timed captions. Cloudflare Stream handles video storage, encoding, thumbnails and captions; the optional Images binding crops exact-frame regions. Videos are removed on request or by scheduled retention cleanup. Edges reflect the README and sampled imports/calls; some tool-to-provider details are supported only by the SOURCE INDEX, while unsampled tool internals are not inferred.
Main entry points: server.ts MCP server registration · backend.ts Video backend interface · index.ts HTTP and cron worker · frame.ts Exact frame
Components 22
Worker entry
- HTTP and cron worker
src/index.ts - Request authorization
src/auth.ts - Runtime configuration
src/config.ts - Structured logging
src/log.ts
MCP tools
- MCP server registration
src/mcp/server.ts - Create upload
src/mcp/tools/create-upload.ts - Import video URL
src/mcp/tools/import-url.ts - Video status
src/mcp/tools/info.ts - Timeline overview
src/mcp/tools/overview.ts - Frame ranges
src/mcp/tools/frames.ts - Exact frame
src/mcp/tools/frame.ts - Timed transcript
src/mcp/tools/transcript.ts - Delete video
src/mcp/tools/delete.ts
Video processing
- Video backend interface
src/video/backend.ts - Timestamp validation
src/video/timestamps.ts - Frame content formatting
src/video/frame.ts - Region geometry
src/video/region.ts - Caption parsing
src/video/vtt.ts - Retention cleanup
src/video/cleanup.ts
Cloudflare services
- Cloudflare Stream
src/video/cloudflare-stream.ts - Region cropper
src/video/image.ts
Other components
- MCP client
Connections 34
- MCP client → HTTP and cron worker: calls MCP
README.md - HTTP and cron worker → Request authorization: authorizes
src/index.ts - HTTP and cron worker → Runtime configuration: resolves
src/index.ts - HTTP and cron worker → MCP server registration: creates
src/index.ts - HTTP and cron worker → Cloudflare Stream: constructs backend
src/index.ts - HTTP and cron worker → Region cropper: configures optionally
src/index.ts - HTTP and cron worker → Retention cleanup: runs scheduled
src/index.ts - MCP server registration → Create upload: registers
src/mcp/server.ts - MCP server registration → Import video URL: registers
src/mcp/server.ts - MCP server registration → Video status: registers
src/mcp/server.ts - MCP server registration → Timeline overview: registers
src/mcp/server.ts - MCP server registration → Frame ranges: registers
src/mcp/server.ts - MCP server registration → Exact frame: registers
src/mcp/server.ts - MCP server registration → Timed transcript: registers
src/mcp/server.ts - MCP server registration → Delete video: registers
src/mcp/server.ts - Create upload → Video backend interface: uses
- Import video URL → Video backend interface: uses
- Video status → Video backend interface: reads status
src/mcp/tools/info.ts - Timeline overview → Video backend interface: fetches frames
- Frame ranges → Video backend interface: fetches frames
- Exact frame → Video backend interface: fetches frame
src/mcp/tools/frame.ts - Timed transcript → Video backend interface: gets captions
src/mcp/tools/transcript.ts - Delete video → Video backend interface: deletes video
- Video backend interface → Cloudflare Stream: implemented by
README.md - Timeline overview → Timestamp validation: selects times
src/mcp/tools/overview.ts - Frame ranges → Timestamp validation: validates range
src/mcp/tools/frames.ts - Exact frame → Timestamp validation: validates timestamp
src/mcp/tools/frame.ts - Exact frame → Frame content formatting: formats image result
src/mcp/tools/frame.ts - Exact frame → Region geometry: validates crop
src/mcp/tools/frame.ts - Exact frame → Region cropper: crops optionally
src/mcp/tools/frame.ts - Timed transcript → Caption parsing: parses captions
src/mcp/tools/transcript.ts - Retention cleanup → Video backend interface: lists and deletes
src/video/cleanup.ts - Retention cleanup → Cloudflare Stream: acts through backend
- HTTP and cron worker → Structured logging: records outcomes
src/index.ts