Skip to content

feat(mcp): add native media ingestion and inspectable evidence - #53

Merged
tulayha merged 22 commits into
mainfrom
feat/mcp-upload-handoff
Aug 2, 2026
Merged

feat(mcp): add native media ingestion and inspectable evidence#53
tulayha merged 22 commits into
mainfrom
feat/mcp-upload-handoff

Conversation

@tulayha

@tulayha tulayha commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add user-completable multi-file media ingestion for local stdio and Streamable HTTP MCP clients without sending video bytes through tool JSON
  • use bounded native multipart uploads locally and resumable tus/tusd transfers in deployed server mode, followed by durable import and automatic indexing
  • return inspectable keyframes and optional clips with search/query results, with local-file, MCP-resource, or range-capable download delivery selected by transport
  • consolidate ingestion coordination, upload-session idempotency, evidence projection, artifact naming, capability handling, packaging, and public deployment guidance

Why

The existing MCP exposed indexing and retrieval operations but did not provide a practical agent/user upload handoff or deliver evidence that users could inspect directly. Agents had to arrange media transfer externally and manually chain timestamps into clip creation calls.

User impact

Agents can now create an upload session, hand the user a packaged browser uploader, follow import/index status, search indexed media, and receive directly inspectable frames or clips. Local stdio clients may ingest approved filesystem paths directly. Large video bytes remain outside MCP JSON.

Validation

  • focused Python validation: 175 passed, plus 7 subtests
  • upload service after final expiry/quota correction: 48 passed
  • pinned tusd 2.10.0 split-topology integration: passed
  • upload frontend: 7 passed; deterministic bundle check passed
  • API CLI, Ruff, compileall, packaging, migration smoke, wheel/sdist inspection, and diff checks: passed
  • preceding full suite: 615 passed, 4 skipped, 80 subtests; one Windows temporary-directory cleanup race failed only during the combined run and the affected test/module passed independently

Nothing in this PR requires Docker for native local vidxp-api; Compose remains the deployment topology for resumable server uploads.

BEGIN_COMMIT_OVERRIDE
feat(mcp): ingest video and return inspectable evidence
END_COMMIT_OVERRIDE

@tulayha
tulayha marked this pull request as ready for review August 2, 2026 15:20
@tulayha
tulayha merged commit 9a5a911 into main Aug 2, 2026
9 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant