BGRemover MCP — Video Alpha Inspection

v0.1.0
io.github.j-river/bgremover Checked 4 days ago Published 22 days ago

BGRemover MCP: inspect local video alpha samples and analyze transparent pixel statistics.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_alpha_plane Analyze an alpha channel

Analyze a supplied 8-bit alpha plane (one byte per pixel) as canonical Base64, with explicit width/height. Returns pixel statistics and adjustable significance flags. This does not decode video or infer image subjects. Maximum 65,536 pixels. Alpha 0=transparent, 255=opaque.

ParameterTypeDescription
alphaBase64 *string
height *integer
width *integer
minPixelFractionnumber
transparentBelowinteger
visibleAboveinteger

inspect_video_alpha Inspect actual video alpha samples

Read a relative video path within explicitly configured BGREMOVER_MEDIA_ROOT and use installed FFmpeg/ffprobe to inspect decoded alpha samples. Supports VP8/VP9, ProRes, H.264 in WebM/MKV/MOV/MP4. Metadata alone is not proof. Read-only, max 64 MiB, 120 s video, 30 s processing; no full-frame audit or uploads.

ParameterTypeDescription
relativePath *string
minPixelFractionnumber
sampleFractionsarray
transparentBelowinteger
visibleAboveinteger