SuperAPI AI Directory

nickol-knx-mcp

Design-time KNX/ETS6 assistant: read-only .knxproj parsing, DPT, naming and command/status validation, and Home Assistant YAML and ETS exports.

Open website

About this tool

Purpose: This is a design-time KNX/ETS6 assistant, provided as an MCP server, used to inspect, repair, and complete ETS projects without touching the live KNX bus, and to generate smart home layer configurations.

Main capabilities:

  1. Design projects from specifications: convert device lists/project specifications into a validated group address structure, and output ETS-importable XML/CSV, Markdown reports, Home Assistant YAML, acceptance test protocols, and as-built handover packages.
  2. Audit and repair existing projects: parse password-protected ETS5/ETS6 .knxproj, validate naming, DPT and sub-DPTs, command↔status pairing, KNX Secure status, Matter readiness, provide concrete repair suggestions (infer DPTs, synthesize missing status GAs), and perform a semantic diff between two project versions.
  3. Generate the Home Assistant layer: assemble entities such as lights, blinds, climate, sensors, etc., using real status addresses where possible; ambiguous content goes into a manual review list rather than being guessed.
  4. Room template composition for new projects: select basic/comfort presets from built-in parameterized room templates (bedroom, children's room, living room, kitchen, bathroom, hallway), generate allocation lists, ETS GA XML/CSV, and device BOM suggestions, defaulting to dry-run, limited to new projects.

How to use: Requires Python 3.10+, dependencies mcp>=1.10, xknxproject>=3.8, PyYAML>=6.0. The typical workflow is to point load_project at a .knxproj (optionally with a password), run analyze_all or project_report to view results, make corrections in ETS after manual review, then use generate_ets_group_addresses(fmt="xml") to import missing GAs, and finally generate_ha_package to generate YAML. All writes are restricted to the workspace directory (NICKOL_KNX_WORKSPACE, default ./knx-workspace).

Limitations: This server is by design unable to connect to the bus, only reads .knxproj and writes to the restricted workspace; it is not responsible for linking GAs with communication objects within ETS; actual control of field devices must be done through the official Home Assistant integration complete. This is currently a public beta; some features (such as Logic Machine support, room templates R2) are still planned or under research.