Skip to main content

MCP Tool Reference

This inventory reflects the tools registered by the current Hosanna Tools MCP server. Inspect the schema shown by your MCP client for exact parameters, because tools may add optional fields between releases.

Connection and Compact State

ToolPurpose
healthVerify proxy reachability and report connected runtimes
get_connected_appsList connected app IDs and app types
get_app_statusInspect one app connection
reset_connectionReset MCP/debug-proxy connection state
reload_web_appReload a connected web app
get_stateReturn compact route, focus, view, and collection state
get_app_structureDiscover app screens, tabs, and navigation structure
get_token_statsInspect response/token accounting maintained by the debugger client
ToolPurpose
send_debugger_commandSend a raw remote-debug command
send_ecp_keySend a Roku ECP key
driveSend a short key sequence and return resulting state
diff_stateCompare state before and after keys
diff_focusCompare focus before and after keys
go_toNavigate toward a resolvable target
deep_linkUse an app-supported view, ID, or content deep link
wait_for_viewWait until a matching view appears
checkCheck screen, focus, visibility, or field expectations
batch_commandsExecute a group of debugger operations

There is no generic MCP test tool.

View and SceneGraph Inspection

ToolPurpose
get_view_hierarchyRead the Hosanna view tree
get_sg_hierarchyRead the SceneGraph tree
get_view_detailsInspect one Hosanna view
get_sg_node_detailsInspect one SceneGraph node
find_viewsSearch views by identity, type, label, or text
get_focus_graphInspect focus relationships
set_view_propertyTemporarily change a Hosanna view field
set_sg_propertyTemporarily change a SceneGraph field
highlight_viewHighlight one view
start_highlightingEnable interactive highlighting
stop_highlightingDisable interactive highlighting

CollectionView Diagnostics

ToolPurpose
get_collection_viewInspect collections, rows, focus, visible ranges, and cell summaries
get_collection_view_sliceRead a targeted row/cell window
trace_cv_rowsTrace CollectionView row behavior
get_cv_diagnostic_reportRead the latest CollectionView diagnostic report
start_cv_listenerStart receiving DevTools CollectionView batches
stop_cv_listenerStop the batch listener
pull_cv_batchRequest a specific batch
get_cv_recordingRead a CollectionView diagnostic recording
get_cv_recording_statsSummarize a CollectionView diagnostic recording
analyze_cv_recordingAnalyze recorded CollectionView batches

These are CollectionView diagnostics, not general UI-test recordings.

Tracing and Performance

ToolPurpose
trace_handlersTrace input/focus handler execution
trace_renderTrace state changes and view rebuilds
inspect_lifecycleInspect lifecycle events for a view
validate_dataValidate runtime data/binding assumptions
render_frequencyFind frequent view/field updates
perf_trackingControl runtime performance collection
get_perf_reportRead collected timing/pool information
get_scroll_jank_telemetryRead scroll-jank telemetry
reset_perf_dataClear collected performance data
diagnoseRun high-level debugger diagnostics

Application and Roku Logs

ToolPurpose
logsHigh-level app log retrieval/search/analysis
get_app_logsRead buffered app logs
search_app_logsSearch app logs
clear_app_logsClear app logs
connect_roku_logsConnect to Roku debug logs
get_roku_logsRead buffered Roku logs
get_roku_errorsExtract Roku errors and warnings
search_roku_logsSearch Roku logs
clear_roku_logsClear the Roku log buffer
roku_log_statusInspect Roku log connection state

Device, Screenshot, Registry, and Accessibility

ToolPurpose
configure_roku_deviceConfigure Roku IP and optional developer password
get_roku_device_infoRead Roku device metadata
get_active_channelRead the active Roku channel
get_installed_channelsList installed Roku channels
launch_channelLaunch a Roku channel with optional deep-link data
post_to_deviceSend a raw device HTTP request
take_screenshotCapture a Roku screenshot
take_web_screenshotCapture web content through Playwright/CDP
get_registryRead app registry data
update_registryUpdate app registry data
get_text_to_speechRead text-to-speech state
toggle_text_to_speechToggle text-to-speech
type_textEnter text through the supported runtime path
type_literal_keysSend literal key names

Build, Deploy, and RASP

ToolPurpose
roku_buildRun a project Roku build
deploy_rokuDeploy Roku output
export_rasp_captureExport a saved RASP capture
validate_rasp_scriptValidate RASP YAML

RASP input capture and execution are primarily CLI workflows: hst rasp:capture, rasp:export, rasp:validate, and rasp:run.

Hs2d Game Tools

ToolPurpose
game_stateRead compact game runtime and scene state
game_driveSend game input and return resulting state
game_diff_stateCompare game state around input
game_screenshotCapture a web game screenshot, with Playwright fallback
game_diagnoseRun game-specific diagnostics

For Roku game screenshots, use configure_roku_device followed by take_screenshot.

Working Rule

Start with health, get_state, and a short drive or diff_state. Use targeted detail, logs, traces, screenshots, and full hierarchies only when the compact result does not answer the question.

Talk to us