Skip to main content
Glama

set_scene

Switch OBS Studio to a different scene by specifying the exact scene name, enabling control of your streaming or recording setup.

Instructions

Switch OBS to a different scene.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scene_nameYesExact name of the scene to switch to.

Implementation Reference

  • The 'set_scene' handler implementation, which calls OBSWebSocket's 'SetCurrentProgramScene'.
    case "set_scene": {
      await obs.call("SetCurrentProgramScene", {
        sceneName: args.scene_name,
      });
      return ok({ switched_to: args.scene_name });
    }
  • The 'set_scene' tool definition and schema definition.
    {
      name: "set_scene",
      description: "Switch OBS to a different scene.",
      inputSchema: {
        type: "object",
        properties: {
          scene_name: {
            type: "string",
            description: "Exact name of the scene to switch to.",
          },
        },
        required: ["scene_name"],
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LarsCanGit/OBS-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server