mcp-server-shieldtv

v0.1.0
mcp-server-shieldtv Checked 2 days ago Published 22 days ago

MCP server for NVIDIA Shield TV (Android TV Remote protocol v2) with a one-time pairing CLI

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

shield_get_status Get Shield status

Start here. Query Shield TV power state, reachability, foreground app, and volume. <use_case> Inspect Shield TV power, connectivity, active foreground package, and volume before issuing commands. </use_case> <important_notes> - When unreachable, stale is true and values represent last known state. - Video output routes to the Onkyo AVR input 'strm-box'. </important_notes>

shield_get_now_playing Get what's playing

Report what is playing: app, title, subtitle (artist or channel), play state, position in seconds. <use_case> Retrieve playback metadata and playback state of media currently active on the Shield. </use_case> <important_notes> - Requires ADB connection established via `mcp-server-shieldtv adb-setup`. - position_s is null for live streaming TV. </important_notes>

shield_get_remotes Check Bluetooth remotes

List the Shield's Bluetooth remotes (e.g. a Harmony hub) and whether each works. <use_case> Diagnose unresponsive physical or hub remotes paired to the Shield over Bluetooth. </use_case> <important_notes> - Requires ADB connection (`mcp-server-shieldtv adb-setup`). - Reports "stuck" state when a connected remote stops sending button events (common after sleep/reboot). </important_notes>

shield_reboot Reboot the Shield

Restart the Shield TV. <use_case> Reboot the device when software is unresponsive or remotes require a cold reset. </use_case> <important_notes> - Disruptive: stops active playback and disconnects network services. - Rate limited to 1 reboot per 120s to prevent rapid boot loops. - Requires ADB connection (`mcp-server-shieldtv adb-setup`). </important_notes>

shield_list_apps List launchable apps

List the app names launch_app accepts (friendly name -> the link it opens). <use_case> Discover valid app names for use with `shield_launch_app`. </use_case> <important_notes> - Returns mapped friendly names from configuration. </important_notes>

shield_send_key Press a remote key

Press a remote-control key on the Shield, e.g. DPAD_DOWN with repeat=3 to move down three rows. <use_case> Navigate Android TV interfaces, menus, and controls using directional pad, enter, back, and home. </use_case> <important_notes> - Only sends allowed key enum values; power toggles and raw text typing are not supported. </important_notes>

ParameterTypeDescription
key *string
repeatintegerHow many times to press the key (1-10).

shield_launch_app Launch an app

Launch an application on the Shield TV. <use_case> Launch streaming media apps (e.g. Netflix, YouTube, Plex) by friendly name. </use_case> <important_notes> - Video output requires Onkyo AVR input set to 'strm-box' and TV input set to AVR HDMI port. - Confirms that the application is running in the foreground before returning. - Unknown app names suggest closest matches from configured apps. </important_notes>

ParameterTypeDescription
app *stringFriendly app name from shield_list_apps, e.g. 'netflix'.

shield_set_power Wake or sleep the Shield

Wake the Shield ('on') or put it to sleep ('off'). <use_case> Manage device power state. </use_case> <important_notes> - Uses discrete WAKEUP and SLEEP commands rather than ambiguous toggles. - Idempotent: returns 'unchanged' if already in requested state. </important_notes>

ParameterTypeDescription
state *string