FreeCAD CADPilot
Latest: v1.0.1
Add README and screenshots.
FreeCAD CADPilot
Use the installed CADPilot translator. Do not write an MCP server, reimplement CAD tools, or edit the FreeCAD addon.
Connect
-
Prove FreeCAD is listening before changing OpenClaw. Run Python
xmlrpc.client.ServerProxy("http://127.0.0.1:9875", allow_none=True).ping(). Done when the printed result isTrue. If it is not, stop and report that the RPC server is not running. Do not restart FreeCAD unless the user asks. -
Resolve
uvxon PATH. Done when the printed result is an executable path. If it is missing, stop and report thatuvmust be installed. Do not hardcode another machine's path. -
Confirm the saved server is local stdio. Run
openclaw mcp show cadpilot --json. Done whencommandis the resolveduvxpath,argsis["cadpilot"], and there is nourl. If the server is missing, register it withopenclaw mcp add cadpilot --command "<resolved-uvx>" --arg cadpilot --connect-timeout 90 --timeout 60. A 5-second initialize timeout is an OpenClaw registration failure, not a FreeCAD failure. -
Prove the MCP handshake. Run
openclaw mcp probe cadpilot --json. Done whendiagnosticsis empty and the tool list is non-empty. Call only names from that list. OpenClaw exposes them ascadpilot__<name>.
Use
-
Keep both hops local. MCP stays stdio. The XML-RPC hop stays
127.0.0.1:9875. Do not point MCP at that URL, bind0.0.0.0, enable remote FreeCAD access, or put an API key in any file. -
For a connectivity check, stop after the probe. No advertised tool is named
ping. Do not calldiagnose,execute_code,execute_code_async,cad,create_document, or any other mutating tool to invent a health check. Report the read-only names returned by that probe. -
For a modeling request, call
operation_helpfor the operation, then the matching advertised tool. Prefercadoverexecute_code. Done when the result names the requested document or object, or returns a FreeCAD error. If a call hangs after the probe succeeded, report a possible modal dialog blocking the FreeCAD GUI thread and stop. Do not restart FreeCAD unless the user asks.
