Skip to main content
Glama

list_scenes

Retrieve all available scenes in OBS Studio to manage and switch between different visual layouts for streaming or recording.

Instructions

List all scenes in OBS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'list_scenes' tool which calls OBS WebSocket 'GetSceneList' and formats the output.
    case "list_scenes": {
      const { scenes, currentProgramSceneName } =
        await obs.call("GetSceneList");
      return ok({
        current_scene: currentProgramSceneName,
        scenes: scenes.map((s) => s.sceneName).reverse(), // OBS returns bottom-first
      });
    }
  • The registration of 'list_scenes' within the TOOLS array.
      name: "list_scenes",
      description: "List all scenes in OBS.",
      inputSchema: { type: "object", properties: {} },
    },

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