Skip to main content
Glama
OBS Studio MCP Tools

OBS Studio MCP Tools

by kucharskill

OBS Studio MCP Tools

Control OBS Studio through an MCP agent: inspect status, launch OBS, record, capture the active scene, switch scenes and inspect audio routing. Discover additional operations through a searchable catalog generated from the official OBS WebSocket protocol.

Available on npm, with source and releases on GitHub.

Requires Node.js 24.12+ with npm and OBS Studio 28+ with its WebSocket server enabled under Tools > WebSocket Server Settings.

MCP setup

npx -y --prefer-online mcp-obs-studio-tools@latest
{
  "mcpServers": {
    "obs": {
      "command": "npx",
      "args": ["-y", "--prefer-online", "mcp-obs-studio-tools@latest"],
      "env": {
        "OBS_ENV_FILE": "/absolute/path/obs.env"
      }
    }
  }
}

Set the client's startup and tool timeouts to 180 seconds. On Windows, clients requiring an executable extension can use npx.cmd.

Copy .env.example to your selected configuration file and enter the WebSocket settings. Alternatively, append --env-file /absolute/path/obs.env to the command. The aliases -env_file and --env_file are supported.

Related MCP server: obs-mcp-server

Tools

Tool

Purpose

obs_status

OBS process/executable, connection, version, active scene, recording, streaming and last recording within 12 hours.

obs_auth

Save supplied address, port and password, then return status. Omitted values use configuration.

obs_launch

Launch OBS using a detected executable or an explicit path.

obs_record_start

Start recording.

obs_record_stop

Stop recording and return the file path and completion date.

obs_screenshot

Return a PNG of the active program scene. Default width: 1280 px.

obs_scenes

Scene names/UUIDs, active scene and directly enabled elements.

obs_scene_set

Switch the live program scene by exact name.

obs_audio

Global and scene audio sources, mute, volume, monitoring and track assignments.

obs_commands

Full command-name index, English search and detailed argument help.

obs_execute

Execute catalog commands individually or in serial sequences.

Typical agent workflow:

obs_status({})
obs_auth({ address: "127.0.0.1", port: 4455 })
obs_scenes({})
obs_scene_set({ name: "Camera" })
obs_record_start({})
obs_record_stop({})

Start with status. Use obs_launch when the local application needs starting and obs_auth to configure access. Connection errors return an errorCode and actionable userAction.

For additional operations, search, inspect arguments, retrieve required names/IDs from OBS, then execute:

obs_commands({ query: "volume" })
obs_commands({ name: "SetInputVolume" })
obs_execute({ requests: [{
  requestType: "SetInputVolume",
  requestData: { inputName: "Microphone", inputVolumeDb: -6 }
}] })

Sequences validate all commands before execution and stop on failure by default. Completed changes remain applied. Check status before retrying an interrupted operation.

Configuration

Variable

Default / purpose

OBS_URL

ws://127.0.0.1:4455

OBS_PASSWORD

WebSocket password

OBS_ENV_FILE

.env in the startup working directory

OBS_EXECUTABLE

Detected or configured absolute OBS executable path

OBS_TIMEOUT_MS

15000, per OBS operation

OBS_STATE_DIR

Recording history; defaults to the system temporary directory under obs-mcp

Connection precedence: current obs_auth arguments, process environment, selected env file, built-in defaults. Supplied connection settings are saved to the selected file. Workers reload it for subsequent calls. Executable discovery checks running OBS processes, OBS_EXECUTABLE, standard installation folders and PATH, then saves the verified path.

Outputs include JSON status/results, PNG screenshots and recording file paths. Recent recording dates use ISO 8601 UTC: observed stops are marked completedAt; local recording-directory discovery uses modifiedAt. Audio track assignments describe source routing; recording settings select the output tracks. Enabled scene items describe visibility settings, while audio activity and media playback have their own states.

Updates

Each new npx launch resolves the published latest version. Restart the MCP server through your client to load an update. OBS continues running independently.

License

GPL-2.0-only. The bundled command catalog comes from obsproject/obs-websocket; its source revision and license are included in data/. OBS communication uses obs-websocket-js.

Available Tools

11 tools
obs_audioA

Read all audio-capable inputs, global desktop/mic slots, scene placements (including groups and nested scenes), mute, volume, monitoring and audio track assignments. Enabled placements are not proof of audible output or recording inclusion. Does not change audio settings. Returns partial field failures in warnings.

Inputs: no named parameters.

obs_authA

Configure OBS access and return the same unified result as obs_status. Without arguments, simply check status; no separate authentication probe or persistent session is created. Optional address, port and password override defaults and are saved to the selected dotenv file before checking status, even if access fails. Omitted values use configuration. Never return the password. Failures include connected=false, errorCode and userAction. Other operations authenticate transparently; calling obs_auth first is not required.

Inputs: port, address, password.

obs_commandsA

Discover additional OBS commands. Use query to search English words, or name to get an exact command's description, parameter types, required fields, restrictions and response fields. Before obs_execute, inspect the command with name and retrieve any required scene/input names or IDs from OBS using the appropriate list command. Offline catalog; actual support depends on the connected OBS version. obs_auth returns availableRequests for that instance.

Available catalog commands (147), grouped by category: canvases: GetCanvasList config: CreateProfile, CreateSceneCollection, GetPersistentData, GetProfileList, GetProfileParameter, GetRecordDirectory, GetSceneCollectionList, GetStreamServiceSettings, GetVideoSettings, RemoveProfile, SetCurrentProfile, SetCurrentSceneCollection, SetPersistentData, SetProfileParameter, SetRecordDirectory, SetStreamServiceSettings, SetVideoSettings filters: CreateSourceFilter, GetSourceFilter, GetSourceFilterDefaultSettings, GetSourceFilterKindList, GetSourceFilterList, RemoveSourceFilter, SetSourceFilterEnabled, SetSourceFilterIndex, SetSourceFilterName, SetSourceFilterSettings general: BroadcastCustomEvent, CallVendorRequest, GetHotkeyList, GetStats, GetVersion, Sleep, TriggerHotkeyByKeySequence, TriggerHotkeyByName inputs: CreateInput, GetInputAudioBalance, GetInputAudioMonitorType, GetInputAudioSyncOffset, GetInputAudioTracks, GetInputDefaultSettings, GetInputDeinterlaceFieldOrder, GetInputDeinterlaceMode, GetInputKindList, GetInputList, GetInputMute, GetInputPropertiesListPropertyItems, GetInputSettings, GetInputVolume, GetSpecialInputs, PressInputPropertiesButton, RemoveInput, SetInputAudioBalance, SetInputAudioMonitorType, SetInputAudioSyncOffset, SetInputAudioTracks, SetInputDeinterlaceFieldOrder, SetInputDeinterlaceMode, SetInputMute, SetInputName, SetInputSettings, SetInputVolume, ToggleInputMute media inputs: GetMediaInputStatus, OffsetMediaInputCursor, SetMediaInputCursor, TriggerMediaInputAction outputs: GetLastReplayBufferReplay, GetOutputList, GetOutputSettings, GetOutputStatus, GetReplayBufferStatus, GetVirtualCamStatus, SaveReplayBuffer, SetOutputSettings, StartOutput, StartReplayBuffer, StartVirtualCam, StopOutput, StopReplayBuffer, StopVirtualCam, ToggleOutput, ToggleReplayBuffer, ToggleVirtualCam record: CreateRecordChapter, GetRecordStatus, PauseRecord, ResumeRecord, SplitRecordFile, StartRecord, StopRecord, ToggleRecord, ToggleRecordPause scene items: CreateSceneItem, DuplicateSceneItem, GetGroupSceneItemList, GetSceneItemBlendMode, GetSceneItemEnabled, GetSceneItemId, GetSceneItemIndex, GetSceneItemList, GetSceneItemLocked, GetSceneItemSource, GetSceneItemTransform, RemoveSceneItem, SetSceneItemBlendMode, SetSceneItemEnabled, SetSceneItemIndex, SetSceneItemLocked, SetSceneItemTransform scenes: CreateScene, GetCurrentPreviewScene, GetCurrentProgramScene, GetGroupList, GetSceneList, GetSceneSceneTransitionOverride, RemoveScene, SetCurrentPreviewScene, SetCurrentProgramScene, SetSceneName, SetSceneSceneTransitionOverride sources: GetSourceActive, GetSourceScreenshot, SaveSourceScreenshot stream: GetStreamStatus, SendStreamCaption, StartStream, StopStream, ToggleStream transitions: GetCurrentSceneTransition, GetCurrentSceneTransitionCursor, GetSceneTransitionList, GetTransitionKindList, SetCurrentSceneTransition, SetCurrentSceneTransitionDuration, SetCurrentSceneTransitionSettings, SetTBarPosition, TriggerStudioModeTransition ui: GetMonitorList, GetStudioModeEnabled, OpenInputFiltersDialog, OpenInputInteractDialog, OpenInputPropertiesDialog, OpenSourceProjector, OpenVideoMixProjector, SetStudioModeEnabled

Inputs: name, limit, query, offset.

obs_executeB

Execute one command or a serial sequence from obs_commands. Validate all commands first. Sequences are not atomic and have no rollback. Never automatically retry a failed operation: check status first.

Inputs: requests (required), haltOnFailure (required).

obs_launchA

Launch the OBS application. Does not enable or verify WebSocket. Then call obs_auth. Repeated calls may launch another OBS instance.

Inputs: args, executable.

obs_record_startB

Start recording in OBS. Recording continues after this operation disconnects.

Inputs: no named parameters.

obs_record_stopA

Stop recording and return the output file path and completion timestamp.

Inputs: no named parameters.

obs_scenesA

List OBS scenes with names, UUIDs, the active program scene and each scene's enabledElements (names, IDs and types). Enabled means the scene-item visibility flag is on, not that the scene is on air or a media source is playing. Lists direct items only; groups and nested scenes are named but not expanded.

Inputs: no named parameters.

obs_scene_setA

Switch the active program scene by its exact name from obs_scenes. This changes the live program output, including in Studio Mode. Return the requested name and current program scene after the request.

Inputs: name (required).

obs_screenshotC

Return a PNG image of the active program scene.

Inputs: width, height.

obs_statusA

Locate the local OBS executable in priority order: running OBS process paths, OBS_EXECUTABLE, default installation folders, PATH. Verify file existence and save the discovered path as OBS_EXECUTABLE in the selected dotenv file. Return installation.executable, architecture, OBS processes with PIDs, source, checkedPaths and persistence result, even when WebSocket is unavailable, without launching OBS. Get connectivity, active program scene, recording and streaming status. Include last recording if at most 12 hours old, with path, ISO date and dateKind. File discovery uses modification time, not a verified completion time.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 11 tools

    Disambiguation3/5

    Most tools target distinct operations, but the wrapper tools overlap heavily with the generic obs_execute catalog surface: obs_scenes duplicates GetSceneList, obs_scene_set duplicates SetCurrentProgramScene, obs_audio duplicates the input-audio getters, and obs_record_start/stop duplicate StartRecord/StopRecord. Additionally, obs_launch, obs_auth, and obs_status all touch connectivity, with obs_auth explicitly noted to return the same result as obs_status. Descriptions clarify the boundaries reasonably, but an agent still has to decide between wrapper and generic path.

    Naming Consistency3/5

    All tools share the obs_ prefix and snake_case, which is good. However the internal pattern is inconsistent: verb-first action tools (obs_launch, obs_auth, obs_execute), noun-first with verb suffix (obs_record_start, obs_scene_set), and bare noun list tools (obs_scenes, obs_audio, obs_commands). There is also a plural/singular mismatch (obs_scenes lists all, obs_scene_set sets one).

    Tool Count5/5

    Eleven tools sits squarely in the well-scoped range. The convenience wrappers for recording, scenes, audio, and screenshots are justified, and the obs_commands/obs_execute pair handles the remaining breadth without spawning hundreds of tools.

    Completeness4/5

    The generic obs_commands catalog plus obs_execute provides an escape hatch to the full 147-command OBS WebSocket surface, so most domain needs (streaming, sources, filters, transitions) are reachable. Minor gaps exist in the dedicated wrappers (no direct streaming or scene-rename helper), but agents can work around them via obs_execute.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers