# Roku MCP for Claude Code and Codex over local LAN

Source: https://www.ac-bridge.com/roku-mcp

**The short answer**

[AC Bridge](https://www.ac-bridge.com/) exposes your local Roku TV or streaming player to Claude Code and Codex over the Model Context Protocol using Roku's External Control Protocol (ECP) on HTTP port `8060`. Once you enable Permissive network access on the Roku itself, your agent can check power state, switch the TV on or off, toggle Play/Pause playback and nudge volume or mute directly across your home network with no Roku cloud login.

## What Claude Code and Codex can ask of a Roku

Agent device control is part of Pro, GBP 12.99 once. Through AC Bridge's built-in [MCP server](https://www.ac-bridge.com/mcp), Claude Code and Codex call `list_devices`, `get_device` and `set_device` to inspect and operate Roku TVs discovered on your subnet. On Roku, AC Bridge maps three concrete ECP capabilities:

- Check whether the Roku TV is awake via `GET /query/device-info` and send PowerOn, PowerOff or toggle commands.
- Toggle Play/Pause playback or skip forward and back using ECP keypress commands (`Play`, `Fwd`, `Rev`).
- Step TV volume up or down and toggle mute using command-only ECP keypresses (`VolumeUp`, `VolumeDown`, `VolumeMute`).

Device tools stay hidden from chat until you tick "Make agent aware of devices in chat" on a project profile inside the desktop app. Every command your agent dispatches to a Roku is recorded locally and can be inspected with `acbridge audit`.

![Staged Claude Code chat calling set_device through AC Bridge MCP beside a lit workspace](https://www.ac-bridge.com/media/mcp/w01-1600x940.jpg)

Screenshot: a staged Claude Code chat invoking AC Bridge `set_device` MCP calls over a generated home-office backdrop.

## Enable Roku ECP and connect in AC Bridge

Roku devices do not accept third-party LAN keypresses out of the box on Roku OS 14.1 and newer. Complete the on-TV menu toggle below first so HTTP requests on port `8060` succeed instead of returning HTTP `403`.

1. **Switch Roku network access to Permissive.** On your Roku TV or player, open *Settings -> System -> Advanced system settings -> Control by mobile apps -> Network access* and choose *Permissive*. Leaving it on *Limited* lets discovery read `/query/device-info` while rejecting every `POST /keypress/<Key>` call with HTTP 403.
2. **Scan your local network in AC Bridge.** Open the desktop app on the same subnet as the Roku and run *Scan*. AC Bridge finds the Roku over SSDP on port `8060` and connects with no pairing code and no Roku cloud account.
3. **Enable chat awareness on a profile.** Open a project profile in AC Bridge, add the Roku and tick "Make agent aware of devices in chat". Claude Code and Codex sessions in that folder can then control the Roku directly. Browse all 20 [integrations](https://www.ac-bridge.com/integrations) or check the [supported devices reference](https://www.ac-bridge.com/supported-devices) for every capability.

## What Roku ECP does not support

Roku's local External Control Protocol is a lightweight remote-keypress interface rather than a full smart-home state API, so AC Bridge stays explicit about its real boundaries:

### Command-only playback and volume steps

Only `power` reads live state (from `power-mode` inside `/query/device-info`). `mediaTransport` and `volume` are strictly command-only: Roku ECP exposes no numeric volume level to read or set, no mute state read-back, no media position and no discrete Stop key (both play and pause send the toggling `Play` key).

### No channel launch and not a status light

App or channel launching (`inputSource`) is not mapped in AC Bridge's Roku adapter. A Roku TV or streaming player is also not a status light: use a supported smart bulb or LED strip for ambient agent status colours, as explained on the [Claude Code status light](https://www.ac-bridge.com/claude-code-status-light) page.

## Questions people ask

### Why does my Roku appear online in AC Bridge but reject commands?

Roku OS 14.1 defaults *Control by mobile apps -> Network access* to *Limited*. In Limited mode, `GET /query/device-info` still responds so the TV appears online, while `POST /keypress/<Key>` fails with HTTP `403`. Switching Network access to *Permissive* resolves the refusal.

### Can Claude Code set my Roku TV to an exact volume percentage?

No. Roku ECP provides step keys (`VolumeUp`, `VolumeDown`) and a toggling `VolumeMute` key, with no endpoint to set or read an absolute volume level or confirm whether mute is currently active.

### Does Roku MCP require a Roku developer account or cloud token?

No. AC Bridge talks to your Roku locally over HTTP port `8060` on your own LAN once Permissive network access is enabled in Roku settings. Note that streaming players without TV power wiring often report `PowerOn` continuously in `device-info`.

### Can I pair a desk status light alongside Roku MCP control?

Yes. Keep your desk lamp (such as Philips Hue, LIFX, Govee or Home Assistant) as your free status light while using Pro MCP device control to pause or power down your Roku TV from Claude Code or Codex chat.

## Free and Pro pricing

AC Bridge is free to use: one Claude Code profile and one Codex profile, each lighting one device on one repo at a time, with as many devices as you like switched on or off from the app. Pro is GBP 12.99 once, not a subscription: as many profiles as you want for each agent, several devices in a profile, profiles on every repo at once, and your agent can control your devices.

LAN devices are driven straight from your machine and their keys never leave it; your account, settings, device list, usage counts and session states sync through our servers. Your prompts, code and session transcripts are never collected.

**Try AC Bridge on your home network**

[Get started free](https://www.ac-bridge.com/register), or read the [setup docs](https://www.ac-bridge.com/docs) first.
