obs-studio-mcp
Allows controlling OBS Studio via obs-websocket, including scene switching, source management, audio control, streaming, recording, replay buffer, virtual camera, and performance stats.
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., "@obs-studio-mcp switch to the 'Camera' scene and start recording"
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.
obs-studio-mcp
An MCP (Model Context Protocol) server for controlling OBS Studio over obs-websocket v5: scenes, sources, audio, text overlays, streaming, recording, replay buffer, virtual camera, and performance stats.
Talks to the obs-websocket server built into OBS 28+ (Tools → WebSocket Server Settings).
Every mutating tool accepts
dry_run=trueand returns a preview instead of acting — useful guard rails when an agent drives your live stream.No secrets in this repo or in your MCP client config.
Quick start
In OBS: Tools → WebSocket Server Settings → enable, note the port (default 4455) and password.
Provide connection settings via environment:
export OBS_MCP_HOST=127.0.0.1 # default
export OBS_MCP_PORT=4455 # default
export OBS_MCP_PASSWORD=yourpass # via the default env backendAdd to your MCP client:
# Claude Code
claude mcp add obs -s user -- uvx obs-studio-mcpRelated MCP server: obs-mcp-server
Tools
Area | Tools |
Scenes |
|
Sources |
|
Output |
|
System |
|
update_text_source is handy for driving on-stream overlays from an agent —
question-of-the-day, now-playing, countdowns — anything rendered by a Text
source.
Secret storage
The only secret is the websocket password.
Backend | Select with | Reads |
| — |
|
|
|
|
|
| a Vaultwarden vault via a local vaultproxy HTTP API |
Development
pip install -e '.[dev]'
ruff check src tests && pytestTests are fully offline (fake obs-websocket client).
License
MIT
Available Tools
36 toolsget_audio_levelsA
List audio inputs with mute state and volume (dB).
Inputs: no named parameters. Returns: result
get_scene_item_transformB
Get a scene item's position, scale, and crop.
Inputs: scene (required), item_id (required).
get_statsA
OBS performance stats: CPU, memory, FPS, frame drops, disk space.
Inputs: no named parameters.
health_checkA
Verify the OBS websocket connection and report versions.
Inputs: no named parameters.
list_inputsA
List all inputs (sources) with their kinds.
Inputs: no named parameters. Returns: result
list_profilesA
List OBS profiles and the current one.
Inputs: no named parameters.
list_scene_collectionsB
List scene collections and the current one.
Inputs: no named parameters.
list_scene_itemsB
List the items (sources) inside a scene with visibility state.
Inputs: scene (required). Returns: result
list_scenesA
List scenes and the current program/preview scene.
Inputs: no named parameters.
list_source_filtersC
List filters on a source with enabled state.
Inputs: source (required). Returns: result
media_controlC
Control a media source. action: play|pause|restart|stop|next|previous.
Inputs: action (required), input_name (required), dry_run.
pause_recordC
Pause (true) or resume (false) the recording.
Inputs: paused (required), dry_run.
record_statusB
Recording state: active, paused, duration, output path.
Inputs: no named parameters.
save_replayB
Save the replay buffer (must be running). Returns the clip path.
Inputs: dry_run.
screenshot_sourceC
Save a PNG screenshot of a source (or scene) to a local file.
Inputs: source (required), file_path (required), width, dry_run.
set_filter_enabledC
Enable or disable a named filter on a source.
Inputs: source (required), enabled (required), filter_name (required), dry_run.
set_muteC
Mute or unmute an audio input.
Inputs: muted (required), input_name (required), dry_run.
set_preview_sceneC
Set the preview scene (studio mode).
Inputs: scene (required), dry_run.
set_replay_bufferC
Start (true) or stop (false) the replay buffer.
Inputs: active (required), dry_run.
set_scene_item_transformA
Move/scale a scene item (item_id from list_scene_items). Only supplied fields change — e.g. scale_x/scale_y 0.5 halves a facecam.
Inputs: scene (required), item_id (required), x, y, +3 more.
set_scene_item_visibilityC
Show or hide a scene item (item_id from list_scene_items).
Inputs: scene (required), item_id (required), visible (required), dry_run.
set_studio_modeC
Enable or disable studio mode.
Inputs: enabled (required), dry_run.
set_virtual_camC
Start (true) or stop (false) the virtual camera.
Inputs: active (required), dry_run.
set_volumeC
Set an audio input's volume in dB (0 = unity, negative = quieter).
Inputs: volume_db (required), input_name (required), dry_run.
start_recordC
Start recording.
Inputs: dry_run.
start_streamC
Go live: start streaming to the configured service.
Inputs: dry_run.
stop_recordC
Stop recording; returns the saved file path.
Inputs: dry_run.
stop_streamC
End the live stream.
Inputs: dry_run.
stream_statusA
Streaming state: live, duration, bytes, dropped frames.
Inputs: no named parameters.
switch_profileC
Switch OBS profile (stream settings bundle).
Inputs: profile (required), dry_run.
switch_sceneC
Switch the program output to a scene (immediate cut on program).
Inputs: scene (required), dry_run.
switch_scene_collectionC
Switch scene collection (full scene layout bundle).
Inputs: name (required), dry_run.
trigger_hotkeyB
Trigger an OBS hotkey by name (see get_hotkey_list in OBS docs).
Inputs: hotkey_name (required), dry_run.
trigger_transitionC
Trigger the studio-mode transition (preview → program).
Inputs: dry_run.
update_text_sourceB
Set the text of a Text (GDI+/FreeType) source — e.g. an on-stream overlay line like a giveaway question or now-playing label.
Inputs: text (required), input_name (required), dry_run.
watch_healthA
Sample OBS stats for up to 60 seconds and report a stream-health verdict: dropped-frame %, GPU misses, CPU pressure.
Inputs: seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Every tool has a clearly distinct purpose, targeting specific OBS functions such as scenes, sources, audio, streaming, recording, etc. There is no meaningful overlap that would cause an agent to misselect.
All tool names follow a consistent verb_noun pattern using snake_case, e.g., list_scenes, set_mute, start_stream. No mixing of conventions or irregular naming.
With 36 tools, the count is slightly higher than the typical well-scoped range, but each tool covers a distinct and essential aspect of OBS control, making the set feel comprehensive rather than bloated.
While the tool set covers many common workflows, it lacks creation and deletion actions for scenes and sources (e.g., create_scene, remove_input), leaving notable gaps in full lifecycle management.
Maintenance
Related MCP Connectors
MCP server for Speech-to-Text
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server for Text-to-Speech
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.100171GPL 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.2615 npm1MIT
- AlicenseBqualityDmaintenanceMCP server enabling LLMs to control OBS Studio through high-level show and effect APIs.18MIT
- AlicenseBqualityCmaintenanceMCP server that gives AI assistants direct control over Streamlabs Desktop, enabling scene switching, source/audio management, and streaming/recording controls through natural language.59MIT