This workspace exposes a local Context MCP Server (ctx-mcp) that allows AI agents to interact with the Zdots Intelligence Suite, including queuing background side-effect jobs like high-performance video transcription.
AI agents interacting with this system have access to the following tools via the ctx-mcp server:
ctx_enqueue: Enqueue a new side-effect job.
type: ‘transcription’payload_json: JSON string. For transcription, use {"url": "<youtube_url>", "video_asset_id": "<canonical_id>"}ctx_jobs: List pending, running, and recently completed jobs.When an AI agent needs to transcribe a YouTube video, it should follow this asynchronous pattern rather than running blocking synchronous commands:
ctx_enqueue tool:
{
"type": "transcription",
"payload_json": "{\"url\": \"https://www.youtube.com/watch?v=VIDEO_ID\", \"video_asset_id\": \"my-canonical-id\"}"
}
zdots-ctx background worker. The agent should ensure the worker is running using a shell execution tool.
CRITICAL RULE: To prevent the underlying ffmpeg process from hanging while waiting for terminal input, the worker MUST be started with standard input redirected from /dev/null:
zdots-ctx worker --type transcription < /dev/null &
Monitor Progress
The agent can use the ctx_jobs tool to check if the transcription job has transitioned from pending to running and then to completed or failed.
running for an abnormally long time), the agent should:
zdots-ctx clear-stale-jobszdots-ctx worker --type transcription < /dev/null &~/Downloads/transcripts/<VIDEO_ID>/. The agent can then use the project’s ingestion scripts (bin/stage_completed_transcripts.rb and bin/transcripts ingest) to move the data into the repository.