- Always bump the npm version (
npm version patch) andnpm publishafter any change that gets pushed to main -- code, docs, config, anything. - Commit the version bump and push it as part of the same push.
npm run buildmust pass clean (zero tsc errors) before committing.node --test tests/behavior.test.mjsmust pass 4/4 before pushing.- Tests use the compiled
dist/index.js-- always build before testing.
- Bambu-only fork of mcp-3D-printer-server. No OctoPrint/Klipper/Duet/Repetier/Prusa/Creality.
- Transports: stdio (default) and streamable-http.
- Printer communication: MQTT (port 8883) for commands/status, FTPS (port 990) for file ops.
- Uses
basic-ftpdirectly (not bambu-js) for uploads to avoid double-path bug. - Uses
bambu-nodedirectly for MQTT project_file command (not bambu-js) for correct AMS mapping.
BAMBU_MODELis required for any print operation. The server uses MCP elicitation to ask if missing.- Never skip model validation -- wrong model = wrong G-code = potential hardware damage.