Skip to main content
Glama

uvcpipe

Product Hub: raymonddeoliveira.com/software#uvcpipe · Buy Pro Live HID ($19): Polar Checkout · Glama MCP: glama.ai/mcp/servers/raydeoliveira/uvcpipe · Official MCP Registry: io.github.raydeoliveira/uvcpipe · Free Core: brew install raydeoliveira/tap/uvcpipe

Clean-room C17 CLI, localhost live MJPEG viewer, and stdio MCP server turning a ~$15 USB UVC HDMI capture dongle (MS2109/MS2130, ShadowCast, Cam Link) and a ~$5 CH9329 USB-serial HID cable into bare-metal BIOS and OS eyes and hands across macOS, Linux, and Windows.

Free Eyes, Paid Hands (v0.2.0): probe, HDMI frame capture, the localhost live view MJPEG browser KVM, release-all, --dry-run HID packet previews, and read-only/dry-run uvcpipe mcp work free without a license key. A one-time $19 Pro key (UVCP, up to 3 devices) or offline OSS=1 source build unlocks live CH9329 HID keyboard/mouse writes (key, type, mouse, and MCP dry_run: false).

Measured stripped release sizes: 230,528 bytes (~225 KB) on macOS arm64 (19.45 ms avg cold start), 207,056 bytes (~202 KB) on Linux x86_64, and 199,168 bytes (~195 KB) on Windows x86_64, with zero runtime dependencies.

~$20 Hardware Bill of Materials

  1. Video Capture ("Eyes") — ~$10–$15: Any USB 2.0/3.0 UVC HDMI capture dongle based on MS2109 / MS2130 (or Genki ShadowCast, Elgato Cam Link). Connect target machine HDMI out → capture dongle → host USB port.

  2. Keyboard & Mouse Cable ("Hands") — ~$5: A CH9329 USB-to-USB HID serial bridge cable (default Mode 0 0x57 0xAB @ 9600–115200 baud). Connect serial end to host USB (/dev/cu.usbserial-*, /dev/ttyUSB0, COMx) and HID USB-A end to target BIOS/PC.

Related MCP server: silotek-serial-mcp

10-Second AI Agent Quickstart (uvcpipe mcp)

Connect Claude Code, Cursor, Codex, or Antigravity with zero license required to inspect devices, capture target HDMI frames, and preview --dry-run keystrokes:

brew install raydeoliveira/tap/uvcpipe
claude mcp add uvcpipe -- uvcpipe mcp

Or open uvcpipe-0.2.0-macos-arm64.mcpb in Claude Desktop, or copy an entry from mcp-configs.json.

Free Core vs. $19 Pro vs. Alternatives

Tool

Hardware + SW Cost

Target Control Scope

Scriptable --json + MCP

Binary Footprint

uvcpipe Free Core

~$15–$20 cables + $0

probe, HDMI capture, view MJPEG KVM, --dry-run HID, release-all, free capture/dry-run mcp

Yes (--describe, MCP 2025-03-26)

~194–225 KB C17

uvcpipe Pro

~$20 cables + $19 one-time

Adds live CH9329 key, type, mouse & MCP dry_run: false (3 devices, 14d offline cache)

Yes (same single binary)

~194–225 KB C17

Dedicated IP-KVM Box

$90–$300 hardware

Web UI / VNC / ATX hardware appliance

Rare / proprietary HTTP

Separate Linux SBC

OBS / ffplay

~$15 capture dongle

Desktop GUI video preview only (no HID or MCP)

No CLI/HID/MCP

~100+ MB + deps

Install & Uninstall

Homebrew (macOS arm64 & Linux x86_64)

brew install raydeoliveira/tap/uvcpipe
brew uninstall uvcpipe

Checksum-Verified Release Archives (v0.2.0)

Download from GitHub Releases and verify with SHA256SUMS.txt:

  • macOS arm64: uvcpipe-0.2.0-macos-arm64.tar.gz and one-click Claude Desktop bundle uvcpipe-0.2.0-macos-arm64.mcpb

    curl -fsSLO https://github.com/raydeoliveira/uvcpipe/releases/download/v0.2.0/uvcpipe-0.2.0-macos-arm64.tar.gz
    curl -fsSLO https://github.com/raydeoliveira/uvcpipe/releases/download/v0.2.0/SHA256SUMS.txt
    shasum -a 256 -c SHA256SUMS.txt --ignore-missing
    tar -xzf uvcpipe-0.2.0-macos-arm64.tar.gz
  • Linux x86_64: uvcpipe-0.2.0-linux-x86_64.tar.gz (includes 99-uvcpipe.rules for non-root /dev/video* & /dev/ttyUSB* access)

  • Windows x86_64: uvcpipe-0.2.0-windows-x86_64.zip (uvcpipe.exe, MSYS2 UCRT64 static C runtime + Media Foundation)

Build From Source (Commercial or Offline OSS Edition)

make release               # Commercial build (.build/uvcpipe)
make release OSS=1         # Open-source build (-DOSS_EDITION)
make test                  # ASan + UBSan C, Polar E2E, and CLI/MCP suites

Quick Start (CLI & Live Viewer)

Free Core — inspect devices, capture an HDMI frame, start the loopback KVM viewer, and preview HID hex packets:

uvcpipe probe --json
uvcpipe capture --width 1280 --height 720 --format jpeg --out /tmp/bios.jpg --json
uvcpipe view --port 0 --json
uvcpipe key --keys f2 --sim --dry-run --json

Unlock Pro live HID keyboard/mouse writes ($19 one-time at Polar.sh):

uvcpipe license activate --key UVCP-XXXX-XXXX-XXXX --json
uvcpipe key --keys f2 --port /dev/ttyUSB0 --yes --json

Safety & Honest Limits

  1. Probe Before Write: Live HID commands verify CMD_GET_INFO before transmitting key or mouse packets.

  2. Non-TTY Guard & Dry-Run: Live key, type, mouse, and release-all exit 2 on non-TTY stdin without --yes or --dry-run. MCP HID tools default dry_run to true; mouse --button <btn> sends press, interruptible monotonic hold, and button-release automatically.

  3. Symlink, Reparse & DNS-Rebinding Guards: Snapshot --out and license.json reads check lstat() (FILE_ATTRIBUTE_REPARSE_POINT on Windows) and exit 4 on symlinks. view binds only to 127.0.0.1/localhost with an 8192-byte header cap, 300 ms deadline, Host/Origin 403 filter, nosniff, and CSP.

  4. Signal Cleanup & Hardware Scope: SIGINT/SIGTERM aborts serial/V4L2 waits cleanly, releases held CH9329 inputs, and exits 130. macOS/Linux/Windows CI verifies ASan+UBSan suites, loopback Polar E2E, PTY signal cleanup, and 89/89 --sim/--fixture E2E tests; physical capture/HID exchanges require attached hardware and OS camera/serial permissions (exit 4 on macOS TCC deny / Linux EACCES / Windows E_ACCESSDENIED).

Hardware Reports & Exit Codes

Tested a specific HDMI capture dongle (MS2109, MS2130, ShadowCast, Cam Link) or CH9329 cable? Share your uvcpipe probe --json output in Hardware Compatibility Issues.

Run uvcpipe --describe or inspect SKILL.md for JSON schemas. Exit codes: 0 ok, 1 runtime/I/O error, 2 usage/validation/non-TTY, 3 hardware unavailable, 4 permission/symlink denied, 5 Pro license required for live HID, 130 interrupted (SIGINT/SIGTERM) after HID release.

License & Security

  • License: LICENSE (Free Core Eyes + $19 Pro Live HID via Polar.sh; -DOSS_EDITION compile switch unlocks all capabilities offline)

  • Security policy: SECURITY.md

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Turns a real USB HID device — a Raspberry Pi Pico 2 running open-source firmware — into MCP tools (move, click, drag, type, key combos, scroll) for any MCP client. Includes a --mock mode to try every tool with no hardware.
      17
      291 PyPI
      16
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      A headless MCP server that enables AI tools (like Claude Code) to read and analyze serial logs from embedded boards (ESP32, STM32) for firmware debugging, with read-only tools for log retrieval and a built-in web viewer.
      6
      1
      -
    • F
      license
      A
      quality
      D
      maintenance
      MCP server for controlling Sipeed NanoKVM devices, enabling remote hardware control via keyboard, mouse, power, and screenshots. It allows AI assistants like Claude to manage headless machines at the BIOS level.
      20
      -