mcp-server-pixelcade

v0.1.0
mcp-server-pixelcade Checked 3 days ago Published 23 days ago

MCP server for Pixelcade LED marquees and Pixelcade Pulse lighting, via the pixelweb REST API

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

pixelcade_get_status Get Pixelcade status

<use_case> Report whether the Pixelcade marquee and Pulse lighting controller are reachable, software and firmware versions, the game or system marquee last shown by the frontend, and Pulse LED strip state. </use_case> <important_notes> - Always call this tool first before sending marquee displays or Pulse commands. - When reachable is False, error explains why (e.g. host powered down or network timeout). - pulse.responding is False when strips are configured but disconnected or unpowered. </important_notes>

pixelcade_list_artwork List marquee artwork

<use_case> List available marquee artwork in a folder, indicating whether still (PNG/JPG) or animated (GIF) versions exist. </use_case> <important_notes> - folder is typically a system name ('mame', 'snes', 'nes', 'neogeo', 'genesis') or 'console', 'animations', 'user'. - Artwork names can be passed as the rom parameter to pixelcade_show_game_marquee. - Use contains to filter titles and reduce payload size. </important_notes>

ParameterTypeDescription
folder *stringA Batocera system (mame, snes, nes, neogeo, ...) for its games' marquees; 'console' for system marquees; 'animations' for play_animation names; 'user' for the user's own uploads.
containsCase-insensitive substring filter, best matches first.
kindstringany, or only names that have a still (PNG/JPG) or an animated (GIF) version.
limitintegerMaximum names to return.

pixelcade_list_pulse_effects List Pulse effects

<use_case> List available Pixelcade Pulse lighting effect names by category, along with name patterns and named zones. </use_case> <important_notes> - Does not require active hardware or network communication. - matrix_* effects target 8x8/8x32 LED matrices; other effects target strips and speaker rings. </important_notes>

ParameterTypeDescription
categoryOnly this category; omit for all.

pixelcade_show_game_marquee Show a game marquee

<use_case> Display a game's marquee artwork on the Pixelcade LED display. </use_case> <important_notes> - Replaces whatever is currently displayed unless loops is specified to queue it. - Frontend navigation or game launches will overwrite this display. - If the game has no artwork, fallback_text or the default marquee is displayed. </important_notes>

ParameterTypeDescription
rom *stringROM file name without its extension, e.g. 'pacman' or 'Super Mario World (USA)'.
system *stringBatocera system (ROM folder) name, e.g. 'mame', 'fbneo', 'snes', 'nes', 'genesis', 'n64'.
animationstringauto: animated then still if both exist; still: PNG only; animated: GIF only. If get_status says animated_marquees is false (Pixelcade's 'static PNG marquees only' setting), stills are shown instead.
fallback_textText to scroll if there is no artwork.
loopsQueue instead of replacing: play a GIF this many times (or show a still this many seconds), then move to the next queued item. Omit to show it now and keep it up.
pulsestringPulse LED strips: follow the game's theme, leave them as they are, or turn them off.

pixelcade_show_console_marquee Show a system marquee

<use_case> Display a console or system banner marquee (e.g., 'snes', 'genesis', 'mame'). </use_case> <important_notes> - Typically displayed when browsing the system wheel in EmulationStation. - If artwork is missing, optional fallback_text will scroll. </important_notes>

ParameterTypeDescription
system *stringBatocera system (ROM folder) name, e.g. 'mame', 'fbneo', 'snes', 'nes', 'genesis', 'n64'.
fallback_textText to scroll if there is no artwork.

pixelcade_show_current_game Restore the frontend's marquee

<use_case> Restore the marquee artwork corresponding to the game or system currently selected in the frontend. </use_case> <important_notes> - Useful after displaying temporary custom text or alerts to return the marquee to cabinet context. - If attract mode or screensaver was active, restores the last game known before screensaver. </important_notes>

pixelcade_clear_queue Clear queue

<use_case> Clear the marquee queue: stop queued items that are playing and drop pending queue items. </use_case> <important_notes> - Uses attract stop command, so also halts active widgets or attract-mode locks. - If restore_current is True (default), restores the frontend's active game/system marquee. </important_notes>

ParameterTypeDescription
restore_currentbooleanAfterwards, put back the frontend's marquee (the default). False leaves the marquee as the queue clear left it.

pixelcade_show_default_marquee Show the default marquee

<use_case> Display the Pixelcade default marquee artwork (fallback artwork). </use_case> <important_notes> - Requires pixelweb version 8.0.14 or later. - Used when no game is active or to clear custom text. </important_notes>

pixelcade_show_text Show text on the marquee

<use_case> Display custom text messages (scrolling or static) on the LED marquee. </use_case> <important_notes> - Supports multi-line layouts (lines=2 or lines=4) using newlines. - blink_ms is only supported for text of 9 characters or fewer. - loops=-1 holds the text on screen until the next command is sent. </important_notes>

ParameterTypeDescription
text *stringThe message. Use newlines with lines=2 or 4.
blink_msBlink interval in ms. Only for 9 characters or fewer.
colorA color name (red, blue, cyan, gray, darkgray, green, lightgray, magenta, orange, yellow, pink, white) or 6-digit hex like 'ff6d00'.
left_justifyboolean
linesintegerText rows; 2 or 4 use smaller built-in fonts.
loopsShow it this many times (queued behind anything already queued), then the marquee goes blank; -1 keeps it up until something else is shown. Omit to show it now, once.
scrollstringauto: scroll only if it doesn't fit; scroll: always; fixed: never (auto-sized).
speedScroll speed, 1-150; lower is faster.

pixelcade_play_animation Play an animation

<use_case> Play a built-in Pixelcade animation sequence on the marquee. </use_case> <important_notes> - Animation names can be discovered via pixelcade_list_artwork(folder='animations'). - loops sets how many times the animation plays before completing. </important_notes>

ParameterTypeDescription
name *stringAn animation name from list_artwork folder='animations'.
loopsQueue it and play this many times; omit to play now.

pixelcade_show_widget Show a widget

<use_case> Display a live widget on the marquee (arcade-themed clock, weather, stock ticker, sports scores, attract mode). </use_case> <important_notes> - Widgets run continuously until replaced or stopped via pixelcade_stop_widgets. - lock=True prevents frontend scrolling from interrupting the widget until stopped. </important_notes>

ParameterTypeDescription
widget *stringattract runs the user's Pixelcade attract-mode playlist.
clock_stylestringFor clock: 'digital' or an arcade theme.
leagueFor sports: omit for all leagues.
locationFor weather: ZIP code or 'City,Country'. Omit for the location saved in Pixelcade.
lockbooleanLock it in place until stop_widgets (or a game launch): frontend scrolling and other marquee calls, this server's included, are ignored meanwhile.
teamsFor sports: comma-separated team codes, e.g. 'SF,GB'.
tickersFor stocks: comma-separated, e.g. 'AAPL,BTC-USD'.
twelve_hourbooleanFor clock: 12-hour format.

pixelcade_stop_widgets Stop widgets

<use_case> Stop any running widget or attract-mode loop and restore normal arcade operation. </use_case> <important_notes> - Also clears the attract-mode lock set during screensavers or locked widgets. - Call this first if marquee commands appear to be ignored. </important_notes>

pixelcade_blank_display Blank the marquee

<use_case> Turn the LED marquee display black. </use_case> <important_notes> - The display remains powered on in standby; next command will render immediately. - Does not affect Pulse LED strips (use pixelcade_pulse_clear for lighting). </important_notes>

pixelcade_pulse_effect Run a Pulse effect

<use_case> Run a dynamic lighting effect on a designated Pixelcade Pulse zone (strips, speaker rings, matrices). </use_case> <important_notes> - Rate limited to protect power supply and thermal dissipation. - Intensity is capped by the server's pulse_max_brightness setting. - Discover valid effect names with pixelcade_list_pulse_effects. </important_notes>

ParameterTypeDescription
effect *stringEffect name from list_pulse_effects, e.g. 'rainbow'.
zone *stringA zone name (left_strip, right_strip, left_speaker_ring, right_speaker_ring, center_matrix, left_matrix, right_matrix) or a zone number 0-35.
colorA color name (red, blue, cyan, gray, darkgray, green, lightgray, magenta, orange, yellow, pink, white) or 6-digit hex like 'ff6d00'.
color2A color name (red, blue, cyan, gray, darkgray, green, lightgray, magenta, orange, yellow, pink, white) or 6-digit hex like 'ff6d00'.
duration_sStop after this long.
intensityEffect brightness 0-255 (capped by the server).
loops0 repeats forever.
reverseboolean
speedEffect speed 1-255.

pixelcade_pulse_fill Fill a Pulse zone with a color

<use_case> Set all LEDs in a designated Pulse zone to a solid static color. </use_case> <important_notes> - Stops any animated effect currently active in that zone. - Rate limited to protect power supply from high-draw current surges. </important_notes>

ParameterTypeDescription
color *stringA color name or 6-digit hex.
zone *stringA zone name (left_strip, right_strip, left_speaker_ring, right_speaker_ring, center_matrix, left_matrix, right_matrix) or a zone number 0-35.

pixelcade_pulse_clear Turn Pulse LEDs off

<use_case> Turn off Pulse LEDs and stop active lighting effects in one zone or across all zones. </use_case> <important_notes> - Omit zone parameter to turn off all Pulse lighting strips, rings, and matrices simultaneously. </important_notes>

ParameterTypeDescription
zoneOne zone; omit for all LEDs.

pixelcade_set_pulse_brightness Set Pulse brightness

<use_case> Set the global brightness level for all Pixelcade Pulse LEDs. </use_case> <important_notes> - Level must not exceed pulse_max_brightness (default 128) to protect hardware power rails. - Rate limited to protect power supplies against rapid power cycling. </important_notes>

ParameterTypeDescription
level *integer0-255, limited by the server's cap (see get_status).