obs-studio-mcp
obs-studio-mcp
An MCP (Model Context Protocol) server for controlling OBS Studio over obs-websocket v5: scenes, sources, audio, text overlays, streaming, recording, replay buffer, virtual camera, and performance stats.
Talks to the obs-websocket server built into OBS 28+ (Tools → WebSocket Server Settings).
Every mutating tool accepts
dry_run=trueand returns a preview instead of acting — useful guard rails when an agent drives your live stream.No secrets in this repo or in your MCP client config.
Quick start
In OBS: Tools → WebSocket Server Settings → enable, note the port (default 4455) and password.
Provide connection settings via environment:
export OBS_MCP_HOST=127.0.0.1 # default
export OBS_MCP_PORT=4455 # default
export OBS_MCP_PASSWORD=yourpass # via the default env backendAdd to your MCP client:
# Claude Code
claude mcp add obs -s user -- uvx obs-studio-mcpTools
Area | Tools |
Scenes |
|
Sources |
|
Output |
|
System |
|
update_text_source is handy for driving on-stream overlays from an agent —
question-of-the-day, now-playing, countdowns — anything rendered by a Text
source.
Secret storage
The only secret is the websocket password.
Backend | Select with | Reads |
| — |
|
|
|
|
|
| a Vaultwarden vault via a local vaultproxy HTTP API |
Development
pip install -e '.[dev]'
ruff check src tests && pytestTests are fully offline (fake obs-websocket client).
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/aaronckj/obs-studio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server