mirror of
https://github.com/NickoScope/nickol-knx-mcp.git
synced 2026-09-29 19:31:12 +02:00
Design-time MCP server that reads .knxproj (read-only), validates naming/DPT/status, and generates Home Assistant KNX YAML + ETS-importable group addresses (XML/CSV). No live bus access — confined-workspace writes only. Includes: 12 MCP tools, end-to-end smoke test, MIT license, English-first README (+ Russian), CONTRIBUTING with a real-project test call, SECURITY policy, CHANGELOG, GitHub Actions CI (Python 3.10–3.12), and issue/PR templates. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
1.2 KiB
JSON
26 lines
1.2 KiB
JSON
{
|
|
"_comment": "Full KNX toolchain. Layer 1 (live HA) is optional and only needed once the house is running. Layers 2-4 are the design-time core. macOS path for Claude Desktop config: ~/Library/Application Support/Claude/claude_desktop_config.json. For Claude Code, put the mcpServers block in .mcp.json at your project root.",
|
|
"mcpServers": {
|
|
"nickol-knx": {
|
|
"command": "uv",
|
|
"args": ["--directory", "/ABSOLUTE/PATH/TO/nickol-knx-mcp", "run", "nickol-knx-mcp"],
|
|
"env": {
|
|
"NICKOL_KNX_WORKSPACE": "/ABSOLUTE/PATH/TO/your-knx-repo"
|
|
}
|
|
},
|
|
"filesystem": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/ABSOLUTE/PATH/TO/your-knx-repo"]
|
|
},
|
|
"git": {
|
|
"command": "uvx",
|
|
"args": ["mcp-server-git", "--repository", "/ABSOLUTE/PATH/TO/your-knx-repo"]
|
|
},
|
|
"home-assistant": {
|
|
"_comment": "Optional live layer. Official HA MCP Server add-on exposes an SSE endpoint; point an SSE-capable client at http://HA_HOST:8123/mcp_server/sse with a long-lived token. Replace below with your client's SSE config if it differs.",
|
|
"url": "http://HA_HOST:8123/mcp_server/sse",
|
|
"headers": { "Authorization": "Bearer YOUR_LONG_LIVED_TOKEN" }
|
|
}
|
|
}
|
|
}
|