Skip to content

Repository files navigation

Roku Dev Studio icon  Roku Dev Studio

Platform CI Version Electron License roku-dev-studio MCP server

Roku Developer Tools for macOS, Windows, and Linux — Remote Control, App Side-loading, ECP automation, RALE / App Connector, Network Inspector, Action Scripts, MCP server for AI agents (Cursor, Claude, VS Code), and a rds CLI. Supports both local network and internet-bridged devices.

A comprehensive cross-platform desktop application for controlling and developing on Roku devices over your local network or via remote server using the External Control Protocol (ECP).

This repository is an npm workspace monorepo. Run npm install and npm start from the repository root so workspaces link correctly. Installing runs a postinstall (npm run build:libs) that compiles the shared roku-dev-studio-platform and roku-dev-studio-api packages to their dist/ outputs, which the app and remote server import. Use npm run typecheck for a full TypeScript check across every workspace and npm test to run unit tests. CI runs these plus per-package build/syntax smoke checks on each push and pull request. Setup, scripts, and distributable builds are documented in INSTALLATION.md.

Repository layout

Location What it is
apps/roku-dev-studio/ Electron desktop app (main process, renderer, packaging). Dev and distributable builds: INSTALLATION.md.
packages/roku-dev-studio-api/ Shared Node library + rds CLI: discovery, ECP, screenshots, sideload, RALE, action-script runner, headless validator — package README.
packages/roku-dev-studio-mcp/ MCP server that lets AI agents (Cursor, Claude Desktop, VS Code) drive a Roku through this app — package README.
packages/roku-dev-studio-network-inspector/ Network Inspector engine: hotspot packet capture (DNS/SNI/HTTP) + local MITM proxy, transport-agnostic so it runs in both the desktop app and the remote server — package README.
packages/roku-dev-studio-remote-server/ HTTP/WebSocket relay to control Rokus over the internet — package README.
packages/roku-dev-studio-platform/ Shared host-platform helpers (OS identity, modifier keys, path-safe, node-only filesystem helpers) used by the app and other packages so platform logic lives in one place. Built to dist/ on npm installpackage README.
roku-components/ BrightScript-side artifacts: TrackerTask.xml (drop into your channel for App Connector / RALE) and the fiddle/ SceneGraph scaffold — components README.

Author: Hareendra Donapati

Glossary

Term One-line meaning
ECP External Control Protocol — Roku's HTTP API on port 8060 (KeyPress, Launch, Query, Deep-Link).
Telnet 8085 / 8080 The BrightScript debug console (8085) and dev system commands (8080) on a Developer-Mode Roku.
RALE Roku Advanced Layout Editor — Roku's SceneGraph inspection protocol over a TCP socket (default port 49200), spoken by the TrackerTask component.
TrackerTask The BrightScript component channel developers add to their app to make it reachable from RALE / App Connector — see roku-components/README.md.
App Connector The Dev Studio tab that talks RALE: list / call your channel's GetExternalControlFunctions, plus built-ins (node lookup, registry editor, update node).
Network Inspector The Dev Studio tab / engine that inspects a dev channel's HTTP(S) traffic through a local MITM proxy, with optional hotspot packet capture.
Sideload Uploading and installing a .zip / .pkg dev channel onto a Developer-Mode Roku via its Dev Password.
Sideload Relay RDS advertising itself as a Roku so one sideload from your IDE / browser fans out (install → launch → console) to many targeted devices.
Action Script JSON-described automation that chains keypresses, queries, sideload, App Connector calls, screenshots, conditionals, waits, and variables. Built and run from the Action Scripts tab; also runnable headless via rds.
MCP server Roku Dev Studio's Model Context Protocol server — lets Cursor / Claude Desktop / VS Code drive a real device through this app while it's open. Toggle clients in Settings → MCP Server.
Fiddle The BrightScript scratch editor (Monaco + brighterscript lint) that wraps your snippet into a temporary channel and runs it on a selected device.
rds The terminal CLI shipped by roku-dev-studio-api (rds discover, rds keypress, rds script run, rds rale repl, …).

Supported Platforms

Roku Dev Studio is available for:

Platform Options
macOS DMG installer, Portable ZIP archive
Windows NSIS installer, Portable executable
Linux DEB package, AppImage

Home
Home

Features

See FEATURES.md for the full tour with screenshots. Quick index:

Remote Control (Floating Remote) · Device Performance · Device Discovery · App Launcher & Management · Device Queries · Dev App Management · Sideload Relay · Console & Debugging · BrightScript Debugger · App Connector (RALE) · Network Inspector · Network Session Viewer · Action Scripts · AI Agents (MCP Server) · BrightScript Fiddle · Log File Viewer · Static Channel Analysis · rds CLI · Remote Server Support · Settings · Developer Features

Remote Server Setup

Roku Dev Studio can control devices over the internet using a remote server bridge, so you can manage devices in Remote Locations without being on the same network as the desktop app. Run the relay (npm run remote-server from this repo, or npm install -g roku-dev-studio-remote-server), then add its URL via Add Remote Location in the device selector.

Full setup (running the server as a service, network/firewall configuration, the HTTP/WebSocket API, and Swagger docs) lives in the remote server package README.

Project structure

.
├── apps/
│   └── roku-dev-studio/                 # Electron desktop app (see INSTALLATION.md)
├── packages/
│   ├── roku-dev-studio-api/             # Shared API + `rds` CLI (npm: roku-dev-studio-api)
│   ├── roku-dev-studio-mcp/             # MCP server bundled into the desktop app
│   ├── roku-dev-studio-network-inspector/ # Network capture + MITM proxy engine
│   ├── roku-dev-studio-platform/        # Shared platform helpers (path-safe, OS identity)
│   └── roku-dev-studio-remote-server/   # HTTP/WS relay (npm: roku-dev-studio-remote-server)
├── roku-components/                     # TrackerTask + Fiddle SceneGraph assets
├── package.json                         # Workspace root (workspaces: apps/*, packages/*)
├── INSTALLATION.md
└── README.md

The Electron app’s own tree (TypeScript main.ts / preload.ts bundled to main.bundled.cjs / preload.bundled.cjs, renderer/, build assets) lives under apps/roku-dev-studio/.

Requirements

For Running the App:

  • Node.js 24.17+
  • npm (bundled with Node.js)
  • Roku device on local network (or remote server for remote access)

For Building:

  • All of the above
  • Platform-specific build tools:
    • macOS: Xcode Command Line Tools
    • Windows: Windows SDK (for NSIS installer)
    • Linux: Standard build tools (gcc, make, etc.)

See Installation for setup and build instructions.

License

This project is licensed under the MIT License.

Third-party components used in this software and their licences:

Library Purpose Licence
@tanstack/virtual-core Virtualized list rendering (telnet console, large script results) MIT
archiver Building sideload .zip packages MIT
brighterscript BrightScript linting in the Fiddle editor MIT
commander rds CLI argument parsing MIT
electron Desktop app runtime MIT
electron-builder Packaging & installers MIT
form-data HTTP multipart uploads MIT
modern-screenshot DOM-to-image capture for chart cards / PDF export MIT
monaco-editor Code editor (Fiddle, action-script step editors) MIT
pdf-lib PDF generation MIT
sharp Image processing (icons/build) Apache-2.0
solid-js Reactive framework powering the new renderer MIT
ws WebSocket client MIT

Their dependencies are used under the terms declared in package-lock.json and each package’s repository.

About

Cross-platform Electron desktop studio for Roku developers: remote control, device queries, sideload, telnet console, RALE/App Connector, BrightScript Fiddle, JSON Action Scripts, an `rds` CLI, an MCP server for AI agents, and an internet relay.

Topics

Resources

Stars

27 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages