Skip to content

Control API for remote OBS control (obs-mcp) #4444

Open
10 of 10 issues completed
Open

Description

@zackees

Extend the existing in-process obs-mcp server so agents and CI can control Virtual Camera, OBS Audio PipeWire virtual mic and media, wait for state, and inspect measured latency/sync without GUI interaction. Preserve existing MCP names, stdio, the public C API/ABI, and the unchanged C++ obs-websocket plugin.

The native sub-issues deliver five ordered slices: #4445 typed tools, schemas and errors; #4446 device/media domains and counters; #4447 typed waiting; #4448 Unix socket, in-app module and attach proxy; #4449 fluent Rust client and Python MCP transport. Each implementation slice starts from master, records RED then GREEN in the existing shared category harness, adds a feature ledger entry, and lands through required PR CI and the merge queue. Real GUI/device runs use bosn.

Concrete design: docs/rust-port/control-api.md (PR #4450). Requested and designed directly by the maintainer in the worker session. New multi-field calls and backend operations use request/response structs; unknown inputs are rejected; successful typed outputs include JSON text and structuredContent, with screenshot image content preserved. Errors use actual obs-websocket v5 RequestStatus codes, with categories independent of numeric ranges. Missing latency measurements remain unavailable and carry measurement provenance.

Sub-issues

Sub-issues

10 of 10 Issues completed
Loading 10 sub-issues

Activity

  1. added
    tracker
    mcp
    on Nov 9, 2026
  2. zackees commented on Nov 10, 2026

    @zackees
    MemberAuthor

    All five Control API slices now have their own PRs and native child issues:

    Slice Issue PR
    Typed tools, schemas, errors #4445 (closed) #4450 (merged; 9899c56)
    Virtual Camera/mic/media and stats procs #4446 #4452
    Typed waits and start auto-wait #4447 #4454
    Unix socket, frontend module, attach proxy #4448 #4456
    Fluent Rust client and MCP A/V probe transport #4449 #4457

    Native target/debug/obs-studio-rust --mcp tools/list succeeds (exit 0): 30 tools, all with outputSchema. The headless socket/listen + attach proxy smoke also returns the same 30 tools, exits 0 and removes the socket on stdin EOF. The module builds and exports exactly the seven OBS module entry points, without bundling libobs implementations. Five Python transport/probe tests pass. The full local Rust lane passed all 7,687 tests (six skipped), including its Windows GNU compile check; unchanged C Tier 2 is still running.

    Remaining validation is tracked rather than hidden: GUI/device runs must happen in bosn; native PipeWire underrun metrics depend on untouched PR #4124 (current master uses the existing FIFO path); Windows named pipes are explicitly stubbed and tracked in #4455 under #4448. Unknown stage/end-to-end measurements remain null with provenance, rather than invented values. The original perf/4119-vmic-pipewire branch was not edited.

  3. zackees commented on Nov 10, 2026

    @zackees
    MemberAuthor

    Final implementation checkpoint: all five slices have PRs. #4450 is merged and its main master CI passed. #4452 (domains/stats) and #4454 (waits) are now ready and queued; the merge queue currently reports #4454 UNMERGEABLE, so it needs its stack reconciled after #4452 lands. #4456 (socket/module/attach) and #4457 (client/probe) are pushed drafts with fresh CI running.

    Final native build and smoke passed on infra/control-api-client: stdio tools/list exits 0 with 30 tools and outputSchema on all 30; stats_get returns structured data, wait_for inactive succeeds, missing media returns structured error 600. Socket listen + attach returns the same 30 tools and removes its socket on stdin EOF. The rebuilt module exports exactly the seven module entry points. All 78 MCP tests, five Python tests and native Clippy pass. The full local Rust lane passed 7,687 tests (six skipped) plus Windows GNU compilation; the duplicate local C Tier 2 build was interrupted after 12+ minutes, with native Tier 2 CI already green on #4452. No full-local-gate attestation is claimed.

    Remaining: finish CI/merge processing; run GUI and device Tier 4 validation in bosn; wire native PipeWire underruns after untouched #4124 lands (unknown measurements are null); Windows named pipes remain the explicit #4455 follow-up. The optional AI rebase workflow has a separate missing-token failure tracked in #4461. The perf/4119-vmic-pipewire branch remains untouched. No source edits are uncommitted, and target/debug/obs-studio-rust is the native MCP-enabled build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    mcptracker

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions