MCP ExplorerExplorer

Obs Mcp

@royshilon 9 months ago
23 GPL-2.0
FreeCommunity
AI Systems
# MCP Server for OBS

Overview

What is Obs Mcp

obs-mcp is an MCP server designed for OBS Studio that enables users to control OBS through the OBS WebSocket protocol.

Use cases

Use cases for obs-mcp include managing live streams, automating scene transitions, controlling audio levels, and enhancing production workflows in real-time.

How to use

To use obs-mcp, ensure OBS Studio is running with the WebSocket server enabled. Set the WebSocket password as an environment variable if needed, then run the obs-mcp server to connect and control OBS.

Key features

Key features include connecting to the OBS WebSocket server, controlling general operations, managing scenes, controlling sources, manipulating scene items, and handling streaming and recording functionalities.

Where to use

obs-mcp is primarily used in live streaming, video production, and broadcasting environments where OBS Studio is utilized.

Content

OBS MCP Server

An MCP server for OBS Studio that provides tools to control OBS via the OBS WebSocket protocol.

Features

  • Connect to OBS WebSocket server
  • Control OBS via MCP tools
  • Provides tools for:
    • General operations
    • Scene management
    • Source control
    • Scene item manipulation
    • Streaming and recording
    • Transitions

Installation

npm install
npm run build

Usage

  1. Make sure OBS Studio is running with WebSocket server enabled (Tools > WebSocket Server Settings). Note the password for the WS.
  2. Set the WebSocket password in environment variable (if needed):
export OBS_WEBSOCKET_PASSWORD="your_password_here"
  1. Run the OBS MCP server to see that it is able to build and connect:
npm run build
npm run start
  1. Provision you Claude desktop with the MCP server settings:
{
  "mcpServers": {
    "obs": {
      "command": "node",
      "args": [
        "<obs-mcp_root>/build/index.js"
      ],
      "env": {
        "OBS_WEBSOCKET_PASSWORD": "<password_from_obs>"
      }
    }
  }
}
  1. Use Claude to control your OBS!

Available Tools

The server provides tools organized by category:

  • General tools: Version info, stats, hotkeys, studio mode
  • Scene tools: List scenes, switch scenes, create/remove scenes
  • Source tools: Manage sources, settings, audio levels, mute/unmute
  • Scene item tools: Manage items in scenes (position, visibility, etc.)
  • Streaming tools: Start/stop streaming, recording, virtual camera
  • Transition tools: Set transitions, durations, trigger transitions

Environment Variables

  • OBS_WEBSOCKET_URL: WebSocket URL (default: ws://localhost:4455)
  • OBS_WEBSOCKET_PASSWORD: Password for authenticating with OBS WebSocket (if required)

Requirements

  • Node.js 16+
  • OBS Studio 31+ with WebSocket server enabled
  • Claude desktop

License

See the LICENSE file for details.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers