Logo Knx Ets MCP

Knx Ets MCP

Cộng đồng
knx-ai

MCP Server for KNX ETS 5/6 via ETS Addin

Nhà phát hànhknx-ai
Kho mãknx-ets-mcp
Ngôn ngữC#
Bản fork
3
Sao
45
Công cụ có sẵn
0
Phương thức truyền tảistdio
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Knx Ets MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    45 sao và 3 bản fork từ kho mã được liên kết.

knx-ets-mcp

Control KNX ETS 5/6 from an AI coding assistant. knx-ets-mcp connects MCP-capable assistants — Claude Code, Codex, and the like — to your open ETS project so they can help you create a new project, maintain an existing one, or tidy one up: inspect it, build and edit it (devices, group addresses, links, parameters), browse and update the product catalog, and program devices — all through ETS's own engine.

Not an official KNX product. "KNX" and "ETS" are trademarks of the KNX Association. This is an independent, experimental community tool. Use at your own risk; do not point it at a production installation you cannot afford to disturb.

What it does

It has two parts that work together:

  1. An ETS 5/6 AddIn that runs inside ETS on Windows and exposes a safe, fixed set of operations on your project — reachable over a local named pipe (same machine) or an optional TCP endpoint (so the MCP server can run on a different machine).
  2. An MCP server that your AI assistant connects to; it forwards the assistant's requests to the AddIn over that named pipe (same machine) or TCP (across your LAN).

Your assistant then has tools to:

  • Inspect — devices (with order numbers), group addresses, communication objects (with their function/channel block), topology, building view, catalog, parameters (with labels, units, allowed options, value ranges, and their UI block so the right parameter can be targeted reliably on complex devices), channels/modules, trades, tags, to-dos, project history, and KNX Secure certificates.
  • Build — create group addresses, add devices from the catalog, link communication objects to group addresses, set parameters (and reset to defaults).
  • Edit — delete/rename group addresses, set descriptions and datapoint types, create and delete group ranges, delete/rename devices, change a device's individual address, create/delete areas/lines/segments, set communication-object flags (C/R/W/T/U + priority), move GAs/group ranges/lines/building parts between parents.
  • Building view — create buildings/floors/rooms/cabinets, assign devices to them, and create building functions linked to group addresses.
  • Trades / organization — create/delete trades, assign devices; manage tags, to-do items, and project history entries.
  • Bus interface — link/unlink group addresses on couplers (filter table).
  • Additional addresses — add/remove additional individual addresses on devices and additional/sending group addresses on lines.
  • Catalog — search the online catalog, browse a manufacturer's products, read product details, pull in online products, or import a manufacturer .knxprod file.
  • KNX Secure — list, add, and delete device certificates.
  • Project — export (.knxproj), undo/redo, navigate to any object in the ETS UI.
  • Bus / online (KNXnet/IP): ping, scan a line for devices, read a device's mask version, read/write group values, monitor group telegrams, reconstruct a line's device inventory, program individual addresses onto the bus, and reset devices.
  • Recover from the bus — scan a line, read each device's group-object associations (device.readGroupObjects), and observe traffic to reverse-engineer an existing installation. The MCP pulls raw data; the LLM composes the project from it. See docs/protocol.md.
  • Program devices — download a device's configuration (individual address, group address table, parameters, application) over KNXnet/IP using ETS's own load engine. Reversible: re-program with a corrected configuration.
  • Update firmware — flash device firmware (IoT devices only). Potentially irreversible, so it is gated behind an explicit preference (off by default).

Every project change is a normal ETS undo step. Built-in safety: retry-safe mutations (no accidental duplicates via idempotency keys), an optional guard against changes you made in ETS at the same time (expected project revision), and a preference gate for firmware.

Requirements

  • ETS 5 or ETS 6 (edition Lite or higher -- the free Demo cannot load AddIns). The release ships builds for both ETS 6 and ETS 5; install.bat picks the right one per installed ETS version. Because this is a sideloaded (non-validated) AddIn, ETS runs it only with a (free) ETS App developer/test license (bound to a KNX organization account) or with the ETS license check disabled; ETS itself must be licensed (Lite or higher).
  • Windows to run ETS: normal x64 Windows, or Windows 11 ARM in a VM on an Apple Silicon Mac (Parallels Desktop, or the free UTM).
  • A bus interface configured in ETS for bus operations (KNXnet/IP or USB).
  • An MCP-capable AI client (e.g. Claude Desktop or Claude Code).
  • To run the MCP server (recommended: on the ETS machine): nothing extra — the bundled knx-ets-mcp.exe ships its own Python and can serve your LAN over HTTP. Your other machines then need only an MCP client; they connect to a URL, no Python required.
  • Only if you run the server on a different machine than ETS (option C below): Python 3.11+ there, ideally with uv.

Setup (step by step)

You do not need to build anything — download the release artifacts.

1. Download the latest release

From the GitHub Releases page, download the single bundle knx-ets-mcp-<version>.zip. It contains everything:

  • the ETS AddIn (for ETS 5 and ETS 6) + the installer, and
  • the MCP server as a standalone Windows .exe (bundles Python).

Extract the whole zip first (right-click the zip → Extract All). Inside you get:

  • install.bat — installs the ETS AddIn.
  • Start-MCP-Server.exe — the MCP server (double-click to run).

(A Python wheel is also included under mcp-server-python/, and attached to the release separately, for those who prefer to run the server with their own Python — e.g. on macOS.)

Do not run install.bat from inside the zip. Windows' built-in zip viewer extracts only the single file you click to a temp folder, so the installer can't find the AddIn payload next to it (it will tell you to extract first). Extract the whole zip, then run install.bat from the extracted folder. (WinZip users get a shortcut: its "Unzip and Install" recognizes the install program and extracts everything automatically.)

2. Install the ETS AddIn (on Windows)

  1. Close ETS.
  2. Right-click knx-ets-mcp-<version>.zip → Extract All (do not run from inside the zip).
  3. Double-click install.bat inside the extracted folder. It copies the AddIn — including its ETS directory signature (<AppId>.signature, so ETS treats the folder as signed) — into the correct (hidden) location for each installed ETS version (C:\ProgramData\KNX\ETS<n>\Apps\AddIns\<AppId>\) and clears the AddIn cache, then prints how to start the MCP server (next step). If Windows reports an access error, right-click it and choose Run as administrator.
  4. Start ETS.

To remove it later, run uninstall.bat from the same folder.

3. Open your project

Open the ETS project you want to work on. The AddIn shows a status panel and, once active, is ready to accept requests. Keep ETS and the project open while you work. Nothing else to configure here for the recommended setup — the separate ETS TCP endpoint is only for the off-box variant (option C below).

4. Run the MCP server

The server has two independent transports: the client-facing side (how your AI client reaches the server — stdio, or Streamable HTTP over the network) and the AddIn-facing side (how the server reaches ETS — the local named pipe, or the ETS TCP endpoint). Pick the option that matches where things run.

A. Recommended: server on the ETS machine, reachable over your network

On the ETS machine, just double-click Start-MCP-Server.exe from the extracted folder. By default it serves Streamable HTTP on 0.0.0.0:8765/mcp (reachable on your LAN) and talks to the AddIn over the local named pipe — no ETS TCP endpoint, no env vars to set. (The examples below call it by its internal name knx-ets-mcp.exe; for advanced options run it from a terminal.)

bat
:: Windows, on the ETS machine
knx-ets-mcp.exe
:: -> [knx-ets-mcp] Streamable HTTP on http://0.0.0.0:8765/mcp (auth: OFF)

Change the bind with MCP_HOST / MCP_PORT / MCP_PATH if needed; KNX_BRIDGE_TRANSPORT defaults to the local pipe, so you don't set it.

Protect it with a token (recommended on a shared LAN). Set MCP_AUTH_TOKEN; the endpoint then requires Authorization: Bearer <token>:

bat
set "MCP_AUTH_TOKEN=choose-a-long-random-secret"
knx-ets-mcp.exe
:: -> [knx-ets-mcp] Streamable HTTP on http://0.0.0.0:8765/mcp (auth: on)

Then, from your Mac (or any LAN machine), point Claude Code at the server's URL (use the Windows machine's IP):

bash
claude mcp add --scope user --transport http knx-ets http://<windows-ip>:8765/mcp
# if you set a token, add the header:
claude mcp add --scope user --transport http knx-ets http://<windows-ip>:8765/mcp \
  --header "Authorization: Bearer choose-a-long-random-secret"

…or a portable project .mcp.json (this repo ships the no-token form — change the host to your Windows IP; add the headers block if you set a token):

json
{
  "mcpServers": {
    "knx-ets": {
      "type": "http",
      "url": "http://<windows-ip>:8765/mcp",
      "headers": { "Authorization": "Bearer choose-a-long-random-secret" }
    }
  }
}

Security: without MCP_AUTH_TOKEN the endpoint has no authentication, and there is no TLS either way — anyone who can reach the port can control ETS. Use a token, and keep it on a trusted LAN.

B. Everything on one machine (local only)

If the AI client runs on the same Windows machine as ETS and you'd rather have the client launch the server, use stdio. The exe defaults to HTTP, so tell it to speak stdio with MCP_TRANSPORT=stdio:

json
{
  "mcpServers": {
    "knx-ets": {
      "command": "C:\\Tools\\knx-ets-mcp.exe",
      "env": { "MCP_TRANSPORT": "stdio" }
    }
  }
}
bash
claude mcp add --scope user --transport stdio knx-ets \
  -e MCP_TRANSPORT=stdio -- "C:\Tools\knx-ets-mcp.exe"

C. Server on a different machine than ETS (server → ETS over TCP)

To run the MCP server on another machine (e.g. on the Mac, ETS in a VM), the server reaches ETS over the ETS TCP endpoint instead of the pipe. Enable it in the AddIn's Configuration / Preferences: Enable TCP endpoint, Port (default 8730), Allow LAN; the panel shows the endpoint and a token (leave it empty to disable auth — trusted LAN only). Then run the server from this repo pointing at it (if you don't have the repo on that machine, install the release wheel once with uv tool install ./knx_ets_mcp-<version>-py3-none-any.whl and run knx-ets-mcp instead):

bash
MCP_TRANSPORT=http \
KNX_BRIDGE_TRANSPORT=tcp \
KNX_BRIDGE_HOST=<ets-ip> \
KNX_BRIDGE_PORT=8730 \
KNX_BRIDGE_TOKEN=<token-or-unset> \
uv run --directory /path/to/knx_addin/mcp-server knx-ets-mcp

Leave KNX_BRIDGE_TOKEN empty/unset if you disabled auth in the AddIn; set it to the panel's token when auth is on. Neither the ETS TCP link nor the HTTP endpoint is encrypted — trusted LAN only.

Restart (or reconnect) the AI client so it picks up the server.

5. Work with your assistant

To confirm that the AddIn is running and which version is loaded, call bridge.info -- it returns the AddIn build version, the ETS SDK version, and the current project name/ID/revision. Your assistant can do this automatically.

Ask the assistant to inspect and build your installation, for example:

  • "List the devices and group addresses in this project."
  • "Create group address 1/1/5 named 'Kitchen light' and link it to the switch actuator's channel A."
  • "Add an MDT switch actuator from the catalog to line 1.1, then create a room 'Kitchen' and assign it."

6. Programming and firmware

Programming a device (downloading its configuration — individual address, group address table, parameters, application) runs automatically and needs no approval. It is reversible: if something is wrong, program again with a corrected configuration. It uses KNXnet/IP. You can request a partial download via options.

Firmware updates are different — they flash the device and can be irreversible, and in ETS apply to IoT devices only. They are gated by a preference:

  • By default, a firmware request returns approval_required.
  • To allow it, enable Unattended firmware update in the AddIn's Configuration / Preferences — a standing authorization you set once by hand. Only enable it if you accept that firmware may be flashed without a further prompt.

Status

Early / experimental. Essentially the full practical ETS 5/6 SDK surface is exposed -- inspect, build, edit (delete/rename/topology/flags/moves), building view, trades, tags, to-dos, project history, certificates, bus interface, segments, additional addresses, catalog, project (export/undo-redo/navigate), programming, firmware, and bus operations including project recovery. All covered by an automated test suite against an in-memory mock. Final verification of bus operations against live ETS + hardware is ongoing. A few project operations are intentionally not supported (open/list/create a project, import .knxproj, device.move preserving config) because the SDK has no API for them. Expect rough edges.

For developers

Building the AddIn yourself (ETS6 and ETS5 targets, providing the SDK DLLs, packaging) is documented in BUILD.md. The architecture, SDK details, and the AddIn↔MCP protocol are in CLAUDE.md, docs/protocol.md, and addin/README.md.

Dùng MCP Knx Ets MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Knx Ets MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Knx Ets MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Knx Ets MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "knx-ets-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Knx Ets MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Knx Ets MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Knx Ets MCP giúp tôi làm việc này không?
Knx Ets MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Knx Ets MCP.

Câu hỏi thường gặp

Máy chủ MCP Knx Ets MCP dùng để làm gì?

Knx Ets MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Knx Ets MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Knx Ets MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Knx Ets MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Knx Ets MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Knx Ets MCP với TypingMind?

Knx Ets MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Knx Ets MCP cung cấp những công cụ nào trong TypingMind?

Knx Ets MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Knx Ets MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Knx Ets MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇