
Philips TV (JointSpace + ADB)
io.github.amineutron由 GitHub 帳號 amineutron 發布v0.4.0更新於 Oct 24, 2026
Control a Philips Android TV over JointSpace and ADB: power, volume, apps, keys, screen, Ambilight.
概覽
讓助理透過 JointSpace 與 ADB 控制飛利浦 Android 電視:電源、音量、Ambilight、應用程式、遙控按鍵與 YouTube 播放。
- 可以做什麼
- 提供 14 個針對飛利浦 Android 電視的工具:power_on、power_off、screen_off 與 screen_on,volume_up、volume_down、volume_set 與 mute,ambilight_on、ambilight_off、ambilight_mode 與 ambilight_color,list_apps、launch_app、youtube_video、get_state 以及 send_key。get_state 回傳 powerstate、volume、muted、ambilight_on 與 ambilight_mode。它直接與電視的 JointSpace API 通訊,並透明處理 TP Vision 的 SHA1 憑證鏈。設定 Denon 擴大機後,音量與靜音呼叫會經 HDMI ARC 轉送給它。
- 適用情境
- 當你希望助理操作同一網路中的飛利浦 Android 電視時使用:開關機、調整音量或靜音、變更 Ambilight、啟動應用程式、送出遙控按鍵,或播放指定 YouTube 影片。適合電視已完成一次性配對、並從桌面 MCP 用戶端控制的家庭環境。它不是通用的媒體或 Chromecast 伺服器;README 指出擴大機與 Chromecast 由另外的伺服器負責。
- 執行需求
- 以本機程序執行,透過 uvx(或 pip)安裝,需要 Python 3.10+。需要一台啟用 JointSpace API 的飛利浦 Android 電視(2016 年及之後機型),為 YouTube 深層連結啟用 ADB,並完成一次性配對以取得 TV_USER 與 TV_PASS。必要環境變數:TV_HOST。選用:TV_USER、TV_PASS、DENON_HOST、DENON_PORT、PYLIPS_TLS_FINGERPRINT。電視需在區域網路內可連線;Wake-on-LAN 所需的 wakeonlan 套件為選用。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Philips TV (JointSpace + ADB),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
pylips-mcp
[tests] [License: MIT] [Python 3.10+]
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
[MCP client: the 16 tools, then get_state on the real TV]
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.
Tools
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
Configuration Claude Desktop / Claude Code (mcpServers) :
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
3. Configure
Copy config.example.yaml to config.yaml and fill in your TV credentials:
4. Run
Or set via environment variables:
The 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
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
來源:README.md,提交 17eb27f
工具
0版本歷史
3- v0.4.0最新Sep 26, 2026
- v0.3.0Sep 25, 2026
- v0.2.1Sep 24, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分