MCP Hub
Back to servers

Roku MCP Server

Enables AI agents to develop, test, and certify Roku applications by providing direct control over device functions like app deployment, remote input, and SceneGraph inspection. It supports automated workflows including real-time log collection, media monitoring, and certification verification.

Updated
Feb 22, 2026

🎮 Roku MCP Server

한국어 | English


한국어

Roku 기기 개발, 테스트, 인증을 위한 MCP (Model Context Protocol) 서버입니다.
AI 에이전트(Gemini, Claude, Copilot 등)가 Roku 기기를 직접 제어하고 테스트할 수 있게 합니다.

✨ 주요 기능

  • 📦 앱 배포 — 사이드로드 배포 및 스크린샷 캡처
  • 🖥️ 해상도 검증 — HD/FHD 호환성 자동 확인
  • ⌨️ 리모컨 제어 — 키 입력, 시퀀스, 텍스트 입력
  • 📱 앱 관리 — 설치된 앱 조회, 실행, 딥링크 테스트
  • 📋 로그 수집 — BrightScript 콘솔 실시간 로그
  • 🔍 SceneGraph 검사 — 노드 트리, 메모리, 포커스 요소
  • 🎥 스트리밍 모니터링 — 재생 상태, 버퍼링, 대역폭
  • 🛡️ 인증 검증 — DRM, 접근성(Audio Guide/자막), RAF 광고
  • 🧪 통합 테스트 — 여러 동작을 시퀀스로 자동 실행

📋 도구 목록 (25개)

카테고리도구설명
배포roku_deploy앱 사이드로드 배포
roku_screenshot화면 캡처 (base64 이미지)
디스플레이roku_device_info기기 정보 (모델, 해상도, 펌웨어)
roku_check_resolutionHD/FHD 해상도 호환성 검증
입력roku_keypress리모컨 키 입력
roku_keypress_sequence키 시퀀스 전송
roku_input커스텀 이벤트/딥링크 파라미터
앱 관리roku_apps설치된 앱 목록
roku_active_app현재 실행 중인 앱
roku_launch앱 실행/재시작
roku_deep_link딥링크 인증 테스트
roku_registry앱 레지스트리 데이터 조회
roku_app_state앱 라이프사이클 추적
로그roku_logBrightScript 콘솔 로그
SceneGraphroku_sg_nodesSG 노드 트리 검사
roku_perfCPU/메모리 사용량
roku_graphics_fps그래픽 FPS
roku_elementUI 요소 검색 (WebDriver)
roku_focused_element포커스 요소 조회
스트리밍roku_media_player미디어 재생 상태
roku_server_check서버 헬스체크
인증roku_check_drmDRM 콘텐츠 보호 상태
roku_check_accessibility접근성 준수 검사
roku_check_rafRAF 광고 프레임워크 검증
테스트roku_run_test통합 테스트 실행

🛠️ 설치

git clone https://github.com/maskelog/roku-mcp.git
cd roku-mcp
npm install
npm run build

⚙️ 설정

.env.example.env로 복사한 후 설정:

ROKU_DEV_HOST=192.168.0.100     # Roku 기기 IP (설정 > 네트워크 > 정보)
ROKU_DEV_PASSWORD=your_password  # Developer Mode 비밀번호
ROKU_PROJECT_ROOT=               # 프로젝트 루트 (기본: 상위 디렉토리)
ROKU_APP_SERVER_URL=             # 앱 서버 URL (선택)

⚠️ Roku Developer Mode를 활성화해야 합니다.

🔌 MCP 클라이언트 연결

AI 에이전트의 MCP 설정에 추가:

{
  "mcpServers": {
    "roku-dev": {
      "command": "node",
      "args": ["/path/to/roku-mcp/dist/index.js"],
      "env": {
        "ROKU_DEV_HOST": "192.168.0.100",
        "ROKU_DEV_PASSWORD": "your_password"
      }
    }
  }
}

💡 사용 예시

AI 에이전트에게 자연어로 요청:

  • "Roku 기기 정보 알려줘"roku_device_info
  • "앱 배포하고 스크린샷 찍어줘"roku_deployroku_screenshot
  • "광고 설정 어떤지 확인해"roku_check_raf
  • "HD/FHD 해상도 호환 되는지 봐줘"roku_check_resolution
  • "통합 테스트 돌려줘"roku_run_test

English

MCP (Model Context Protocol) server for Roku device development, testing, and certification.
Enables AI agents (Gemini, Claude, Copilot, etc.) to directly control and test Roku devices.

✨ Features

  • 📦 App Deployment — Sideload apps and capture screenshots
  • 🖥️ Resolution Verification — Auto-check HD/FHD compatibility
  • ⌨️ Remote Control — Key presses, sequences, text input
  • 📱 App Management — List apps, launch, deep link testing
  • 📋 Log Collection — Real-time BrightScript console logs
  • 🔍 SceneGraph Inspection — Node tree, memory, focused elements
  • 🎥 Streaming Monitoring — Playback state, buffering, bandwidth
  • 🛡️ Certification Checks — DRM, accessibility (Audio Guide/Captions), RAF ads
  • 🧪 Integration Testing — Automated multi-step test sequences

📋 Tools (25)

CategoryToolDescription
Deployroku_deploySideload app to device
roku_screenshotCapture screen (base64 image)
Displayroku_device_infoDevice info (model, resolution, firmware)
roku_check_resolutionVerify HD/FHD resolution support
Inputroku_keypressSend remote key press
roku_keypress_sequenceSend key sequence
roku_inputCustom events / deep link params
Approku_appsList installed apps
roku_active_appCurrently running app
roku_launchLaunch / restart app
roku_deep_linkTest deep linking (certification req.)
roku_registryRead app registry data
roku_app_stateTrack app lifecycle
Loggingroku_logBrightScript console logs
SceneGraphroku_sg_nodesInspect SG node tree
roku_perfCPU / memory usage
roku_graphics_fpsGraphics frame rate
roku_elementFind UI element (WebDriver)
roku_focused_elementGet focused element
Streamingroku_media_playerMedia playback state
roku_server_checkServer health check
Certificationroku_check_drmDRM content protection status
roku_check_accessibilityAccessibility compliance
roku_check_rafRAF ad framework verification
Testingroku_run_testRun integration test sequence

🛠️ Installation

git clone https://github.com/maskelog/roku-mcp.git
cd roku-mcp
npm install
npm run build

⚙️ Configuration

Copy .env.example to .env and configure:

ROKU_DEV_HOST=192.168.0.100     # Roku device IP (Settings > Network > About)
ROKU_DEV_PASSWORD=your_password  # Developer Mode password
ROKU_PROJECT_ROOT=               # Project root (default: parent directory)
ROKU_APP_SERVER_URL=             # App server URL (optional)

⚠️ Roku Developer Mode must be enabled on the target device.

🔌 MCP Client Setup

Add to your AI agent's MCP configuration:

{
  "mcpServers": {
    "roku-dev": {
      "command": "node",
      "args": ["/path/to/roku-mcp/dist/index.js"],
      "env": {
        "ROKU_DEV_HOST": "192.168.0.100",
        "ROKU_DEV_PASSWORD": "your_password"
      }
    }
  }
}

💡 Usage Examples

Ask your AI agent in natural language:

  • "Show me the Roku device info"roku_device_info
  • "Deploy the app and take a screenshot"roku_deployroku_screenshot
  • "Check if the ad framework is set up correctly"roku_check_raf
  • "Verify HD/FHD resolution support"roku_check_resolution
  • "Run a full integration test"roku_run_test

🏗️ Architecture

roku-mcp/
├── src/
│   ├── index.ts              # MCP server entry (25 tools + 2 resources)
│   ├── roku-client.ts        # ECP + Dev Web Server client
│   ├── log-client.ts         # BrightScript console (Telnet :8085)
│   ├── webdriver-client.ts   # Roku WebDriver (port 9000)
│   └── test-runner.ts        # Integration test orchestrator
├── dist/                     # Compiled output
├── package.json
├── tsconfig.json
└── .env.example

📡 Roku APIs Used

APIPortPurpose
ECP (External Control Protocol)8060Device control, queries, key presses
Developer Web Server80App sideloading, screenshots
BrightScript Console8085Runtime logs, debugging
SceneGraph Debug8080SG-specific debugging
WebDriver9000UI element automation

📝 Self-Documenting

Every tool includes inline Roku API documentation in its description — API endpoints, ports, parameters, expected responses, and links to official docs. AI agents can use the tools without consulting external documentation.


License

MIT

Reviews

No reviews yet

Sign in to write a review