From 481610c9fd2215698df797f202c660ed0b301451 Mon Sep 17 00:00:00 2001 From: MangaValk Date: Tue, 17 Nov 2026 14:42:28 +0100 Subject: [PATCH] Add nextion-hmi-tools submodule and nxhmi MCP server config The nxhmi MCP server (.mcp.json) edits and renders the remote's Nextion HMI; scripts/make_remote_hmi.py uses its Python package from the submodule. Co-Authored-By: Claude Opus 5.5 --- .gitmodules | 3 +++ .mcp.json | 9 +++++++++ 2026-current/tools/nextion-hmi-tools | 1 + 3 files changed, 13 insertions(+) create mode 100644 .gitmodules create mode 100644 .mcp.json create mode 160000 2026-current/tools/nextion-hmi-tools diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..bf83831 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "2026-current/tools/nextion-hmi-tools"] + path = 2026-current/tools/nextion-hmi-tools + url = https://mangavalk.com/mangavalk/openhmi-nx.git diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..85c5c44 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,9 @@ +{ + "mcpServers": { + "nxhmi": { + "command": "python", + "args": ["-m", "nxhmi.mcp_server"], + "env": {"PYTHONPATH": "2026-current/tools/nextion-hmi-tools/src"} + } + } +} diff --git a/2026-current/tools/nextion-hmi-tools b/2026-current/tools/nextion-hmi-tools new file mode 160000 index 0000000..7bb1026 --- /dev/null +++ b/2026-current/tools/nextion-hmi-tools @@ -0,0 +1 @@ +Subproject commit 7bb102676b4051f91162637070d5d7be799ff381