Skip to main content
Glama

HDHomeRun MCP

CLI or API | MCP

PyPI - Version MCP Server PyPI - Downloads GitHub Repo stars PyPI - License GitHub last commit (by committer)

Documentation — Installation, deployment, usage across the API, CLI, and MCP backing platform are maintained in the official documentation.


Related MCP server: mcp-plex

Table of Contents


Overview

HDHomeRun MCP MCP Server + A2A Agent

A complete client + MCP server + A2A agent for SiliconDust HDHomeRun network TV tuners, covering all four of SiliconDust's documented interfaces: the HTTP JSON API (device discovery, channel lineup, scan control), the DVR API (SiliconDust cloud recording rules + local record-engine operations), the Discovery API (local UDP broadcast on port 65001 + the cloud discovery endpoint), and the binary hdhomerun_config control protocol (TCP port 65001 — a different wire protocol from the HTTP API, used for per-tuner status/vstatus/streaminfo/tuning/filters). Also ships a doctor diagnostic tool matching this fleet's cm_doctor convention.

This repository is actively maintained - Contributions are welcome!

Key Features

  • All four HDHomeRun interfaces, one package — HTTP JSON API, DVR API, Discovery API (local UDP + cloud), and the binary hdhomerun_config control protocol, each served as typed tools.

  • doctor diagnostics — one call checks device reachability, firmware/model, tuner count vs. a paired Jellyfin instance, per-channel signal strength, DeviceAuth presence/validity, and discovery-cache freshness — pass/fail with an actionable next step per check.

  • Typed MCP tools — one tool per HDHomeRun operation (hdhomerun_get_lineup, hdhomerun_set_channel, hdhomerun_run_doctor, ...), each taking its arguments by name.

  • Two interfaces, one package — use it as a Python API client, an MCP server (stdio / streamable-http / sse).

  • scion-sdk native — built on the shared framework (auth, action router, telemetry, governance) for fleet consistency.

  • Per-tool toggles — enable or disable each tool domain with environment switches.

  • Enterprise-ready — OTEL/Langfuse telemetry and optional Eunomia access governance.

Available MCP Tools

Each tool is typed: pass its arguments by name. The table below is auto-generated from the live server by the mcp-readme-table pre-commit hook (python -m scion_sdk.mcp.readme_tools) — do not edit it by hand.

Typed tools, one per operation

MCP Tool

Toggle Env Var

Description

hdhomerun_abort_scan

HTTPTOOL

POST /lineup.post?scan=abort — cancel an in-progress channel scan.

hdhomerun_add_datetime_rule

DVRTOOL

Add a DateTimeOnly-ChannelOnly rule (record one specific airing).

hdhomerun_add_series_rule

DVRTOOL

Add a Series (or Movie) recording rule for a SeriesID.

hdhomerun_build_live_tv_url

DVRTOOL

Build a record-engine buffered Live TV URL.

hdhomerun_build_stream_url

HTTPTOOL

Build a live-stream URL: /{auto|tuner}/{v|ch[-]}.

hdhomerun_change_rule

DVRTOOL

Modify a rule, or reprioritize it via after_recording_rule_id.

hdhomerun_check_device_auth

DOCTORTOOL

Invoke the check_device_auth operation.

hdhomerun_check_device_reachable

DOCTORTOOL

Invoke the check_device_reachable operation.

hdhomerun_check_discovery_cache_freshness

DOCTORTOOL

Invoke the check_discovery_cache_freshness operation.

hdhomerun_check_firmware_model

DOCTORTOOL

Invoke the check_firmware_model operation.

hdhomerun_check_signal_strength

DOCTORTOOL

Briefly tune each channel and sample ss/snq/seq, then release the tuner.

hdhomerun_check_tuner_count_vs_jellyfin

DOCTORTOOL

Invoke the check_tuner_count_vs_jellyfin operation.

hdhomerun_delete_recording

DVRTOOL

POST cmd=delete[&rerecord=1].

hdhomerun_delete_rule

DVRTOOL

Delete a Series/Movie rule (by RecordingRuleID or SeriesID) or a

hdhomerun_disable_lineup_location

CONFIGTOOL

Disable the lineup-server connection (/lineup/location disabled).

hdhomerun_discover_cloud

DISCOVERYTOOL

GET http://ipv4-api.hdhomerun.com/discover[?DeviceID=].

hdhomerun_discover_local_broadcast

DISCOVERYTOOL

Broadcast a DISCOVER_REQ on UDP port 65001 and collect DISCOVER_RPY replies.

hdhomerun_discover_local_targeted

DISCOVERYTOOL

Send a DISCOVER_REQ directly to a known IP (works across VLANs).

hdhomerun_get_channel

CONFIGTOOL

/tuner<n>/channel — current <modulation>:<frequency> or none.

hdhomerun_get_channelmap

CONFIGTOOL

/tuner<n>/channelmap — the configured channel-to-frequency map.

hdhomerun_get_discover

HTTPTOOL

GET /discover.json — FriendlyName/ModelNumber/FirmwareVersion/DeviceID/

hdhomerun_get_filter

CONFIGTOOL

/tuner<n>/filter — the current PID filter (default 0x0000-0x1FFF).

hdhomerun_get_help

CONFIGTOOL

get help — the list of get/set item paths this device supports.

hdhomerun_get_ir_target

CONFIGTOOL

/ir/target — the configured IR-blaster target IP:port.

hdhomerun_get_item

CONFIGTOOL

hdhomerun_config <id> get <item> — raw get of any supported item path.

hdhomerun_get_lineup

HTTPTOOL

GET /lineup.{json,xml,m3u} — the channel list.

hdhomerun_get_lineup_status

HTTPTOOL

GET /lineup_status.json — scan state.

hdhomerun_get_lockkey

CONFIGTOOL

/tuner<n>/lockkey — current tuner lock owner (none if unlocked).

hdhomerun_get_program

CONFIGTOOL

/tuner<n>/program — the current MPEG program (sub-channel) filter.

hdhomerun_get_record_engine_status

DVRTOOL

GET /discover.json — FriendlyName/Version/

hdhomerun_get_recorded_files

DVRTOOL

GET (recorded_files.json) — the list of recordings

hdhomerun_get_sys_copyright

CONFIGTOOL

/sys/copyright — the firmware copyright notice.

hdhomerun_get_sys_debug

CONFIGTOOL

/sys/debug — device-wide debug info.

hdhomerun_get_sys_features

CONFIGTOOL

/sys/features — supported channelmaps/modulations for this device.

hdhomerun_get_sys_model

CONFIGTOOL

/sys/model — the device model name.

hdhomerun_get_sys_version

CONFIGTOOL

/sys/version — the firmware version string.

hdhomerun_get_target

CONFIGTOOL

/tuner<n>/target — the current UDP/RTP streaming target.

hdhomerun_get_tuner_debug

CONFIGTOOL

/tuner<n>/debug — extended tun/dev/ts/flt/net diagnostic counters.

hdhomerun_get_tuner_status

CONFIGTOOL

/tuner<n>/status — ch=... lock=... ss=... snq=... seq=... bps=... pps=....

hdhomerun_get_tuner_streaminfo

CONFIGTOOL

/tuner<n>/streaminfo — detected programs: <num>: <major>.<minor> [name].

hdhomerun_get_tuner_vstatus

CONFIGTOOL

/tuner<n>/vstatus — virtual-channel auth/CCI/CGMS status (model/firmware

hdhomerun_list_recording_rules

DVRTOOL

List all recording rules for the household's DeviceAuth(s).

hdhomerun_parse_tuner_status

CONFIGTOOL

Parse a ch=... lock=... ss=... snq=... seq=... bps=... pps=... status line.

hdhomerun_poke_record_engine

DVRTOOL

POST /recording_events.post?sync.

hdhomerun_restart_device

CONFIGTOOL

/sys/restart self — reboot the HDHomeRun. Destructive; use with care.

hdhomerun_run_doctor

DOCTORTOOL

Run every check and return the aggregate report.

hdhomerun_set_channel

CONFIGTOOL

/tuner<n>/channel set — e.g. auto:651000000 or auto:60; none to stop.

hdhomerun_set_channelmap

CONFIGTOOL

/tuner<n>/channelmap set — e.g. us-bcast/us-cable/us-hrc/us-irc.

hdhomerun_set_filter

CONFIGTOOL

/tuner<n>/filter set — e.g. 0x0000-0x1FFF or a space-separated PID list.

hdhomerun_set_ir_target

CONFIGTOOL

/ir/target set — <ip>:<port>.

hdhomerun_set_item

CONFIGTOOL

hdhomerun_config <id> set <item> <value> — raw set (implicit get-back).

hdhomerun_set_lineup_location

CONFIGTOOL

/lineup/location set — <countrycode>:<postcode> (or set to "disabled").

hdhomerun_set_lockkey

CONFIGTOOL

/tuner<n>/lockkey set/clear — pass lock=False to release.

hdhomerun_set_program

CONFIGTOOL

/tuner<n>/program set — filter to a single program (sub-channel) number.

hdhomerun_set_target

CONFIGTOOL

/tuner<n>/target set — e.g. udp://192.168.1.100:5000 or rtp://....

hdhomerun_start_scan

HTTPTOOL

POST /lineup.post?scan=start[&source=] — begin a channel scan.

hdhomerun_stop_tuner

CONFIGTOOL

Set /tuner<n>/channel none — release the tuner.

5 action-routed tool(s) · 57 verbose 1:1 tool(s). Each is enabled unless its <DOMAIN>TOOL toggle is set false; MCP_TOOL_MODE selects the surface (intent default — the six verb-tools, granular set loaded on demand · condensed action-routed · verbose 1:1 · both). Auto-generated — do not edit.

Installation

Install with uvx (no install — run on demand)

uvx --from "hdhomerun-mcp[mcp]" hdhomerun-mcp      # MCP server (slim deps)

The [mcp] extra installs only the FastMCP/FastAPI MCP-server tooling (scion-sdk) — it excludes the heavy agent runtime (the medulla engine, pydantic-ai, dspy, llama-index), so it is far

Install with pip

python -m pip install hdhomerun-mcp            # core (API client)
python -m pip install "hdhomerun-mcp[all]"     # + MCP server + A2A agent + telemetry

Console scripts

After installation the following entry points are available on the operator's PATH:

Command

Description

hdhomerun-mcp

Start the MCP server

Usage

As a Python API client

from hdhomerun_mcp.auth import get_client

client = get_client()  # reads HDHOMERUN_URL / HDHOMERUN_DEVICE_AUTH
info = client.get_discover()  # device identity + tuner count
lineup = client.get_lineup()  # channel list
stream_url = client.build_stream_url("24.1")  # http://<device>:5004/auto/v24.1
report = client.run_doctor()  # full health-check sweep

As an MCP server (CLI)

# Local stdio (for IDEs)
hdhomerun-mcp

# Networked streamable-http
hdhomerun-mcp --transport streamable-http --host 0.0.0.0 --port 8000

Calling an MCP tool

Each tool takes its arguments by name:

{
  "tool": "hdhomerun_get_discover",
  "arguments": {}
}

MCP

Using as an MCP Server

The MCP Server can be run in stdio (local), streamable-http (networked), or sse mode.

Environment Variables

Package environment variables

Variable

Example

Description

HOST

0.0.0.0

PORT

8000

TRANSPORT

stdio

options: stdio, streamable-http, sse

ENABLE_OTEL

True

OTEL_EXPORTER_OTLP_ENDPOINT

http://localhost:8080/api/public/otel

OTEL_EXPORTER_OTLP_PROTOCOL

http/protobuf

EUNOMIA_TYPE

none

options: none, embedded, remote

EUNOMIA_POLICY_FILE

mcp_policies.json

EUNOMIA_REMOTE_URL

http://eunomia-server:8000

HDHOMERUN_URL

http://hdhomerun.local

HDHOMERUN_DEVICE_AUTH

your_device_auth_here

HDHOMERUN_TLS_PROFILE

—

Named outbound TLS policy from AgentConfig; only matters for the SiliconDust cloud recording-rules API (local tuner devices are plain HTTP). Verification is mandatory and cannot be disabled.

HDHOMERUN_TLS_PROFILE_REF

—

MCP_TOOL_MODE

condensed

HTTPTOOL

True

DISCOVERYTOOL

True

DVRTOOL

True

CONFIGTOOL

True

DOCTORTOOL

True

Inherited scion-sdk variables (apply to every connector)

Variable

Example

Description

MCP_ENABLED_TOOLS

—

Comma-separated tool allow-list

MCP_DISABLED_TOOLS

—

Comma-separated tool deny-list

MCP_ENABLED_TAGS

—

Comma-separated tag allow-list

MCP_DISABLED_TAGS

—

Comma-separated tag deny-list

MCP_CLIENT_AUTH

—

Outbound MCP child auth: oidc-client-credentials | basic | none

OIDC_CLIENT_ID

—

OIDC client id (service-account auth)

OIDC_CLIENT_SECRET_REF

secret://identity/oidc-client-secret

Runtime secret reference for the OIDC service account

MCP_BASIC_AUTH_USERNAME

—

HTTP Basic username (MCP_CLIENT_AUTH=basic)

MCP_BASIC_AUTH_PASSWORD_REF

secret://identity/mcp-basic-password

Runtime secret reference for HTTP Basic auth (MCP_CLIENT_AUTH=basic)

DEBUG

False

Verbose logging

PYTHONUNBUFFERED

1

Unbuffered stdout (recommended in containers)

MCP_URL

http://localhost:8000/mcp

URL of the MCP server the agent connects to

PROVIDER

—

Operator-configured LLM provider for the agent

MODEL_ID

—

Operator-configured model id for the agent

ENABLE_WEB_UI

True

Serve the AG-UI web interface

19 package + 15 inherited variable(s). Auto-generated from .env.example + the shared scion-sdk set — do not edit.

  • HDHOMERUN_URL: The HDHomeRun device base URL (e.g. https://hdhomerun-device.example.invalid).

  • HDHOMERUN_DEVICE_AUTH: The device's DeviceAuth token (only needed for SiliconDust cloud DVR calls; rotates on reboot/firmware update — do not hardcode).

MCP Configuration Examples

Install the connector-focused [mcp] extra. Examples use hdhomerun-mcp[mcp] to add FastMCP / FastAPI through scion-sdk; the required Scion SDK core still carries medulla[full]. The [agent-runtime] extra additionally enables model orchestration.

stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "hdhomerun-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "hdhomerun-mcp[mcp]",
        "hdhomerun-mcp"
      ],
      "env": {
        "MCP_TOOL_MODE": "intent",
        "CONFIGTOOL": "True",
        "DISCOVERYTOOL": "True",
        "DOCTORTOOL": "True",
        "DVRTOOL": "True",
        "HDHOMERUN_DEVICE_AUTH": "your_device_auth_here",
        "HDHOMERUN_URL": "http://hdhomerun.local",
        "HTTPTOOL": "True"
      }
    }
  }
}

Runtime references require an alias-aware launcher such as Arbora. Other launchers must omit those entries and inject the resolved values through their own runtime secret boundary.

Streamable-HTTP Transport (networked / production)

{
  "mcpServers": {
    "hdhomerun-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "hdhomerun-mcp[mcp]",
        "hdhomerun-mcp",
        "--transport",
        "streamable-http",
        "--port",
        "8000"
      ],
      "env": {
        "TRANSPORT": "streamable-http",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "MCP_TOOL_MODE": "intent",
        "CONFIGTOOL": "True",
        "DISCOVERYTOOL": "True",
        "DOCTORTOOL": "True",
        "DVRTOOL": "True",
        "HDHOMERUN_DEVICE_AUTH": "your_device_auth_here",
        "HDHOMERUN_URL": "http://hdhomerun.local",
        "HTTPTOOL": "True"
      }
    }
  }
}

Alternatively, connect to a pre-deployed Streamable-HTTP instance by url:

{
  "mcpServers": {
    "hdhomerun-mcp": {
      "url": "http://localhost:8000/hdhomerun-mcp/mcp"
    }
  }
}

Run a reviewed container image as a least-privilege stdio child (no listener or published port):

docker run -i --rm \
  --read-only \
  --cap-drop=ALL \
  --security-opt=no-new-privileges \
  --pids-limit=256 \
  --tmpfs /tmp:rw,noexec,nosuid,nodev,size=64m \
  -e TRANSPORT=stdio \
  -e MCP_TOOL_MODE=intent \
  -e CONFIGTOOL=True \
  -e DISCOVERYTOOL=True \
  -e DOCTORTOOL=True \
  -e DVRTOOL=True \
  -e HDHOMERUN_DEVICE_AUTH=your_device_auth_here \
  -e HDHOMERUN_URL=http://hdhomerun.local \
  -e HTTPTOOL=True \
  registry.example.invalid/hdhomerun-mcp@sha256:<digest> hdhomerun-mcp

For containerized network HTTP, supply an authenticated TLS ingress (or direct server TLS), exact MCP_ALLOWED_HOSTS, and an exact trusted-proxy CIDR policy through the operator-owned deployment profile. The generator does not emit an unauthenticated non-loopback listener.

Auto-generated from the code-read env surface (MCP_TOOL_MODE + package vars) — do not edit.

Additional Deployment Options

hdhomerun-mcp can also run as a local container (Docker / Podman / uv) or be consumed from a remote deployment. The Deployment guide has full, copy-paste mcp_config.json for all four transports — stdio, streamable-http, local container / uv, and remote URL:

  • Local container / uv — launch the server from mcp_config.json via uvx, docker run, or podman run, or point at a local streamable-http container by url.

  • Remote URL — connect to a server deployed behind Caddy at https://hdhomerun-mcp.example.invalid/mcp using the "url" key.

Container images (:mcp)

One multi-stage docker/Dockerfile builds the MCP-only image (--target mcp):

Image tag

Build target

Contents

Entrypoint

knucklessg1/hdhomerun-mcp:mcp

--target mcp

hdhomerun-mcp[mcp] — slim, no engine/pydantic-ai/dspy/llama-index

hdhomerun-mcp

docker build --target mcp   -t knucklessg1/hdhomerun-mcp:mcp    docker/   # slim MCP server

Knowledge-graph database (medulla)

scion-sdk). For production — or to share one knowledge graph across multiple agents — run medulla as its own database container and point the agent at it. Deployment recipes (single-node + Raft HA), connection config, and the full database architecture (with diagrams) are in the medulla deployment guide. The slim [mcp] server does not require the database.

Documentation

Full documentation is published to the GitHub Pages site and mirrored under docs/:

Governed capability contract

This package ships a compact canonical skill surface with specialist procedures kept as referenced workflows. The current MCP tools, skill metadata, connector_manifest.yml, ontology, mappings, shapes, fixtures, migrations, tool-schema fingerprints, and certification metadata form one versioned capability contract. Validate them together; do not rely on stale tool names or historical per-task skill wrappers.

Runtime endpoints, credentials, certificate trust, tenant identity, retention, and observability policy are deployment inputs and are never packaged values. See Configuration, trust, and privacy before enabling a network transport, connector ingestion, Arbora delegation, or trace export.

Available Tools

61 tools
hdhomerun_abort_scanAbort scanA

POST /lineup.post?scan=abort — cancel an in-progress channel scan.

Inputs: no named parameters.

hdhomerun_add_datetime_ruleAdd datetime ruleB

Add a DateTimeOnly-ChannelOnly rule (record one specific airing).

Inputs: series_id (required), channel_only (required), date_time_only (required), device_auth, +2 more.

hdhomerun_add_series_ruleAdd series ruleC

Add a Series (or Movie) recording rule for a SeriesID.

Inputs: series_id (required), team_only, device_auth, end_padding, +4 more.

hdhomerun_build_live_tv_urlBuild live tv urlB

Build a record-engine buffered Live TV URL.

ClientID must be stable per app instance/picture-in-picture pane; SessionID must be unique per new channel request (reused only when seeking within the same session) — see the live_tv doc page.

Inputs: channel (required), client_id (required), session_id (required), storage_engine_base_url (required).

hdhomerun_build_stream_urlBuild stream urlB

Build a live-stream URL: /{auto|tuner}/{v|ch[-]}.

Args: channel: virtual channel number (e.g. "24.1") or RF frequency in Hz when by_frequency is True. tuner: tuner index (0-3) to force a specific tuner, or None for /auto/ (first available tuner). by_frequency: use ch<frequency> addressing instead of v<channel>. program: sub-channel program number (only with by_frequency). duration: optional stream duration limit in seconds. transcode: optional EXTEND-model transcode profile.

Inputs: channel (required), tuner, program, duration, +2 more.

hdhomerun_change_ruleChange ruleC

Modify a rule, or reprioritize it via after_recording_rule_id.

Inputs: series_id, team_only, device_auth, end_padding, +7 more.

hdhomerun_check_device_authCheck device authD

Invoke the check_device_auth operation.

Inputs: info, validate_cloud. Returns: object

hdhomerun_check_device_reachableCheck device reachableD

Invoke the check_device_reachable operation.

Inputs: no named parameters. Returns: object

hdhomerun_check_discovery_cache_freshnessCheck discovery cache freshnessC

Invoke the check_discovery_cache_freshness operation.

Inputs: no named parameters. Returns: object

hdhomerun_check_firmware_modelCheck firmware modelD

Invoke the check_firmware_model operation.

Inputs: info. Returns: object

hdhomerun_check_signal_strengthCheck signal strengthC
Read-onlyIdempotent

Briefly tune each channel and sample ss/snq/seq, then release the tuner.

Inputs: channels (required), tuner. Returns: object

hdhomerun_check_tuner_count_vs_jellyfinCheck tuner count vs jellyfinD
Read-onlyIdempotent

Invoke the check_tuner_count_vs_jellyfin operation.

Inputs: jellyfin_url (required), jellyfin_api_key (required), info, device_id. Returns: object

hdhomerun_delete_recordingDelete recordingA
Destructive

POST cmd=delete[&rerecord=1].

Must be POST (HTTP GET is rejected with 400). Set rerecord=True to tell the DVR to record the episode again on a future airing.

Inputs: cmd_url (required), confirm, rerecord.

hdhomerun_delete_ruleDelete ruleA
Destructive

Delete a Series/Movie rule (by RecordingRuleID or SeriesID) or a DateTimeOnly-ChannelOnly rule (RecordingRuleID, or SeriesID+DateTimeOnly+ChannelOnly).

Inputs: confirm, series_id, device_auth, channel_only, +2 more.

hdhomerun_disable_lineup_locationDisable lineup locationA

Disable the lineup-server connection (/lineup/location disabled).

Inputs: no named parameters.

hdhomerun_discover_cloudDiscover cloudA
Read-onlyIdempotent

GET http://ipv4-api.hdhomerun.com/discover[?DeviceID=].

SiliconDust's cloud discovery endpoint — resolves a device's current LAN IP by its DeviceID even when local broadcast can't reach it (e.g. client on a different VLAN). Returns [{"DeviceID","LocalIP","BaseURL","DiscoverURL","LineupURL"}].

Inputs: device_id. Returns: result

hdhomerun_discover_local_broadcastDiscover local broadcastA

Broadcast a DISCOVER_REQ on UDP port 65001 and collect DISCOVER_RPY replies.

May legitimately return an empty list — broadcast discovery does not cross VLAN/subnet boundaries on most networks. Use discover_cloud() or a known IP + get_discover() as a fallback.

Inputs: timeout, device_id. Returns: result

hdhomerun_discover_local_targetedDiscover local targetedB

Send a DISCOVER_REQ directly to a known IP (works across VLANs).

Inputs: ip (required), timeout, device_id.

hdhomerun_get_channelGet channelB
Read-onlyIdempotent

/tuner<n>/channel — current <modulation>:<frequency> or none.

Inputs: tuner (required).

hdhomerun_get_channelmapGet channelmapC
Read-onlyIdempotent

/tuner<n>/channelmap — the configured channel-to-frequency map.

Inputs: tuner (required).

hdhomerun_get_discoverGet discoverC
Read-onlyIdempotent

GET /discover.json — FriendlyName/ModelNumber/FirmwareVersion/DeviceID/ DeviceAuth/BaseURL/LineupURL/TunerCount.

Inputs: no named parameters. Returns: object

hdhomerun_get_filterGet filterC
Read-onlyIdempotent

/tuner<n>/filter — the current PID filter (default 0x0000-0x1FFF).

Inputs: tuner (required).

hdhomerun_get_helpGet helpA
Read-onlyIdempotent

get help — the list of get/set item paths this device supports.

Inputs: no named parameters.

hdhomerun_get_ir_targetGet ir targetB
Read-onlyIdempotent

/ir/target — the configured IR-blaster target IP:port.

Inputs: no named parameters.

hdhomerun_get_itemGet itemC
Read-onlyIdempotent

hdhomerun_config <id> get <item> — raw get of any supported item path.

Inputs: name (required).

hdhomerun_get_lineupGet lineupB
Read-onlyIdempotent

GET /lineup.{json,xml,m3u} — the channel list.

JSON entries: GuideNumber, GuideName, VideoCodec, AudioCodec, HD, Favorite, DRM, URL (per the http_api doc + observed live fields).

Inputs: fmt.

hdhomerun_get_lineup_statusGet lineup statusB
Read-onlyIdempotent

GET /lineup_status.json — scan state.

Idle: {ScanInProgress, ScanPossible, Source, SourceList}. Scanning: {ScanInProgress:1, Progress, Found}.

Inputs: no named parameters. Returns: object

hdhomerun_get_lockkeyGet lockkeyB
Read-onlyIdempotent

/tuner<n>/lockkey — current tuner lock owner (none if unlocked).

Inputs: tuner (required).

hdhomerun_get_programGet programC
Read-onlyIdempotent

/tuner<n>/program — the current MPEG program (sub-channel) filter.

Inputs: tuner (required).

hdhomerun_get_recorded_filesGet recorded filesA
Read-onlyIdempotent

GET (recorded_files.json) — the list of recordings available for playback, each including its own CmdURL/PlayURL.

Inputs: storage_url (required).

hdhomerun_get_record_engine_statusGet record engine statusB
Read-onlyIdempotent

GET /discover.json — FriendlyName/Version/ BaseURL/StorageURL/FreeSpace of the local record engine.

Inputs: storage_engine_base_url (required).

hdhomerun_get_sys_debugGet sys debugC
Read-onlyIdempotent

/sys/debug — device-wide debug info.

Inputs: no named parameters.

hdhomerun_get_sys_featuresGet sys featuresB
Read-onlyIdempotent

/sys/features — supported channelmaps/modulations for this device.

Inputs: no named parameters.

hdhomerun_get_sys_modelGet sys modelC
Read-onlyIdempotent

/sys/model — the device model name.

Inputs: no named parameters.

hdhomerun_get_sys_versionGet sys versionB
Read-onlyIdempotent

/sys/version — the firmware version string.

Inputs: no named parameters.

hdhomerun_get_targetGet targetC
Read-onlyIdempotent

/tuner<n>/target — the current UDP/RTP streaming target.

Inputs: tuner (required).

hdhomerun_get_tuner_debugGet tuner debugB
Read-onlyIdempotent

/tuner<n>/debug — extended tun/dev/ts/flt/net diagnostic counters.

Inputs: tuner (required).

hdhomerun_get_tuner_statusGet tuner statusC
Read-onlyIdempotent

/tuner<n>/status — ch=... lock=... ss=... snq=... seq=... bps=... pps=....

Inputs: tuner (required).

hdhomerun_get_tuner_streaminfoGet tuner streaminfoC
Read-onlyIdempotent

/tuner<n>/streaminfo — detected programs: <num>: <major>.<minor> [name].

Inputs: tuner (required).

hdhomerun_get_tuner_vstatusGet tuner vstatusB
Read-onlyIdempotent

/tuner<n>/vstatus — virtual-channel auth/CCI/CGMS status (model/firmware dependent; some devices report "unknown getset variable").

Inputs: tuner (required).

hdhomerun_ingest_deviceHdhomerun Ingest DeviceC

Push the tuner device description into the knowledge graph.

Inputs: no named parameters. Returns: object

hdhomerun_ingest_lineupHdhomerun Ingest LineupB

Push the channel lineup of the tuner device into the knowledge graph.

Inputs: no named parameters. Returns: object

hdhomerun_ingest_recording_rulesHdhomerun Ingest Recording RulesB

Fetch the cloud DVR recording rules and push them into the knowledge graph.

Inputs: device_auth. Returns: object

hdhomerun_list_recording_rulesList recording rulesB
Read-onlyIdempotent

List all recording rules for the household's DeviceAuth(s).

Inputs: device_auth.

hdhomerun_parse_tuner_statusParse tuner statusB

Parse a ch=... lock=... ss=... snq=... seq=... bps=... pps=... status line.

Inputs: status_line (required). Returns: object

hdhomerun_poke_record_enginePoke record engineA

POST /recording_events.post?sync.

Tells the record engine to recompute upcoming record tasks — call after adding/changing/deleting a recording rule.

Inputs: storage_engine_base_url (required).

hdhomerun_read_discovery_cacheHdhomerun Read Discovery CacheB

Read the on-disk cache of the last device discovery.

CONCEPT:HDHR-discovery.network.device-location

Inputs: no named parameters. Returns: object

hdhomerun_restart_deviceRestart deviceB

/sys/restart self — reboot the HDHomeRun. Destructive; use with care.

Inputs: no named parameters.

hdhomerun_run_doctorRun doctorC

Run every check and return the aggregate report.

Inputs: jellyfin_url, signal_channels, jellyfin_api_key, validate_device_auth_cloud. Returns: object

hdhomerun_set_channelSet channelC

/tuner<n>/channel set — e.g. auto:651000000 or auto:60; none to stop.

Inputs: tuner (required), modulation (required), freq_or_channel (required).

hdhomerun_set_channelmapSet channelmapC

/tuner<n>/channelmap set — e.g. us-bcast/us-cable/us-hrc/us-irc.

Inputs: tuner (required), channelmap (required).

hdhomerun_set_filterSet filterC

/tuner<n>/filter set — e.g. 0x0000-0x1FFF or a space-separated PID list.

Inputs: tuner (required), pid_filter (required).

hdhomerun_set_ir_targetSet ir targetC

/ir/target set — <ip>:<port>.

Inputs: target (required).

hdhomerun_set_itemSet itemC

hdhomerun_config <id> set <item> <value> — raw set (implicit get-back).

Inputs: name (required), value (required), lockkey.

hdhomerun_set_lineup_locationSet lineup locationC

/lineup/location set — <countrycode>:<postcode> (or set to "disabled").

Inputs: postal_code (required), country_code (required).

hdhomerun_set_lockkeySet lockkeyA

/tuner<n>/lockkey lock or release a tuner.

The device lock is taken by setting the item to the caller's own 32-bit key (a random key is generated when none is given and returned as the result, so the caller can release it). Releasing sets the item to none while presenting the same key.

Inputs: lock (required), tuner (required), lockkey.

hdhomerun_set_programSet programC

/tuner<n>/program set — filter to a single program (sub-channel) number.

Inputs: tuner (required), program_number (required).

hdhomerun_set_targetSet targetC

/tuner<n>/target set — e.g. udp://192.168.1.100:5000 or rtp://....

Inputs: tuner (required), target (required).

hdhomerun_start_scanStart scanC

POST /lineup.post?scan=start[&source=] — begin a channel scan.

Inputs: source.

hdhomerun_stop_tunerStop tunerA

Set /tuner<n>/channel none — release the tuner.

Inputs: tuner (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.5/5.0

    Scored across 61 tools

    Disambiguation3/5

    Many tools overlap in function: specific getters/setters (e.g., get_sys_model, get_tuner_status, set_channel) duplicate what get_item/set_item can do with an item path, creating redundant paths to the same data. The many fine-grained diagnostic and check_* tools are individually named but the set as a whole has fuzzy boundaries between raw and convenience APIs. Descriptions help, but the overlap remains.

    Naming Consistency4/5

    All tool names use the hdhomerun_ prefix and snake_case verb_noun pattern (get_, set_, add_, delete_, check_, discover_, build_). Minor inconsistencies like read_ vs get_ and unusual verbs (poke_, run_) are readable and mostly predictable.

    Tool Count1/5

    61 tools is far above the recommended 3-15 range and exceeds the 50+ threshold for extreme mismatch. Many individual getters (sys_model, sys_version, sys_copyright, sys_debug) could be consolidated into one sys-info tool, indicating over-granularity.

    Completeness4/5

    The surface covers device discovery, tuner control, channel scanning, lineup handling, recording rules, DVR recordings, diagnostics, and stream URL construction, plus a raw get/set escape hatch for any remaining item. Only minor gaps might exist in higher-level automation, but agents can work around them with get_item/set_item.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers