프로그램 사용/freecad
gemini + freecad
구차니
2025. 9. 1. 10:20
mcp를 받아서 설치하는데 zip으로 받아서
freecad_mcp_main 으로 풀리는 디렉토리를 통채로 Mod로 옮겨준다
$ cp freecad_mcp_main ~/.Freecad/Mod/freecad_mcp |
[링크 : https://github.com/bonninr/freecad_mcp]
gemini 설정도 수정해주고
~/.gemini$ cat settings.json { "theme": "Atom One", "selectedAuthType": "oauth-personal", "mcpServers": { "freecad": { "command": "/usr/bin/python3", "args": [ "/home/user/.FreeCAD/Mod/freecad_mcp/src/freecad_bridge.py" ] } } } |
freecad를 재시작하거나 처음 시작하면 workbench에 FreeCAD MCP 라는게 생겨난다.
메뉴에서 FreeCAD MCP - Show FreeCAD MCP Panel 누르면 Tasks에 창이 열리는데 Start Server 눌러준다.
freecad 에서 start RPC server 하면 9876 포트로 생성된다.
$ netstat -tnlp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:9876 0.0.0.0:* LISTEN 3295252/freecad |
FastMCP 모듈이 없으면 일단 설치해주고
$ pip3 install FastMCP |
gemini를 실행하고 ctrl-t를 눌러 Ready라고 뜨면 끝
생성 성공!
그런데 claude 용으로는 MCP 인데.. 같이 연결 못하나?