dcc-mcp-obs
Provides native OBS Studio control for scene and source discovery, recording status, and starting, stopping, pausing, and resuming recordings with typed status readback.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dcc-mcp-obsStart recording in OBS and show me the status."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dcc-mcp-obs
Native, typed OBS Studio control for the DCC-MCP ecosystem.
This product is an OBS plugin plus a DCC-MCP sidecar. The C++ plugin runs
inside the exact OBS process, owns host lifecycle and UI-thread dispatch, and
registers bounded vendor requests through the official OBS WebSocket 5.x API.
The out-of-process sidecar exposes those contracts through MCP, the Gateway,
an Install SOP v1 CLI, and a bundled Agent skill. Release runtime bundles carry
the shared dcc-mcp-runtime and adapter wheels alongside the native plugin.
OBS WebSocket is the authenticated transport. It is not used as an unrestricted request escape hatch, and this product exposes no arbitrary script or raw WebSocket tool.
Use OBS Studio with AI agents
Install the official DCC-MCP Agent Skill. Codex users can use the native plugin marketplace:
codex plugin marketplace add dcc-mcp/dcc-mcp-agent-plugins
codex plugin add dcc-mcp@dcc-mcpFor Claude Code, CodeBuddy, Cursor, Gemini CLI, and other supported agents, use the official installation guide. Start OBS Studio, enable this adapter, and verify that the running instance is registered:
dcc-mcp-cli listThen ask your agent:
Use dcc-mcp to inspect the current OBS scene and streaming status.The list must include dcc_type=obs. If it does not, follow the
connection troubleshooting guide.
Related MCP server: obs-mcp-server
First slice
Exact native plugin, OBS version, PID, instance ID, readiness, and event sequence
Bounded scene discovery and current-scene readback
Bounded source discovery for the current or an exact named scene
Typed scene switching, scene-item CRUD, transitions, and Studio Mode
Exact Windows PID/HWND window-capture source creation and readback preview/program operations with verified readback
A built-in privacy-safe Agent keyboard/mouse activity overlay source
A native top-level
DCC MCPmenu for status, overlay setup, Gateway Admin, and plugin informationRecording status
Start, stop, pause, and resume recording with an optional per-run output directory
Typed streaming, replay-buffer, virtual-camera, and named-output controls
Reviewed source/input/property/filter contracts plus exact audio and media controls
A separate typed status readback after every mutation
Stable redacted errors, bounded UI dispatch, and exact-instance drift rejection
The machine-readable capability matrix tracks delivered and remaining product domains. Operations are represented as shipped tools only after their typed contracts land.
Delivered control surfaces
Full-control roadmap
Requirements
OBS Studio 28 or newer with OBS WebSocket 5.x enabled
A matching Windows, macOS, or Linux shared-runtime release bundle
Python 3.10+ and dcc-mcp-core>=0.20.14,<1.0.0 are resolved by the adapter
wheel; the shared runtime owns the process environment.
Install
Download and extract the matching *-runtime archive from the GitHub Release.
It contains the shared runtime and adapter wheels, manifests, the exact native
plugin bundle, and a manifest-verifying installer. Agents can inspect a
zero-mutation plan, then perform the complete package and native-plugin install:
.\install.ps1 -DryRun
.\install.ps1 -Yesbash install.sh --dry-run
bash install.sh --yesAfter the wrapper successfully starts Python, the installer emits one JSON report and returns the exact runtime environment and launch command. It requires Python 3.10+ only as the bootstrap interpreter until the shared runtime publishes native launchers. Shell-level wrapper failures before Python starts are not JSON reports. For developers and users who intentionally prefer the Python package, the existing installation path remains supported:
python -m pip install dcc-mcp-obs
dcc-mcp-obs-install install \
--plugin-archive dcc-mcp-obs-plugin.zip \
--sha256 <release-sha256>
dcc-mcp-obs-install verifyBoth installer paths emit one Install SOP v1 JSON object. --dry-run performs bundle
and ownership preflight without changing the OBS plugin directory. See
installation details.
On POSIX systems, a successful filesystem result is a synchronous point-in-time
verification, not a persistent namespace or writer lock. The report publishes
POSIX_REVERIFY_BEFORE_USE in next_steps; re-run status or verify
immediately before relying on the files.
Password and endpoint
Configure the OBS WebSocket password in the operator-owned environment:
set DCC_MCP_OBS_WEBSOCKET_PASSWORD=your-passwordThe first release accepts only ws://127.0.0.1:<port> and defaults to port
4455. A password is never returned in tool results, receipts, public errors, or
logs. Use DCC_MCP_OBS_WEBSOCKET_URL only to select another loopback port.
The adapter exposes its own MCP control endpoint separately from OBS WebSocket.
It defaults to 127.0.0.1:9766; override it with
DCC_MCP_OBS_CONTROL_PORT. The two ports must differ. DCC_MCP_OBS_TRANSPORT
defaults to dual, keeping the independent control endpoint and the
obs-websocket compatibility path available together; set it to websocket for
compatibility-only deployments.
Run the sidecar against one exact OBS process:
dcc-mcp-obs-runtime --host-pid <obs-pid>Agent discovery
The bundled obs-control skill includes English and Chinese discovery aliases
for OBS, Open Broadcaster Software, recording, streaming, replay buffer,
virtual camera, outputs, scene/source inspection, pause, resume, 录屏, 直播,
回放缓冲, 虚拟摄像头, 场景图, 场景切换, 按键展示, 键盘, 鼠标, 转场, and
Studio Mode, properties, filters, audio, and media. Agents search
and load the skill before calling the typed tools. Scene-graph mutations are
available only through the native typed contract and require verified
postconditions.
Generic input settings are never forwarded. The public reviewed settings
contract is version 1.0: color_source_v3 exposes only bounded width,
height, and color, while gain_filter exposes only bounded db. Source,
filter, audio, and media mutations use exact names and bounded reconciliation.
See typed source controls.
Windows window_capture sources expose a typed capture_audio boolean for
normal Program recordings. Use set_window_capture_audio with the exact
PID/HWND/title binding and current capture method; the plugin reads the setting
back and rolls it back if verification fails.
For recorded Agent demonstrations, create_agent_input_overlay attaches a
built-in input source to each selected scene. Use a distinct source name per
simultaneously operating Agent, then set_agent_input_overlay_layout can choose
one of eight edge anchors plus bounded opacity and margin after inspecting the
game frame. emit_agent_input_activity displays the Agent identity and only an
allowlisted shortcut, mouse button, wheel direction, or typing count. It never
captures global input or accepts arbitrary text. See the
Agent input overlay contract.
Normal Program recordings accept an optional absolute output_directory on
start_recording; omitting it preserves the active OBS profile default.
stop_recording waits up to two minutes for the muxer and returns
stopPending=true with outputState=finalizing when bounded polling must
continue. Status classifies terminal artifacts as complete, stalled,
empty, failed, or missing, reports the actual .stalled path, and reads
the final byte count from disk after the output closes.
start_scene_recordings starts a private video-only output without switching
the OBS program scene. Calls create separate sessions and may overlap up to
eight active outputs in one OBS instance; stopping one session leaves the
others running. Each output uses its scene's single enabled window_capture
source at native dimensions and includes that scene's Agent input overlay.
The MP4 muxer receives a private silent AAC timing track because OBS requires
an audio encoder for MP4 outputs; the session never reads the OBS audio mixer,
so its public contract remains video-only and cannot leak another app's audio.
Pass an absolute output_directory to separate application artifacts, or omit
it to use the current OBS profile recording directory. Application/run IDs and
an expected source/PID/HWND can be supplied and are returned in typed status;
start fails closed when an expected window binding no longer matches.
The native plugin adds a top-level DCC MCP menu to OBS. Server Status...
shows the exact plugin and OBS versions, bridge readiness, active outputs, and
current scene. Add Agent Input Overlay attaches the shared built-in source to
the current scene. Open Gateway Admin opens only the loopback Gateway URL
(127.0.0.1, port 9766 by default or a valid DCC_MCP_OBS_CONTROL_PORT). The menu
is registered idempotently on OBS's UI thread and removed during plugin unload.
Use request_graceful_shutdown instead of terminating the OBS process. The
native plugin refuses the request while recording, streaming, replay buffer,
or virtual camera output is active, returns a terminal queued acknowledgement,
and then asks the OBS frontend to exit normally. Callers verify process and
plugin-instance disappearance outside the closed connection.
OBS control is native-plugin/WebSocket first. Unsupported visual-only actions
may use DCC-MCP ui-control with project-owned DCC-CUA only after exact PID
and HWND binding, a fresh snapshot, and post-action readback. There is no
generic Computer Use fallback.
Development
python -m pip install -e ".[dev]"
python -m pytest
python -m ruff check .
python -m ruff format --check .
dcc-mcp-cli lint src/dcc_mcp_obs/skills/obs-control --warnings-as-errorsThe native build uses the official OBS plugin template toolchain and OBS 31.1.1 SDK inputs pinned with SHA-256 hashes:
cmake --preset windows-x64
cmake --build --preset windows-ci-x64Equivalent CI builds run on Windows, macOS, and Linux.
Validation boundary
Unit tests, adversarial fake protocol sessions, native compilation, and package smoke tests remain separate from host acceptance. The disposable real-OBS gate launches the packaged plugin and installed wheel on Windows, macOS, and Linux, verifies exact process/session binding and state readback, and publishes only privacy-safe evidence. See the acceptance contract.
License
GPL-2.0-or-later. The native module links to OBS Studio and vendors the official OBS WebSocket plugin API header with its original notice.
This server cannot be deployed
Maintenance
Related MCP Connectors
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
- sleipnirOAuthtv.sleipnir
Multistream to Twitch, YouTube and Kick; generate OBS overlays from a plain-English prompt.
Securely control computers you explicitly pair through files, terminals, processes, screenshots, desktop UI/input, clipboard, browser automation, diagnostics, and document tools.
Create images and videos with OfflineCreator Studio through OAuth or the npm stdio server.
Related MCP Servers
- AlicenseBqualityFmaintenanceA server that provides tools to control OBS Studio remotely via the OBS WebSocket protocol, enabling management of scenes, sources, streaming, and recording through an MCP client interface.100214 npm129GPL 2.0
- AlicenseAqualityDmaintenanceAn MCP (Model Context Protocol) server for controlling OBS Studio via the built-in obs-websocket plugin. Lets Claude control your scenes, recording, streaming, audio, and more.266 npm1MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to control and automate OBS Studio via natural language, covering scenes, sources, audio, recording, streaming, transitions, filters, media playback, diagnostics, and multi-step workflows over the OBS WebSocket protocol.89MIT
- AlicenseBqualityBmaintenanceEnables MCP clients to control OBS Studio through an inspectable WebSocket interface. Provides 155 tools for managing scenes, sources, audio, transitions, filters, recording, and streaming through natural language.155214 npm2GPL 2.0