OpenDeck

v0.5.0
io.github.kastro5/opendeck-mcp Checked 3 days ago Published 28 days ago

Configure OpenDeck stream controllers (Stream Deck and others) in natural language.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_overview

Start here. Lists devices (grid size, dials, touchpoints, connected), each device's profiles and which is selected, installed plugins, whether OpenDeck is running, and how many changes are staged.

show_profile

Render a profile: a grid sketch plus every occupied slot with its action, title and state. Includes staged (not yet applied) changes, marked with *. Slot labels shown are the ones the editing tools accept.

ParameterTypeDescription
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
profileProfile id; defaults to the device's selected profile.
show_childrenboolean
show_settingsbooleanInclude each key's settings (redacted).

list_actions

List actions that can be placed on keys or dials: name, plugin, uuid, controllers, states. Includes OpenDeck's Multi Action and Toggle Action, and plugins staged for install.

ParameterTypeDescription
controllerKeypad for keys, Encoder for dials.
pluginOnly this plugin (name or id).
queryFilter by text in name/plugin/uuid.

describe_action

Explain one action's settings before placing it: a curated schema for OpenDeck and Starter Pack actions, otherwise hints read from the plugin's settings page, plus real settings from the user's existing keys (secrets redacted).

ParameterTypeDescription
action *stringAction uuid or name, e.g. 'Open URL'.

get_plugin_settings

Show a plugin's global (plugin-wide) settings with secret values redacted.

ParameterTypeDescription
plugin *stringPlugin name or folder id.

read_logs

Tail OpenDeck's log or a plugin's log (tokens redacted). Useful after apply_changes.

ParameterTypeDescription
grepOnly lines matching this regex.
linesinteger
pluginPlugin name/id, or omit for OpenDeck's own log.

get_app_rules

Show automatic profile switching: which profile each device switches to when an app is focused.

set_key

Place an action on a key or dial, replacing whatever is there. For dials use dial<N> with an action that supports Encoder. For a Multi/Toggle Action, set it here, then add_child. Staged only.

ParameterTypeDescription
action *stringAction uuid or name (see list_actions).
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
slot *stringSlot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.
imageKey image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.
profileProfile id; defaults to the device's selected profile.
settingsThe action's settings object (see describe_action).
titleText drawn on the key; \n for a new line.
title_styleTitle look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_c…

update_key

Change an existing key without replacing its action: title, title style, image, settings, or which state it shows. Title text, image and settings changes on the profile a connected device is showing apply instantly, with no restart (undo with undo_live). Anything else (title style, current state, another profile, a device with staged changes) is staged for apply_changes; the result says which happened. A live settings change reaches the plugin as if edited in OpenDeck's own panel; if that key's settings panel is open in OpenDeck, reopen it to see the change.

ParameterTypeDescription
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
slot *stringSlot, or <slot>/child<N> for a child.
current_state
imageKey image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.
modestringauto: apply instantly when possible, else stage; live: instantly or fail; staged: always stage.
profileProfile id; defaults to the device's selected profile.
remove_settings
settings_mergeMerged into the settings (JSON merge patch: null deletes a key).
settings_replaceReplaces the settings entirely.
stateWhich state to restyle (0-based) for multi-state actions; default all.
title
title_styleTitle look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_c…

undo_live

Undo the latest instant (live) edits made by update_key, newest first: titles, images and settings go back to what they were. Staged changes and applied plans are undone with discard_changes and restore_backup instead.

ParameterTypeDescription
countintegerHow many of the latest live edits to undo.

make_folder

Make a folder: a new profile opened by a key on this one, with a Back key inside. OpenDeck allows one folder level, so it's created as '<this profile's folder>/<name>'. Staged only.

ParameterTypeDescription
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
name *stringFolder name, also the key's title.
slot *stringEmpty key that will open the folder.
back_imageBack key image; default a generated arrow, 'default' for the action's own.
back_slotstringKey in the folder that goes back.
imageKey image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.
profileProfile id; defaults to the device's selected profile.

clear_key

Remove the action from a key or dial. Staged only.

ParameterTypeDescription
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
slot *stringSlot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.
profileProfile id; defaults to the device's selected profile.

move_key

Move, swap or copy a key (with its settings, title, image and children), within a profile or to another profile/device. Staged only.

ParameterTypeDescription
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
from_slot *stringSlot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.
to_slot *stringSlot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.
modestringmove (destination must be empty), swap, or copy.
profileProfile id; defaults to the device's selected profile.
to_deviceDestination device (default: same).
to_profileDestination profile (default: same).

add_child

Add an action inside a Multi Action (runs all children in order) or Toggle Action (cycles through them, one per press). Put the Multi/Toggle Action on the key with set_key first. Staged only.

ParameterTypeDescription
action *stringAction uuid or name to add inside it.
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
slot *stringSlot holding a Multi/Toggle Action.
delay_msMulti Action only: wait after this child, in ms (default 100).
imageKey image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.
position1-based position; default last.
profileProfile id; defaults to the device's selected profile.
settings
title
title_styleTitle look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_c…

remove_child

Remove one action from inside a Multi/Toggle Action. Staged only.

ParameterTypeDescription
child *integer1-based child number.
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
slot *stringSlot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.
profileProfile id; defaults to the device's selected profile.

set_multi_delays

Set the pauses between the children of a Multi Action. Staged only.

ParameterTypeDescription
delays_ms *arraydelays_ms[i] = wait after child i+1, in ms (default 100 each).
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
slot *stringSlot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.
profileProfile id; defaults to the device's selected profile.

manage_profile

Create, duplicate, rename or delete a profile, or make one the device's selected profile. Renaming also updates app rules and Switch Profile keys that point at it. Staged only.

ParameterTypeDescription
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
operation *string
profile *stringThe profile to act on (for create/duplicate: the new name). Names may be 'Folder/Name' (one level).
copy_fromFor duplicate: the source (default: the selected profile).
new_nameFor rename.

set_app_rule

Switch a device to a profile automatically when an app is focused. Staged only.

ParameterTypeDescription
app *stringThe app's display name as OpenDeck sees it (e.g. 'Visual Studio Code', 'Chatterino'), or 'opendeck_default' for the fallback when no rule matches.
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
profile *Profile to switch to; null removes the rule.

set_plugin_settings

Change a plugin's global (plugin-wide) settings, e.g. a server URL. Staged only.

ParameterTypeDescription
plugin *stringPlugin name or folder id.
values *objectMerged into the plugin's global settings. «redacted» keeps a secret.
remove_keys

set_device_layout

Tell opendeck-mcp a device's key grid size when it can't detect it (stored locally; doesn't touch OpenDeck). Usually unnecessary: the bridge plugin records it automatically.

ParameterTypeDescription
columns *integer
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
rows *integer

preview_changes

Show everything staged: per device/profile/slot changes, warnings (commands that will run, plugins that will be installed), and conflicts with edits made in OpenDeck since staging.

ParameterTypeDescription
detailstringsummary: per-key changes and warnings; files: JSON diffs.

discard_changes

Drop staged changes without applying them.

ParameterTypeDescription
which'all', 'last', or staged op ids like ['op3', 'op5'] (see preview_changes).

render_profile

A picture of the deck as OpenDeck draws it: icons, titles, colours, dials, with staged changes outlined. Use it to check a layout before applying, or to show the user.

ParameterTypeDescription
device *stringDevice id or name, e.g. 'ulanzi-d200h' (see get_overview).
comparebooleanNow and after-apply side by side.
profileProfile id; defaults to the device's selected profile.
stagedbooleanInclude staged changes (outlined).

make_icon

Make a key image: text, an emoji, a brand logo or a generic symbol on a coloured square. Returns a preview and a file path to pass as `image` to set_key / update_key / add_child.

ParameterTypeDescription
icon *stringtext:Hi (use for a second line), emoji:🔥, brand:github (Simple Icons slug) or mdi:lightbulb-on (Material Design Icons name). Names: find_icons.
background#RRGGBB; default dark grey, or the brand colour for brand: icons.
colour#RRGGBB for text/symbol; default black or white, whichever reads better.
fontFont for text: icons (OpenDeck's title fonts).
scaleSize of the art, 0.2-1.0.
styleRegular, Bold, Italic or Bold Italic.

find_icons

Find icon names for make_icon.

ParameterTypeDescription
query *stringWords, e.g. 'microphone off' or 'spotify'.
icon_setstringmdi: ~7,400 generic symbols; brand: ~3,400 logos (Simple Icons).
limitinteger

ha_describe_entity

One Home Assistant entity: state, attributes, area, the services its domain offers, and ready-made settings for a Home Assistant key that controls it.

ParameterTypeDescription
entity_id *string

ha_call_service

Call a Home Assistant service right now, e.g. to test what a key will do. Acts on the real home: call with confirm=false first and get the user's OK.

ParameterTypeDescription
service *stringdomain.service, e.g. light.toggle.
confirmbooleanfalse: describe only; true: call it.
dataExtra service data.
entity_id

find_plugins

Search for plugins to install, with author, repository and installed/available versions.

ParameterTypeDescription
limitinteger
querySearch text.
sourcestringcatalogue: open-source OpenAction plugins (same list as OpenDeck's Plugin Manager); archive: rehosted Elgato Stream Deck plugins; installed: what's installed.

stage_plugin

Install, update or remove a plugin. Installing runs third-party code on the user's computer: call first with confirm=false, show the user what was found (author, version, checksum, AI-assisted flag), and only stage it with confirm=true after they agree. Removal clears the plugin's keys everywhere.

ParameterTypeDescription
operation *string
plugin_id *stringCatalogue id (see find_plugins) or installed id.
confirmbooleanfalse: download and inspect only. true: stage it (after the user agreed).
sourcestring
urlDirect .streamDeckPlugin/.zip URL for source=url.

apply_changes

The only tool that changes OpenDeck. Stops OpenDeck, backs up, writes all staged changes, verifies them and restarts OpenDeck. Call with confirm=false first and show the user the result.

ParameterTypeDescription
allow_untested_versionboolean
confirmbooleanfalse: show what would happen. true: apply (only after the user agreed).
on_conflictstring
show_windowbooleanOpen OpenDeck's window after restarting.

list_backups

Backups taken by apply_changes and restore_backup, newest first.

ParameterTypeDescription
limitinteger

restore_backup

Undo an apply: put the files it changed back as they were (restarts OpenDeck). Call with confirm=false first to see what would be restored.

ParameterTypeDescription
backup_id *string
confirmboolean
show_windowboolean