freecad_mcp
The FreeCAD MCP project offers a server-based method to interact with FreeCAD, allowing users to run scripts and gather document data remotely. It supports executing Python code in the FreeCAD environment and retrieving detailed scene information.
How do I configure the FreeCAD MCP server?
You can configure the MCP server using a JSON format to specify the server settings, including the command path to the Python executable and the arguments for the FreeCAD bridge script.
What is the purpose of the 'get_scene_info' feature?
The 'get_scene_info' feature retrieves comprehensive information about the current FreeCAD document, including document properties, object details, sketch data, and view information.
How can I execute a script using FreeCAD MCP?
You can execute a script by sending a 'run_script' command with the script content as a parameter to the FreeCAD MCP server.
Where should I place the 'freecad_mcp' directory?
Place the 'freecad_mcp' directory in your FreeCAD modules directory, which varies by operating system: Windows (%APPDATA%/FreeCAD/Mod/), Linux (/.FreeCAD/Mod/), or macOS (/Library/Preferences/FreeCAD/Mod/).
Is the FreeCAD MCP project open for contributions?
Yes, contributions are welcome. You can submit issues or pull requests to help improve the project.