obs-mcp
v1.1.0MCP server for OBS Studio
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
obs-get-version
Gets data about the current plugin and RPC version
obs-get-stats
Gets statistics about OBS, obs-websocket, and the current session
obs-broadcast-custom-event
Broadcasts a CustomEvent to all WebSocket clients
| Parameter | Type | Description |
|---|---|---|
eventData * | object | Data payload to emit to all receivers |
obs-call-vendor-request
Call a request registered to a vendor
| Parameter | Type | Description |
|---|---|---|
requestType * | string | The request type to call |
vendorName * | string | Name of the vendor to use |
requestData | object | Object containing appropriate request data |
obs-get-hotkey-list
Gets an array of all hotkey names in OBS
obs-trigger-hotkey-by-name
Triggers a hotkey using its name
| Parameter | Type | Description |
|---|---|---|
hotkeyName * | string | Name of the hotkey to trigger |
contextName | string | Name of context of the hotkey to trigger |
obs-trigger-hotkey-by-key-sequence
Triggers a hotkey using a sequence of keys
| Parameter | Type | Description |
|---|---|---|
keyId | string | The OBS key ID to use |
keyModifiers | object | Object containing key modifiers to apply |
obs-sleep
Sleeps for a time duration or number of frames
| Parameter | Type | Description |
|---|---|---|
sleepFrames | number | Number of frames to sleep for |
sleepMillis | number | Number of milliseconds to sleep for |
obs-get-scene-list
Get a list of scenes in OBS
obs-get-current-scene
Get the current active scene in OBS
obs-set-current-scene
Set the current active scene in OBS
| Parameter | Type | Description |
|---|---|---|
sceneName * | string | The name of the scene to set as current |
obs-get-preview-scene
Get the current preview scene in OBS Studio Mode
obs-set-preview-scene
Set the current preview scene in OBS Studio Mode
| Parameter | Type | Description |
|---|---|---|
sceneName * | string | The name of the scene to set as preview |
obs-create-scene
Create a new scene in OBS
| Parameter | Type | Description |
|---|---|---|
sceneName * | string | The name for the new scene |
obs-remove-scene
Remove a scene from OBS
| Parameter | Type | Description |
|---|---|---|
sceneName * | string | The name of the scene to remove |
obs-trigger-studio-transition
Trigger a transition from preview to program scene in Studio Mode
obs-get-source-active
Gets the active and show state of a source
| Parameter | Type | Description |
|---|---|---|
sourceName | string | Name of the source to get the active state of |
sourceUuid | string | UUID of the source to get the active state of |
obs-get-source-screenshot
Gets a Base64-encoded screenshot of a source
| Parameter | Type | Description |
|---|---|---|
imageFormat * | string | Image compression format to use |
imageCompressionQuality | number | Compression quality to use (0-100, -1 for default) |
imageHeight | number | Height to scale the screenshot to |
imageWidth | number | Width to scale the screenshot to |
sourceName | string | Name of the source to take a screenshot of |
sourceUuid | string | UUID of the source to take a screenshot of |
obs-save-source-screenshot
Saves a screenshot of a source to the filesystem
| Parameter | Type | Description |
|---|---|---|
imageFilePath * | string | Path to save the screenshot file to |
imageFormat * | string | Image compression format to use |
imageCompressionQuality | number | Compression quality to use (0-100, -1 for default) |
imageHeight | number | Height to scale the screenshot to |
imageWidth | number | Width to scale the screenshot to |
sourceName | string | Name of the source to take a screenshot of |
sourceUuid | string | UUID of the source to take a screenshot of |
obs-get-scene-items
Get a list of all scene items in a scene
| Parameter | Type | Description |
|---|---|---|
sceneName * | string | The name of the scene to get items from |
obs-create-scene-item
Create a scene item for a source in a scene
| Parameter | Type | Description |
|---|---|---|
sceneName * | string | The scene to add the source to |
sourceName * | string | The name of the source to add |
enabled | boolean | Whether the scene item is enabled/visible (default: true) |
obs-remove-scene-item
Remove a scene item from a scene
| Parameter | Type | Description |
|---|---|---|
sceneItemId * | number | The ID of the scene item to remove |
sceneName * | string | The scene to remove the item from |
obs-set-scene-item-enabled
Show or hide a scene item
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Whether to show (true) or hide (false) the item |
sceneItemId * | number | The ID of the scene item |
sceneName * | string | The scene that the source belongs to |
obs-get-scene-item-transform
Get the position, rotation, scale, or crop of a scene item
| Parameter | Type | Description |
|---|---|---|
sceneItemId * | number | The ID of the scene item |
sceneName * | string | The scene the item is in |
obs-set-scene-item-transform
Set the position, rotation, scale, or crop of a scene item
| Parameter | Type | Description |
|---|---|---|
sceneItemId * | number | The ID of the scene item |
sceneName * | string | The scene the item is in |
cropBottom | number | The number of pixels cropped off the bottom |
cropLeft | number | The number of pixels cropped off the left |
cropRight | number | The number of pixels cropped off the right |
cropTop | number | The number of pixels cropped off the top |
positionX | number | The x position |
positionY | number | The y position |
rotation | number | The rotation in degrees |
scaleX | number | The x scale factor |
scaleY | number | The y scale factor |
obs-get-scene-item-id
Get the ID of a scene item by its source name
| Parameter | Type | Description |
|---|---|---|
sceneName * | string | The scene name to search in |
sourceName * | string | The source name to find |
obs-get-stream-status
Get the current streaming status
obs-start-stream
Start streaming in OBS
obs-stop-stream
Stop streaming in OBS
obs-toggle-stream
Toggle the streaming state in OBS
obs-send-stream-caption
Sends CEA-608 caption text over the stream output
| Parameter | Type | Description |
|---|---|---|
captionText * | string | Caption text to send |
obs-get-transition-list
Get a list of available transitions in OBS
obs-get-current-transition
Get the name of the currently active transition
obs-set-current-transition
Set the current transition in OBS
| Parameter | Type | Description |
|---|---|---|
transitionName * | string | The name of the transition to set as current |
obs-get-transition-duration
Get the duration of the current transition in milliseconds
obs-set-transition-duration
Set the duration of the current transition in milliseconds
| Parameter | Type | Description |
|---|---|---|
duration * | number | The duration to set in milliseconds |
obs-get-transition-kind
Get the kind/type of the current transition
obs-set-transition-settings
Set the settings of the current transition
| Parameter | Type | Description |
|---|---|---|
transitionSettings * | object | The settings to apply to the transition |
obs-get-transition-settings
Get the settings of the current transition
obs-trigger-transition
Trigger a scene transition in OBS (Studio Mode must be enabled)
obs-get-persistent-data
Gets the value of a slot from the selected persistent data realm
| Parameter | Type | Description |
|---|---|---|
realm * | string | The data realm to select. OBS_WEBSOCKET_DATA_REALM_GLOBAL or OBS_WEBSOCKET_DATA_REALM_PROFILE |
slotName * | string | The name of the slot to retrieve data from |
obs-set-persistent-data
Sets the value of a slot from the selected persistent data realm
| Parameter | Type | Description |
|---|---|---|
realm * | string | The data realm to select. OBS_WEBSOCKET_DATA_REALM_GLOBAL or OBS_WEBSOCKET_DATA_REALM_PROFILE |
slotName * | string | The name of the slot to set data for |
slotValue | The value to apply to the slot |
obs-get-scene-collection-list
Gets an array of all scene collections
obs-set-current-scene-collection
Switches to a scene collection
| Parameter | Type | Description |
|---|---|---|
sceneCollectionName * | string | Name of the scene collection to switch to |
obs-create-scene-collection
Creates a new scene collection, switching to it in the process
| Parameter | Type | Description |
|---|---|---|
sceneCollectionName * | string | Name for the new scene collection |
obs-get-profile-list
Gets an array of all profiles
obs-set-current-profile
Switches to a profile
| Parameter | Type | Description |
|---|---|---|
profileName * | string | Name of the profile to switch to |
obs-create-profile
Creates a new profile, switching to it in the process
| Parameter | Type | Description |
|---|---|---|
profileName * | string | Name for the new profile |
obs-remove-profile
Removes a profile. If the current profile is chosen, it will change to a different profile first
| Parameter | Type | Description |
|---|---|---|
profileName * | string | Name of the profile to remove |
obs-get-profile-parameter
Gets a parameter from the current profile's configuration
| Parameter | Type | Description |
|---|---|---|
parameterCategory * | string | Category of the parameter to get |
parameterName * | string | Name of the parameter to get |
obs-set-profile-parameter
Sets the value of a parameter in the current profile's configuration
| Parameter | Type | Description |
|---|---|---|
parameterCategory * | string | Category of the parameter to set |
parameterName * | string | Name of the parameter to set |
parameterValue * | string | null | Value of the parameter to set. Use null to delete |
obs-get-video-settings
Gets the current video settings
obs-set-video-settings
Sets the current video settings
| Parameter | Type | Description |
|---|---|---|
baseHeight | number | Height of the base (canvas) resolution in pixels |
baseWidth | number | Width of the base (canvas) resolution in pixels |
fpsDenominator | number | Denominator of the fractional FPS value |
fpsNumerator | number | Numerator of the fractional FPS value |
outputHeight | number | Height of the output resolution in pixels |
outputWidth | number | Width of the output resolution in pixels |
obs-get-stream-service-settings
Gets the current stream service settings
obs-set-stream-service-settings
Sets the current stream service settings
| Parameter | Type | Description |
|---|---|---|
streamServiceSettings * | object | Settings to apply to the service |
streamServiceType * | string | Type of stream service to apply. Example: rtmp_common or rtmp_custom |
obs-get-record-directory
Gets the current directory that the record output is set to
obs-set-record-directory
Sets the current directory that the record output writes files to
| Parameter | Type | Description |
|---|---|---|
recordDirectory * | string | Output directory |
obs-get-filter-kind-list
Gets an array of all available source filter kinds
obs-get-source-filter-list
Gets an array of all of a source's filters
| Parameter | Type | Description |
|---|---|---|
sourceName * | string | Name of the source |
obs-get-filter-default-settings
Gets the default settings for a filter kind
| Parameter | Type | Description |
|---|---|---|
filterKind * | string | Filter kind to get the default settings for |
obs-create-source-filter
Creates a new filter, adding it to the specified source
| Parameter | Type | Description |
|---|---|---|
filterKind * | string | The kind of filter to be created |
filterName * | string | Name of the new filter to be created |
sourceName * | string | Name of the source to add the filter to |
filterSettings | object | Settings object to initialize the filter with |
obs-remove-source-filter
Removes a filter from a source
| Parameter | Type | Description |
|---|---|---|
filterName * | string | Name of the filter to remove |
sourceName * | string | Name of the source the filter is on |
obs-set-source-filter-name
Sets the name of a source filter (rename)
| Parameter | Type | Description |
|---|---|---|
filterName * | string | Current name of the filter |
newFilterName * | string | New name for the filter |
sourceName * | string | Name of the source the filter is on |
obs-get-source-filter
Gets the info for a specific source filter
| Parameter | Type | Description |
|---|---|---|
filterName * | string | Name of the filter |
sourceName * | string | Name of the source |
obs-set-source-filter-index
Sets the index position of a filter on a source
| Parameter | Type | Description |
|---|---|---|
filterIndex * | number | New index position of the filter |
filterName * | string | Name of the filter |
sourceName * | string | Name of the source the filter is on |
obs-set-source-filter-settings
Sets the settings of a source filter
| Parameter | Type | Description |
|---|---|---|
filterName * | string | Name of the filter to set the settings of |
filterSettings * | object | Object of settings to apply |
sourceName * | string | Name of the source the filter is on |
overlay | boolean | True to apply settings on top of existing ones, False to reset to defaults first |
obs-set-source-filter-enabled
Sets the enable state of a source filter
| Parameter | Type | Description |
|---|---|---|
filterEnabled * | boolean | New enable state of the filter |
filterName * | string | Name of the filter |
sourceName * | string | Name of the source the filter is on |
obs-get-input-list
Gets an array of all inputs in OBS
| Parameter | Type | Description |
|---|---|---|
inputKind | string | Restrict the array to only inputs of the specified kind |
obs-get-input-kind-list
Gets an array of all available input kinds in OBS
| Parameter | Type | Description |
|---|---|---|
unversioned | boolean | True to return all kinds as unversioned, False to return with version suffixes |
obs-get-special-inputs
Gets the names of all special inputs
obs-create-input
Creates a new input, adding it as a scene item to the specified scene
| Parameter | Type | Description |
|---|---|---|
inputKind * | string | The kind of input to be created |
inputName * | string | Name of the new input to created |
sceneName * | string | Name of the scene to add the input to as a scene item |
inputSettings | object | Settings object to initialize the input with |
sceneItemEnabled | boolean | Whether to set the created scene item to enabled or disabled |
obs-remove-input
Removes an existing input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to remove |
obs-set-input-name
Sets the name of an input (rename)
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Current input name |
newInputName * | string | New name for the input |
obs-get-input-default-settings
Gets the default settings for an input kind
| Parameter | Type | Description |
|---|---|---|
inputKind * | string | Input kind to get the default settings for |
obs-get-input-settings
Gets the settings of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to get the settings of |
obs-set-input-settings
Sets the settings of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to set the settings of |
inputSettings * | object | Object of settings to apply |
overlay | boolean | True to apply settings on top of existing ones, False to reset to defaults first |
obs-get-input-mute
Gets the audio mute state of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of input to get the mute state of |
obs-set-input-mute
Sets the audio mute state of an input
| Parameter | Type | Description |
|---|---|---|
inputMuted * | boolean | Whether to mute the input or not |
inputName * | string | Name of the input to set the mute state of |
obs-toggle-input-mute
Toggles the audio mute state of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to toggle the mute state of |
obs-get-input-volume
Gets the current volume setting of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to get the volume of |
obs-set-input-volume
Sets the volume setting of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to set the volume of |
inputVolumeDb | number | Volume setting in dB (-100 to 26) |
inputVolumeMul | number | Volume setting in mul (0-20) |
obs-get-input-audio-balance
Gets the audio balance of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to get the audio balance of |
obs-set-input-audio-balance
Sets the audio balance of an input
| Parameter | Type | Description |
|---|---|---|
inputAudioBalance * | number | New audio balance value (0.0-1.0) |
inputName * | string | Name of the input to set the audio balance of |
obs-get-input-audio-sync-offset
Gets the audio sync offset of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to get the audio sync offset of |
obs-set-input-audio-sync-offset
Sets the audio sync offset of an input
| Parameter | Type | Description |
|---|---|---|
inputAudioSyncOffset * | number | New audio sync offset in milliseconds |
inputName * | string | Name of the input to set the audio sync offset of |
obs-get-input-audio-monitor-type
Gets the audio monitor type of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to get the audio monitor type of |
obs-set-input-audio-monitor-type
Sets the audio monitor type of an input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the input to set the audio monitor type of |
monitorType * | string | Audio monitor type (OBS_MONITORING_TYPE_NONE, OBS_MONITORING_TYPE_MONITOR_ONLY, OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT) |
obs-get-media-input-status
Gets the status of a media input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the media input |
obs-set-media-input-cursor
Sets the cursor position of a media input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the media input |
mediaCursor * | number | New cursor position to set (in milliseconds) |
obs-offset-media-input-cursor
Offsets the current cursor position of a media input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the media input |
mediaCursorOffset * | number | Value to offset the current cursor position by (in milliseconds) |
obs-trigger-media-input-action
Triggers an action on a media input
| Parameter | Type | Description |
|---|---|---|
inputName * | string | Name of the media input |
mediaAction * | string | Action to trigger (PLAY, PAUSE, STOP, RESTART, NEXT, PREVIOUS) |
obs-get-virtual-cam-status
Gets the status of the virtualcam output
obs-toggle-virtual-cam
Toggles the state of the virtualcam output
obs-start-virtual-cam
Starts the virtualcam output
obs-stop-virtual-cam
Stops the virtualcam output
obs-get-replay-buffer-status
Gets the status of the replay buffer output
obs-toggle-replay-buffer
Toggles the state of the replay buffer output
obs-start-replay-buffer
Starts the replay buffer output
obs-stop-replay-buffer
Stops the replay buffer output
obs-save-replay-buffer
Saves the contents of the replay buffer output
obs-get-last-replay-buffer-replay
Gets the filename of the last replay buffer save file
obs-get-output-list
Gets the list of available outputs
obs-get-output-status
Gets the status of an output
| Parameter | Type | Description |
|---|---|---|
outputName * | string | Output name |
obs-toggle-output
Toggles the status of an output
| Parameter | Type | Description |
|---|---|---|
outputName * | string | Output name |
obs-start-output
Starts an output
| Parameter | Type | Description |
|---|---|---|
outputName * | string | Output name |
obs-stop-output
Stops an output
| Parameter | Type | Description |
|---|---|---|
outputName * | string | Output name |
obs-get-output-settings
Gets the settings of an output
| Parameter | Type | Description |
|---|---|---|
outputName * | string | Output name |
obs-set-output-settings
Sets the settings of an output
| Parameter | Type | Description |
|---|---|---|
outputName * | string | Output name |
outputSettings * | object | Output settings |
obs-get-record-status
Gets the status of the record output
obs-toggle-record
Toggles the status of the record output
obs-start-record
Starts the record output
obs-stop-record
Stops the record output
obs-toggle-record-pause
Toggles pause on the record output
obs-pause-record
Pauses the record output
obs-resume-record
Resumes the record output
obs-split-record-file
Splits the current file being recorded into a new file
obs-create-record-chapter
Adds a new chapter marker to the file currently being recorded
| Parameter | Type | Description |
|---|---|---|
chapterName | string | Name of the new chapter |
obs-get-studio-mode
Gets whether studio mode is enabled
obs-set-studio-mode
Enables or disables studio mode
| Parameter | Type | Description |
|---|---|---|
studioModeEnabled * | boolean | Whether to enable (true) or disable (false) Studio Mode |
obs-open-input-properties
Opens the properties dialog of an input
| Parameter | Type | Description |
|---|---|---|
inputName | string | Name of the input to open the dialog of |
inputUuid | string | UUID of the input to open the dialog of |
obs-open-input-filters
Opens the filters dialog of an input
| Parameter | Type | Description |
|---|---|---|
inputName | string | Name of the input to open the dialog of |
inputUuid | string | UUID of the input to open the dialog of |
obs-open-input-interact
Opens the interact dialog of an input
| Parameter | Type | Description |
|---|---|---|
inputName | string | Name of the input to open the dialog of |
inputUuid | string | UUID of the input to open the dialog of |
obs-get-monitor-list
Gets a list of connected monitors and information about them
obs-open-video-mix-projector
Opens a projector for a specific output video mix
| Parameter | Type | Description |
|---|---|---|
videoMixType * | string | Type of mix to open |
monitorIndex | number | Monitor index, use -1 for windowed mode |
projectorGeometry | string | Size/Position data for a windowed projector |
obs-open-source-projector
Opens a projector for a source
| Parameter | Type | Description |
|---|---|---|
monitorIndex | number | Monitor index, use -1 for windowed mode |
projectorGeometry | string | Size/Position data for a windowed projector |
sourceName | string | Name of the source to open a projector for |
sourceUuid | string | UUID of the source to open a projector for |