Philips TV (JointSpace + ADB)

v0.4.0
io.github.amineutron/pylips-mcp Checked 4 days ago Published 2 months ago

Control a Philips Android TV over JointSpace and ADB: power, volume, apps, keys, screen, Ambilight.

Values you need

VariableWhat it is
TV_HOSTrequired IP address of the Philips TV
TV_USERoptional JointSpace pairing username (from pylips pairing)
TV_PASSoptional secret JointSpace pairing password
DENON_HOSToptional Optional Denon AVR IP: volume and mute are redirected to the amplifier (HDMI ARC)
DENON_PORToptional Denon telnet port Default: 23
PYLIPS_TLS_FINGERPRINToptional Optional SHA-256 fingerprint to pin the TV certificate

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add pylips-mcp -e 'TV_HOST=<TV_HOST>' -- uvx pylips-mcp==0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "pylips-mcp": {
      "args": [
        "pylips-mcp==0.4.0"
      ],
      "command": "uvx",
      "env": {
        "TV_HOST": "<TV_HOST>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pylips-mcp": {
      "args": [
        "pylips-mcp==0.4.0"
      ],
      "command": "uvx",
      "env": {
        "TV_HOST": "<TV_HOST>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "TV_HOST",
      "id": "tv-host",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "pylips-mcp": {
      "args": [
        "pylips-mcp==0.4.0"
      ],
      "command": "uvx",
      "env": {
        "TV_HOST": "${input:tv-host}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pylips-mcp]
command = "uvx"
args = ["pylips-mcp==0.4.0"]
env = { "TV_HOST" = "<TV_HOST>" }

For AI agents

  1. Ask the user for: TV_HOST. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: power_on, power_off, screen_off, screen_on, volume_up, volume_down, volume_set, mute, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json