Skip to main content
Glama
streamlabs-mcp

streamlabs-mcp

streamlabs-mcp

An MCP (Model Context Protocol) server that gives AI assistants direct control over Streamlabs Desktop — switch scenes, show/hide sources, adjust audio, start/stop streaming or recording, manage studio mode, and more.

It talks to Streamlabs Desktop's own local Remote Control API (the same one used by Streamlabs' official mobile remote-control app), so no unofficial hacks or screen automation are involved.

This is not a Claude-only tool. MCP is an open, model-agnostic protocol, so this server works with any MCP-compatible client — Claude Desktop, Claude Code, Cursor, or anything else that can spawn a local stdio MCP server.

Disclaimer: This is an independent, community project. It is not made or endorsed by Streamlabs. Use at your own risk — some tools (e.g. streamlabs_toggle_streaming) can start/stop your live stream, so give your AI assistant clear instructions about when it's allowed to use them.

Features

  • 59 tools covering scenes, scene items (position/scale/rotation/crop), sources, audio, streaming/recording, replay buffer, studio mode, scene collections, notifications, and performance stats.

  • Pure stdio MCP server — no cloud relay, no external service. Your assistant talks directly to Streamlabs Desktop over your own machine's loopback connection.

  • Zero configuration beyond a single token.

Related MCP server: Fattly

Prerequisites

  • Streamlabs Desktop installed and running on the same machine.

  • Node.js 18 or newer.

  • An MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.).

1. Enable Remote Control in Streamlabs Desktop

  1. Open Streamlabs Desktop.

  2. Go to Settings -> Remote Control.

  3. Click the QR code, then Show details.

  4. Copy the token shown there. Treat this like a password — anyone with it can control your stream.

2. Install

git clone https://github.com/AhmadTariq1337/streamlabs-mcp.git
cd streamlabs-mcp
npm install

3. Configure your MCP client

This server reads two environment variables:

Variable

Required

Default

Description

STREAMLABS_TOKEN

Yes

—

The token from step 1.

STREAMLABS_HOST

No

127.0.0.1:59650

Host:port of the Streamlabs Desktop API.

Point your MCP client at node <path-to-this-folder>/index.js with STREAMLABS_TOKEN set. Examples below.

Claude Desktop / Claude Code

Add to your MCP config (Claude Desktop: Settings -> Developer -> Edit Config; Claude Code: your project or user mcp.json):

{
  "mcpServers": {
    "streamlabs": {
      "command": "node",
      "args": ["/absolute/path/to/streamlabs-mcp/index.js"],
      "env": {
        "STREAMLABS_TOKEN": "paste-your-token-here"
      }
    }
  }
}

Restart your client afterward.

Cursor

Same shape, in Cursor's mcp.json:

{
  "mcpServers": {
    "streamlabs": {
      "command": "node",
      "args": ["/absolute/path/to/streamlabs-mcp/index.js"],
      "env": {
        "STREAMLABS_TOKEN": "paste-your-token-here"
      }
    }
  }
}

Any other MCP client

This is a standard stdio MCP server — configure your client to run:

node /absolute/path/to/streamlabs-mcp/index.js

with STREAMLABS_TOKEN (and optionally STREAMLABS_HOST) set in its environment. That's all any MCP client needs.

4. Test it

With Streamlabs Desktop running, ask your assistant something like "list my Streamlabs scenes" or "what's my current streaming status?".

Tool reference

Scenes

Tool

Description

streamlabs_list_scenes

List all scenes in the current scene collection.

streamlabs_get_scene

Get a specific scene by id.

streamlabs_get_active_scene

Get the currently active scene and its items.

streamlabs_switch_scene

Switch to a different scene.

streamlabs_create_scene

Create a new empty scene.

streamlabs_remove_scene

Delete a scene.

streamlabs_rename_scene

Rename a scene.

streamlabs_clear_scene

Remove all items from a scene.

streamlabs_add_source_to_scene

Add an existing source to a scene.

streamlabs_create_and_add_source

Create a new source and add it to a scene in one step.

Scene items

Tool

Description

streamlabs_set_scene_item_visibility

Show or hide a scene item.

streamlabs_remove_scene_item

Remove an item from a scene.

streamlabs_set_scene_item_transform

Set position/scale/rotation/crop.

streamlabs_set_scene_item_scale

Set scale around an origin point.

streamlabs_reset_scene_item_transform

Reset transform to default.

streamlabs_flip_scene_item_x / _y

Flip an item horizontally/vertically.

streamlabs_rotate_scene_item

Rotate by a number of degrees.

streamlabs_center_scene_item

Center an item on the canvas.

streamlabs_fit_scene_item_to_screen

Fit to canvas, preserving aspect ratio.

streamlabs_stretch_scene_item_to_screen

Stretch to fill the canvas.

Sources

Tool

Description

streamlabs_list_sources

List all sources.

streamlabs_get_source

Get a source by id.

streamlabs_get_sources_by_name

Find sources by display name.

streamlabs_create_source

Create a source without adding it to a scene.

streamlabs_remove_source

Delete a source everywhere it's used.

streamlabs_list_available_source_types

List source types this system can create.

streamlabs_get_source_settings

Get a source's settings.

streamlabs_update_source_settings

Update a source's settings (URL, text, etc).

streamlabs_rename_source

Rename a source.

streamlabs_duplicate_source

Duplicate a source.

streamlabs_refresh_source

Reload a source (e.g. a browser source).

Audio

Tool

Description

streamlabs_list_audio_sources

Audio sources for the current scene.

streamlabs_list_all_audio_sources

Every audio source, all scenes.

streamlabs_list_audio_sources_for_scene

Audio sources for a given scene.

streamlabs_set_source_muted

Mute/unmute an audio source.

streamlabs_set_source_volume

Set volume (0.0–1.0).

Streaming / recording

Tool

Description

streamlabs_get_streaming_status

Current streaming/recording state.

streamlabs_toggle_streaming

Start/stop the live stream.

streamlabs_toggle_recording

Start/stop local recording.

streamlabs_start_replay_buffer / streamlabs_stop_replay_buffer

Control the replay buffer.

streamlabs_save_replay

Save the current instant replay.

Studio mode

Tool

Description

streamlabs_get_studio_mode_status

Current studio mode state.

streamlabs_enable_studio_mode / streamlabs_disable_studio_mode

Toggle studio mode.

streamlabs_execute_studio_mode_transition

Push the previewed scene live.

Scene collections

Tool

Description

streamlabs_list_scene_collections

List saved scene collections.

streamlabs_get_active_scene_collection

Currently loaded collection.

streamlabs_load_scene_collection

Switch collections.

streamlabs_create_scene_collection

Create a new collection.

streamlabs_delete_scene_collection

Delete a collection.

streamlabs_rename_scene_collection

Rename a collection.

Notifications & performance

Tool

Description

streamlabs_list_notifications

List in-app notifications.

streamlabs_mark_notification_read / streamlabs_mark_all_notifications_read

Mark notifications read.

streamlabs_push_notification

Push a new notification.

streamlabs_show_notifications_panel

Open the notifications panel.

streamlabs_get_performance_stats

CPU, FPS, dropped frames, bandwidth, disk space.

Troubleshooting

  • Connection times out: Streamlabs Desktop must be running with Remote Control enabled (step 1). Check that Windows Firewall isn't blocking Node from opening a local connection to the port.

  • Auth error: the token may have been regenerated since you copied it — grab the current one from Settings -> Remote Control.

  • Different port: set STREAMLABS_HOST if your Streamlabs Desktop build listens elsewhere, e.g. "127.0.0.1:PORT".

  • A specific tool errors on a newer Streamlabs Desktop version: the underlying API is Streamlabs' internal service layer and isn't a versioned public contract, so a method name can occasionally change between releases. Open an issue with the error message, or send a PR.

Security note

STREAMLABS_TOKEN grants full remote control of your stream (including going live). Keep it out of version control — .gitignore already excludes .env. Use .env.example as a template.

Contributing

Issues and PRs welcome. If you add a tool, please also add it to the reference table above.

License

MIT

Available Tools

59 tools
streamlabs_add_source_to_sceneA

Add an existing source (by id, from streamlabs_list_sources) to a scene as a new scene item.

Inputs: sceneId (required), sourceId (required).

streamlabs_center_scene_itemC

Center a scene item on the canvas.

Inputs: sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_clear_sceneB

Remove all items (sources) from a scene, leaving it empty.

Inputs: sceneId (required).

streamlabs_create_and_add_sourceA

Create a brand new source and add it to a scene in one step. Common types: 'image_source', 'color_source', 'browser_source', 'text_gdiplus', 'dshow_input' (webcam), 'window_capture', 'monitor_capture', 'ffmpeg_source' (media).

Inputs: name (required), type (required), sceneId (required), settings.

streamlabs_create_sceneA

Create a new (empty) scene with the given name.

Inputs: name (required).

streamlabs_create_scene_collectionA

Create a new, empty scene collection with the given name and switch to it.

Inputs: name (required).

streamlabs_create_sourceA

Create a new source without adding it to any scene yet (use streamlabs_add_source_to_scene afterward, or use streamlabs_create_and_add_source to do both at once).

Inputs: name (required), type (required), settings.

streamlabs_delete_scene_collectionA

Delete a scene collection by id. If no id is given, deletes the currently active one. Confirm with the user before calling this - it is destructive.

Inputs: collectionId.

streamlabs_disable_studio_modeB

Disable studio mode.

Inputs: no named parameters.

streamlabs_duplicate_sourceB

Duplicate a source, creating a new independent copy.

Inputs: sourceId (required).

streamlabs_enable_studio_modeA

Enable studio mode (preview + program view for previewing scenes before they go live).

Inputs: no named parameters.

streamlabs_execute_studio_mode_transitionA

While in studio mode, push the currently previewed scene live (execute the transition).

Inputs: no named parameters.

streamlabs_fit_scene_item_to_screenB

Resize a scene item to fit within the canvas while preserving aspect ratio.

Inputs: sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_flip_scene_item_xB

Flip a scene item horizontally.

Inputs: sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_flip_scene_item_yB

Flip a scene item vertically.

Inputs: sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_get_active_sceneA

Get the currently active scene, including its scene items.

Inputs: no named parameters.

streamlabs_get_active_scene_collectionA

Get the currently loaded scene collection.

Inputs: no named parameters.

streamlabs_get_performance_statsA

Get current performance stats: CPU usage, FPS, dropped frames, bandwidth, and disk space.

Inputs: no named parameters.

streamlabs_get_sceneA

Get a specific scene (with its items) by scene id.

Inputs: sceneId (required).

streamlabs_get_sourceB

Get details for a single source by id.

Inputs: sourceId (required).

streamlabs_get_sources_by_nameA

Find sources by their display name (name is not guaranteed unique, so this can return multiple results).

Inputs: name (required).

streamlabs_get_source_settingsA

Get the current settings/properties for a source (e.g. the URL of a browser source, or the file path of a media source).

Inputs: sourceId (required).

streamlabs_get_streaming_statusA

Get current streaming/recording status (offline, starting, live, ending, etc.).

Inputs: no named parameters.

streamlabs_get_studio_mode_statusB

Get the current studio mode / transitions state.

Inputs: no named parameters.

streamlabs_list_all_audio_sourcesA

List every audio source in Streamlabs Desktop, across all scenes (not just the currently active one).

Inputs: no named parameters.

streamlabs_list_audio_sourcesA

List audio sources for the current scene, including their muted state. Use this before muting/unmuting.

Inputs: no named parameters.

streamlabs_list_audio_sources_for_sceneA

List audio sources for a specific scene by id.

Inputs: sceneId (required).

streamlabs_list_available_source_typesA

List the source types Streamlabs Desktop can create on this system (useful before calling streamlabs_create_source).

Inputs: no named parameters.

streamlabs_list_notificationsA

List Streamlabs Desktop's in-app notifications, optionally filtered by type and read state.

Inputs: type, onlyRead, onlyUnread.

streamlabs_list_scene_collectionsA

List all saved scene collections.

Inputs: no named parameters.

streamlabs_list_scenesA

List all scenes in the current Streamlabs Desktop scene collection.

Inputs: no named parameters.

streamlabs_list_sourcesA

List all sources (cameras, capture devices, audio inputs, etc.) configured in Streamlabs Desktop.

Inputs: no named parameters.

streamlabs_load_scene_collectionA

Switch to a different scene collection by id (get ids from streamlabs_list_scene_collections).

Inputs: collectionId (required).

streamlabs_mark_all_notifications_readA

Mark all notifications as read.

Inputs: no named parameters.

streamlabs_mark_notification_readB

Mark a single notification as read by id.

Inputs: notificationId (required).

streamlabs_push_notificationB

Push a new in-app notification in Streamlabs Desktop.

Inputs: message (required), type.

streamlabs_refresh_sourceA

Refresh a source (e.g. reload a browser_source's page, or a media source's file). Handy for forcing an overlay to reload.

Inputs: sourceId (required).

streamlabs_remove_sceneA

Permanently delete a scene by id.

Inputs: sceneId (required).

streamlabs_remove_scene_itemA

Remove a scene item (source instance) from a scene. This does not delete the underlying source, only its placement in this scene.

Inputs: sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_remove_sourceA

Permanently delete a source (removes it from every scene it appears in).

Inputs: sourceId (required).

streamlabs_rename_sceneC

Rename a scene.

Inputs: newName (required), sceneId (required).

streamlabs_rename_scene_collectionC

Rename a scene collection.

Inputs: newName (required), collectionId (required).

streamlabs_rename_sourceA

Rename a source (this renames the underlying source everywhere it's used, not just one scene item).

Inputs: newName (required), sourceId (required).

streamlabs_reset_scene_item_transformB

Reset a scene item's position, scale, and rotation to default.

Inputs: sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_rotate_scene_itemB

Rotate a scene item by a given number of degrees.

Inputs: degrees (required), sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_save_replayA

Save the current instant replay from the replay buffer to disk. Confirm with the user before calling this.

Inputs: no named parameters.

streamlabs_set_scene_item_scaleC

Set the scale of a scene item, optionally around a given origin point.

Inputs: scale (required), sceneId (required), sourceId (required), sceneItemId (required), +1 more.

streamlabs_set_scene_item_transformA

Set position, scale, crop, and/or rotation for a scene item. Only pass the fields you want to change.

Inputs: sceneId (required), sourceId (required), sceneItemId (required), crop, +3 more.

streamlabs_set_scene_item_visibilityA

Show or hide a scene item within a scene. Get sceneId and sceneItemId from streamlabs_get_active_scene.

Inputs: sceneId (required), visible (required), sourceId (required), sceneItemId (required).

streamlabs_set_source_mutedA

Mute or unmute an audio source. Get the sourceId from streamlabs_list_audio_sources.

Inputs: muted (required), sourceId (required).

streamlabs_set_source_volumeA

Set an audio source's volume fader position (deflection), from 0 (silent) to 1 (max / unity gain).

Inputs: sourceId (required), deflection (required).

streamlabs_show_notifications_panelA

Open/focus the notifications panel in the Streamlabs Desktop UI.

Inputs: no named parameters.

streamlabs_start_replay_bufferA

Start the replay buffer (lets you save instant replays of the last N seconds).

Inputs: no named parameters.

streamlabs_stop_replay_bufferB

Stop the replay buffer.

Inputs: no named parameters.

streamlabs_stretch_scene_item_to_screenB

Stretch a scene item to fill the entire canvas (ignores aspect ratio).

Inputs: sceneId (required), sourceId (required), sceneItemId (required).

streamlabs_switch_sceneA

Switch Streamlabs Desktop to a different scene by its scene id (get ids from streamlabs_list_scenes).

Inputs: sceneId (required).

streamlabs_toggle_recordingA

Start or stop local recording.

Inputs: no named parameters.

streamlabs_toggle_streamingA

Start streaming if currently offline, or stop it if currently live. Confirm with the user before calling this.

Inputs: no named parameters.

streamlabs_update_source_settingsB

Update settings/properties for a source, e.g. { url: 'https://...' } for a browser_source, or { text: '...' } for text_gdiplus.

Inputs: settings (required), sourceId (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 59 tools

    Disambiguation4/5

    Most tools have distinct resource-action pairs. The three audio listing tools (streamlabs_list_audio_sources, streamlabs_list_all_audio_sources, streamlabs_list_audio_sources_for_scene) have overlapping purposes but are differentiated by scope. Overall, descriptions are clear enough to disambiguate the majority of tools.

    Naming Consistency5/5

    All tools follow a consistent streamlabs_verb_noun pattern, making the naming highly predictable. Minor deviations like streamlabs_get_sources_by_name and streamlabs_create_and_add_source are still readable and fit the overall convention.

    Tool Count2/5

    With 59 tools, this server far exceeds the typical well-scoped range. Many granular tools (flip_x, flip_y, rotate, center, fit, stretch) could be consolidated into one transform tool, and several notification and scene collection operations add bulk. The count feels bloated.

    Completeness4/5

    The tool surface covers the core streaming workflow: scenes, sources, audio, streaming controls, studio mode, scene collections, and notifications. Minor gaps exist (e.g., no tool for reordering scene items or setting output settings), but these are not critical for most use cases.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers