MCP server for Stream Deck profile writing with legacy USB control
Project description
Stream Deck MCP
AI-first MCP server for Elgato Stream Deck profile management. The default server writes directly to the Stream Deck desktop app's native profile files, and the original USB-direct server is still available as a legacy fallback.
Installation
Default: Desktop Profile Writer
The default packaged entrypoint is the profile writer. It edits ProfilesV3 when present, then falls back to ProfilesV2.
uvx streamdeck-mcp
Local Repo Configuration
{
"mcpServers": {
"streamdeck": {
"command": "uv",
"args": [
"--directory",
"/path/to/streamdeck-mcp",
"run",
"profile_server.py"
]
}
}
}
Legacy USB Server
If you still want direct hardware control that bypasses the Elgato app entirely, keep using the legacy server:
{
"mcpServers": {
"streamdeck-usb": {
"command": "uv",
"args": [
"--directory",
"/path/to/streamdeck-mcp",
"run",
"server.py"
]
}
}
}
Or use the packaged legacy entrypoint:
uvx --from streamdeck-mcp streamdeck-mcp-usb
Designing Decks with the streamdeck-designer Skill
streamdeck-mcp ships with an Agent Skill that teaches Claude how to design, theme, and author complete Stream Deck layouts using the MCP tools below. With the skill loaded, Claude can one-shot an authored deck from a high-level prompt — "give me a hello-kitty-themed Twitch deck with Hue light controls", "build a dev deck for this repo in Nordic colors" — including palette planning, integration discovery, consistent icon generation, and shell-script wiring.
Install the skill (Claude Code / Claude.ai)
# After installing streamdeck-mcp (e.g. via uvx or pip install -e .)
streamdeck-mcp-install-skill
# or, without the console script:
uv run python -m install_skill
The skill is copied to ~/.claude/skills/streamdeck-designer/. Restart Claude Code (or start a new session) and it auto-loads when your request matches a themed/custom deck design intent.
To upgrade after a streamdeck-mcp version bump, rerun with --force:
streamdeck-mcp-install-skill --force
Other MCP clients
Clients that don't load Claude Code skills (Claude Desktop, Cursor, ChatGPT-with-MCP, …) get a condensed mirror via the MCP prompt design_streamdeck_deck. Invoke it before asking for a deck — most clients expose it as a slash command or prompt picker. Pass the user's intent via the intent argument if your client supports it.
What the skill covers
- Hardware inventory — the skill always calls
streamdeck_read_profilesfirst, then consults bundled references to match authoring style to the user's model (Original, MK.2, XL, Plus XL, Neo, Mini). - Palette + typography planning — 8 theme archetypes (kawaii, retrowave, brutalist, nordic, terminal, nature, minimal, corporate) with ready palettes + per-strategy icon-color guidance.
- Dials + touchstrip — decision tree for Plus XL encoder layouts (
$X1/$A0/ …) with Phase 1 constraints called out (value/indicator slots render empty until the live channel lands). - Integration recipes — per-service patterns for Hue, OBS, Spotify, Home Assistant, Twitch, shell, browser. Authoring-time discovery via companion MCPs; credentials stored in
~/StreamDeckScripts/.env, never baked into scripts. - Starter recipes — streamer/hello-kitty (Plus XL), dev/Nordic (XL), music/retrowave (Original) as adaptation shapes.
The skill lives at streamdeck_assets/skill/streamdeck-designer/ in the repo; the SKILL.md body is ≤500 lines and references/ are loaded on demand.
Default Tools
| Tool | What it does |
|---|---|
streamdeck_read_profiles |
Lists desktop profiles and page directories from the active ProfilesV3 or ProfilesV2 store |
streamdeck_read_page |
Reads a page manifest and returns simplified button details plus the raw manifest |
streamdeck_write_page |
Creates a new page or rewrites an existing page manifest |
streamdeck_create_icon |
Generates a PNG icon from a Material Design Icons name (e.g. mdi:cpu-64-bit) or from text (but not both). shape="button" (72x72, default) for keypad keys and encoder dial faces; shape="touchstrip" (200x100) for Stream Deck + / + XL dial segment backgrounds. ~7400 MDI icons are bundled offline; unknown names return close-match suggestions |
streamdeck_create_action |
Creates an executable shell script in ~/StreamDeckScripts/ and returns an Open action block |
streamdeck_restart_app |
Restarts the macOS Stream Deck desktop app after profile changes |
streamdeck_install_mcp_plugin |
Installs the bundled streamdeck-mcp Stream Deck plugin into the user's Elgato Plugins directory. streamdeck_write_page auto-installs it when an encoder button needs it, so direct use is rarely necessary |
How the Profile Writer Works
ProfilesV3is preferred when it exists because page UUIDs map cleanly to directories.ProfilesV2is still supported, but existing pages should be targeted bydirectory_idorpage_indexbecause Elgato stores opaque page directory names there.streamdeck_write_pagecan accept raw native action objects, or use convenience fields likepath,action_type,plugin_uuid, andaction_uuid.- Generated icons are stored in
~/.streamdeck-mcp/generated-icons/. - Generated shell scripts are stored in
~/StreamDeckScripts/. - The bundled streamdeck-mcp Stream Deck plugin is installed into the Stream Deck Plugins directory (e.g.,
~/Library/Application Support/com.elgato.StreamDeck/Plugins/on macOS,%APPDATA%\Elgato\StreamDeck\Plugins\on Windows) once installed. It's a minimal shell whose only job is to declare encoder support so per-instanceEncoder.Icon/Encoder.backgroundwrites survive an Elgato app restart.streamdeck_write_pageinstalls it automatically the first time an encoder button needs it.
Editing Workflow (Important)
The Elgato desktop app keeps every profile in memory and rewrites the on-disk manifests from that snapshot when it quits, so any edit made while the app is running is wiped the next time it closes. The profile writer enforces a quit → write → relaunch cycle:
- Ensure the Elgato app is not running, or pass
auto_quit_app: truetostreamdeck_write_pageto have it quit the app for you (AppleScript first,killallfallback). - Make as many
streamdeck_write_pagecalls as you need — the app stays quit across them. - Call
streamdeck_restart_appwhen you are done. The device re-reads the manifests on launch and your changes appear.
streamdeck_write_page raises a StreamDeckAppRunningError when the app is running and auto_quit_app is not set, so you cannot accidentally write changes that will be silently discarded.
If your Elgato app is installed somewhere other than /Applications/Elgato Stream Deck.app, set STREAMDECK_APP_PATH to the bundle path.
Usage Notes
streamdeck_create_actionis the safest way to build shell-command buttons because it writes a standalone script and returns the native Open action block for it.- The profile writer does not require exclusive USB access.
Legacy USB Tools
The original USB-direct server is preserved for backwards compatibility. It still provides:
streamdeck_connectstreamdeck_infostreamdeck_set_buttonstreamdeck_set_buttonsstreamdeck_clear_buttonstreamdeck_get_buttonstreamdeck_clear_allstreamdeck_set_brightnessstreamdeck_create_pagestreamdeck_switch_pagestreamdeck_list_pagesstreamdeck_delete_pagestreamdeck_disconnect
Use that mode only when you want the MCP server to own the hardware directly and the Elgato desktop app is not running.
Development
uv venv
uv pip install -e ".[dev]"
uv run pytest tests/ -v
uv run ruff check .
To audit this repo against the shared Very Good Plugins MCP standards:
../mcp-ecosystem/scripts/audit-server.sh .
Support
For issues, questions, or suggestions:
Built with 🧡 by Very Good Plugins
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamdeck_mcp-0.3.0.tar.gz.
File metadata
- Download URL: streamdeck_mcp-0.3.0.tar.gz
- Upload date:
- Size: 803.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffdcf273a56a9e91cb53739283a20f81efe375a043bbf399acb4969c589cf2d0
|
|
| MD5 |
8389bd94ba19752c1f0154e6c3a1eb6d
|
|
| BLAKE2b-256 |
ff9a9d0207f282cc84d353bc697da1bdf0c0ca6f1eac1333a81cb58069bed490
|
Provenance
The following attestation bundles were made for streamdeck_mcp-0.3.0.tar.gz:
Publisher:
release.yml on verygoodplugins/streamdeck-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
streamdeck_mcp-0.3.0.tar.gz -
Subject digest:
ffdcf273a56a9e91cb53739283a20f81efe375a043bbf399acb4969c589cf2d0 - Sigstore transparency entry: 1395858030
- Sigstore integration time:
-
Permalink:
verygoodplugins/streamdeck-mcp@2053abac97b0ddccc47a7c40c80cae3f6653ffc0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/verygoodplugins
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2053abac97b0ddccc47a7c40c80cae3f6653ffc0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file streamdeck_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: streamdeck_mcp-0.3.0-py3-none-any.whl
- Upload date:
- Size: 799.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae823984e002839574833189e92f6f1f96b3e7d8dffc3fd13581ac4be505d624
|
|
| MD5 |
b2c8414a16c0184cf2f9f0d9192c8a49
|
|
| BLAKE2b-256 |
d5ca726792b69681083e1ce1f336dd8cd69be940cdc246e2f64e0c2dcdc3238f
|
Provenance
The following attestation bundles were made for streamdeck_mcp-0.3.0-py3-none-any.whl:
Publisher:
release.yml on verygoodplugins/streamdeck-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
streamdeck_mcp-0.3.0-py3-none-any.whl -
Subject digest:
ae823984e002839574833189e92f6f1f96b3e7d8dffc3fd13581ac4be505d624 - Sigstore transparency entry: 1395858034
- Sigstore integration time:
-
Permalink:
verygoodplugins/streamdeck-mcp@2053abac97b0ddccc47a7c40c80cae3f6653ffc0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/verygoodplugins
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2053abac97b0ddccc47a7c40c80cae3f6653ffc0 -
Trigger Event:
push
-
Statement type: