ai_assistants: the server, Python and the setup dialog ship with development builds (#1136-#1138 merged)

ispyisail
2026-09-30 10:28:11 +13:00
parent ce9a93e015
commit 403babb625
+14 -4
@@ -20,10 +20,20 @@ option, is on the [MCP server](mcp_server) page.
to PATH" in the installer. If typing `python` in a terminal opens the
Microsoft Store, Python is not installed: that is a shortcut Windows
ships in its place.
2. **The server itself**, one file:
[`qet_mcp.py`](https://raw.githubusercontent.com/qelectrotech/qelectrotech-source-mirror/master/misc/qet-mcp/qet_mcp.py).
Save it anywhere, for example next to your drawings. It is not in the
QElectroTech installers yet.
2. **The server itself**, one file, `qet_mcp.py`.
* **Development builds made after 29 September 2026 install it** with
QElectroTech: in `share/qelectrotech/mcp/` on Linux, and in the `mcp\`
folder of the installation on Windows (installer component "AI assistant
(MCP)", on by default). The Windows installer can also add Python for
it: tick "Python for the AI assistant" and step 1 is done
(`mcp\python\python.exe`).
* **With those builds, *Aide → Connecter un assistant IA…*** (*Help →
Connect an AI assistant*) writes the setup text below for you, with this
installation's paths filled in: choose the assistant and the folder,
then click Copy.
* **With an older version**, download the file:
[`qet_mcp.py`](https://raw.githubusercontent.com/qelectrotech/qelectrotech-source-mirror/master/misc/qet-mcp/qet_mcp.py),
and save it anywhere, for example next to your drawings.
3. **A folder for the drawings the assistant may use.** The server only
reads and writes inside it (`QET_MCP_WORKSPACE`). Pick a folder of
drawings, not your whole home folder.