pylips-mcp
Control a Philips Android TV (JointSpace/ADB) remotely through MCP tools covering power, volume, Ambilight, apps, and YouTube.
Power & screen:
power_on,power_off(standby),screen_off(music mode),screen_onVolume:
volume_up/volume_down(adjustable step, default 5),volume_set(0–60),mute— redirected to a Denon amp when configured for HDMI ARCAmbilight:
ambilight_on,ambilight_off,ambilight_mode(6 modes),ambilight_color(RGB 0–255 with optional brightness)Apps & media:
list_apps(read-only),launch_app(netflix, youtube, plex, disney, prime),youtube_video(URL or 11-char video ID)Remote & status:
send_key(Home, Back, Play, Pause, Stop, …) andget_statefor power state, volume, mute, and Ambilight statusTransport: TLS certificate fingerprint pinning for the TP Vision SHA1 chain; credentials via config file or
TV_HOST/TV_USER/TV_PASSNote: the README's tool table lists 17 entries including
current_appandset_source, but these are absent from the server schema.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pylips-mcp Turn on the TV and play a YouTube video"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pylips-mcp
MCP server for controlling Philips Android TV via the JointSpace API and ADB.
Exposes 14 tools covering power, volume, ambilight, app launching, and YouTube playback. Handles the TP Vision SHA1 certificate chain transparently.
Demo

Recorded against the real TV with docs/demo/record.sh: a minimal MCP client (docs/demo/mcp_demo.py) starts the server over stdio with TV_HOST/TV_USER/TV_PASS in the environment, lists the tools and calls get_state (read-only). Credentials never appear on screen.
Related MCP server: Smart Home Control MCP Server
Tools
Outil | Rôle |
| Allume la TV Philips |
| Eteint la TV Philips (standby) |
| Eteint l'ecran de la TV tout en gardant le son actif (mode musique). Note: fonctionne principalement en source HDMI/TV, limite en mode Android. |
| Rallume l'ecran de la TV apres un screen_off |
| Augmente le volume de la TV (default +5) |
| Baisse le volume de la TV (default -5) |
| Regle le volume a un niveau specifique |
| Coupe ou remet le son de la TV |
| Active l'Ambilight de la TV |
| Desactive l'Ambilight de la TV |
| Change le mode Ambilight |
| Met l'Ambilight sur une couleur fixe (RVB 0-255), luminosite optionnelle |
| Liste les applications disponibles sur la TV |
| Lance une application sur la TV |
| Lance YouTube sur une video specifique (URL youtube ou ID de video) |
| Retourne l'etat actuel de la TV : powerstate (On/Standby), volume, muted, ambilight_on, ambilight_mode |
| Retourne ce que la TV affiche : kind (app, input = entree HDMI ou antenne, home, other), app (nom pour launch_app) et package |
| Passe la TV sur une entree HDMI (hdmi1 a hdmi4) ou revient au menu d'accueil (home) |
| Envoie une touche de telecommande |
YouTube ID extraction
extract_video_id is deliberately duplicated in catt-mcp (cast_youtube, Chromecast with start position and dual-screen sync). Both servers stay installable on their own; each one tests its copy with the same table of cases (tests/test_youtube_id.py). Decision recorded on 2026-09-20.
Requirements
Python 3.10+
JointSpace credentials (user + password) from a one-time pairing with the TV (see Setup); the server itself talks to the TV API directly and does not need pylips at runtime
Philips Android TV with JointSpace API enabled (2016+ models)
ADB enabled on the TV (for YouTube deep linking)
wakeonlanPython package (optional, for Wake-on-LAN)
Installation en une ligne
uvx pylips-mcp # depuis PyPI ; avant publication : uvx --from git+https://github.com/amineutron/pylips-mcp pylips-mcpConfiguration Claude Desktop / Claude Code (mcpServers) :
{ "pylips": { "command": "uvx", "args": ["pylips-mcp"], "env": { "TV_HOST": "192.0.2.10", "TV_USER": "...", "TV_PASS": "..." } } }Setup
1. Pair with your TV
Pairing is done once, to get a JointSpace user and password. Use the pairing tool of
eslavnov/pylips from a clone of that repository
(the pylips package on PyPI is an unrelated project: do not pip install pylips),
and follow its README with your TV's IP. pylips-mcp does not need pylips afterwards.
Keep the user and password the pairing gives you: they go into config.yaml (step 3) or TV_USER / TV_PASS.
2. Install dependencies
pip install pylips-mcp # or: uvx pylips-mcp3. Configure
Copy config.example.yaml to config.yaml and fill in your TV credentials:
tv:
host: "192.168.0.XX"
user: "your_user"
pass: "your_password"
4. Run
pylips-mcp # installed (pip, uvx) ; `pylips-mcp --help` lists the settings
python -m pylips_mcp # same thing, from any environment where the package is installed
python server.py # from a clone, without installing (thin launcher, code in pylips_mcp/)Or set via environment variables:
TV_HOST=192.168.0.XX TV_USER=xxx TV_PASS=xxx pylips-mcpThe code lives in the pylips_mcp package (with the TP Vision certificate), so it can be
installed next to other MCP servers without module name clashes.
Claude Desktop Configuration
{
"mcpServers": {
"philips-tv": {
"command": "python3",
"args": ["/path/to/pylips-mcp/server.py"],
"env": {
"TV_HOST": "192.168.0.XX",
"TV_USER": "your_user",
"TV_PASS": "your_password"
}
}
}
}SSL Note
Philips TVs present a TP Vision certificate chain from 2015 signed with SHA1.
Modern OpenSSL and the Fedora/RHEL crypto policy reject SHA1 signatures, so a
classic CA verification is impossible, even with the bundled chain and
SECLEVEL=0.
What this server does instead, honestly:
CA verification is disabled (it cannot succeed);
the SHA-256 fingerprint of the certificate presented by the TV must match the leaf certificate shipped in
tpvision_ca.pem(checked by urllib3 after the TLS handshake, so a man-in-the-middle cannot impersonate the TV without the private key). Verified against a real 55OLED705 (JointSpace 6, port 1926);PYLIPS_TLS_FINGERPRINT=<sha256 hex>pins another TV,PYLIPS_TLS_PIN=0disables pinning and logs a warning.
tpvision_ca.pem is the public TP Vision chain (leaf restfultv.tpvision.com,
intermediate ca.tpvision.com, root www.tpvision.com, valid until 2042),
extracted from a TV with openssl s_client -showcerts. It contains no secret.
License
MIT
Volume en HDMI ARC
Quand la TV est reliee a un ampli en HDMI ARC, le son ne sort pas de la TV :
agir sur son volume n'a aucun effet audible. Si denon.host est renseigne
dans la configuration, volume_up, volume_down, volume_set et mute
sont donc rediriges vers l'ampli Denon ; sinon ils passent par l'API de la TV.
Pour piloter l'ampli directement (entrees, extinction, statut), utiliser denon-mcp.
Part of the Lyra ecosystem
Dépôt | Rôle |
assistant DevOps vocal, local par défaut (AGPL-3.0) | |
MCP : machines virtuelles KVM et sauvegardes | |
MCP + API + tableau de bord des tâches longues | |
hub PWA du homelab | |
MCP Philips Hue (fork de ThomasRohde/hue-mcp) | |
MCP TV Philips | |
MCP ampli Denon | |
MCP Chromecast et DLNA |
Available Tools
17 toolsambilight_colorBIdempotent
Met l'Ambilight sur une couleur fixe (RVB 0-255), luminosite optionnelle
Inputs: b (required), g (required), r (required), brightness.
ambilight_modeCIdempotent
Change le mode Ambilight
Inputs: mode (required).
ambilight_offAIdempotent
Desactive l'Ambilight de la TV
Inputs: no named parameters.
ambilight_onAIdempotent
Active l'Ambilight de la TV
Inputs: no named parameters.
get_stateARead-onlyIdempotent
Retourne l'etat actuel de la TV : powerstate (On/Standby), volume, muted, ambilight_on, ambilight_mode
Inputs: no named parameters.
launch_appC
Lance une application sur la TV
Inputs: app (required).
list_appsBRead-onlyIdempotent
Liste les applications disponibles sur la TV
Inputs: no named parameters.
muteAIdempotent
Coupe ou remet le son de la TV
Inputs: no named parameters.
power_offAIdempotent
Eteint la TV Philips (standby)
Inputs: no named parameters.
power_onAIdempotent
Allume la TV Philips
Inputs: no named parameters.
screen_offAIdempotent
Eteint l'ecran de la TV tout en gardant le son actif (mode musique). Note: fonctionne principalement en source HDMI/TV, limite en mode Android.
Inputs: no named parameters.
screen_onAIdempotent
Rallume l'ecran de la TV apres un screen_off
Inputs: no named parameters.
send_keyB
Envoie une touche de telecommande
Inputs: key (required).
volume_downB
Baisse le volume de la TV (default -5)
Inputs: step.
volume_setBIdempotent
Regle le volume a un niveau specifique
Inputs: level (required).
volume_upB
Augmente le volume de la TV (default +5)
Inputs: step.
youtube_videoA
Lance YouTube sur une video specifique (URL youtube ou ID de video)
Inputs: video (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools map cleanly to distinct TV functions such as power, volume, screen, apps, and Ambilight. However, the four Ambilight tools—especially ambilight_mode versus ambilight_color and ambilight_on/off—could cause some selection confusion.
The names are mostly consistent snake_case verb_noun style (power_on, volume_set, list_apps, send_key). Minor deviations like ambilight_color, ambilight_mode, and youtube_video are noun-style rather than verb-led, but the overall pattern remains readable.
17 tools is slightly above the ideal 3-15 range but is reasonable for a smart TV control server that covers power, volume, screen, Ambilight, apps, media, and remote input. No tool feels redundant or unnecessary.
The toolset covers the main smart-TV workflows: power management, volume control, muting, screen toggling, Ambilight control, app launching, media playback, remote key injection, and state retrieval. Missing input/source selection and current Ambilight color reading are minor gaps that can be partially worked around via send_key or get_state.
Maintenance
Related MCP Connectors
Control Android TV from any AI. 38 MCP tools: playback, recap, recommend, smart-home, schedules.
Yeelight device discovery, state, control, and scene execution.
Control your existing Philips lights, Sonos speakers, Roborock vacuums and other supported devices through Port OS cloud. Give ChatGPT, Claude and other MCP-compatible assistants access to the devices you connect. Turn off the living room lights, play music on your speakers, adjust the thermostat, run a vacuum in a room, check a camera snapshot or find a connected tracker. Available actions depend on your linked provider accounts and each device’s supported capabilities. Port OS runs in the cloud; no local server is required. You choose the account, device and capability permissions each assistant receives. Device operations require user OAuth; public tool discovery does not grant device access. Port OS is in alpha. Setup: https://portoperatingsystem.com/docs/getting-started/ Support: https://portoperatingsystem.com/contact/
Control a Loxone Miniserver smart home: lights, blinds, climate, scenes and energy.
Related MCP Servers
- AlicenseBqualityAmaintenanceControl any smart TV with natural language — play Netflix/YouTube/Spotify by name, cast URLs, scene presets, multi-room audio, and multi-TV sync. Supports LG, Samsung, Android TV, Roku.2353 PyPI60MIT
- FlicenseNot gradedqualityDmaintenanceEnables controlling smart home devices like lights, fans, air conditioners, and Android TVs through natural language commands, with persistent state and TV content search/playback via ADB.2-
- AlicenseAqualityDmaintenanceEnables discovery and control of Philips Hue lighting devices via a local bridge using the CLIP v2 API, without any cloud dependency.10MIT
- AlicenseNot gradedqualityBmaintenanceEnables controlling a Logitech Harmony Hub over its local WebSocket API, including listing activities and devices, starting activities, powering off, and sending IR commands.MIT