Skip to content

MCP Agent Pipeline

End-to-end flow

Procedure

  1. Confirm the account, workspace, product, brand, and approved claim boundaries.
  2. Load or create the product context.
  3. Read shared memory, then reconcile it against the current client source of truth.
  4. Select the best-fit skill or supply the approved production brief.
  5. Capture the returned cost or credit requirement before the generation mutation.
  6. Submit once and retain the task identifier.
  7. Poll the existing task. Do not resubmit when processing is slow.
  8. Download the final media to a descriptive local filename.
  9. Run ffprobe and a full decode.
  10. Inspect opening, middle, closing, caption-heavy, logo, source, and CTA frames.

Browser handoff

Move to the browser when the output needs visual avatar selection, caption styling, scene replacement, timeline adjustment, or exact safe-area review. See the browser video production SOP.

Failure modes

  • Tools absent: connection is not operational.
  • Authentication prompt: complete interactive authentication in the selected runtime.
  • Job remains active: continue polling the same task.
  • Download URL missing: do not claim delivery.
  • Credit cost unavailable: stop before generation and report the cost as unverified.
  • Brand context mismatch: stop and switch to the correct workspace before writing or rendering.