MCP.so
登录

FreeCAD MCP Server (bonninr/freecad_mcp)

@bonninr

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

bonninr

提交者

Rodolfo Bonnin

关于 FreeCAD MCP Server

FreecadMCP connects Freecad to Claude AI and other MCP-ready tools like Cursor through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Freecad. This integration enables prompt assisted CAD 3d Design.

连接前先了解

文档核对日期:2026-10-25

适合什么场景

bonninr 的这个实现连接本地 FreeCAD 工作台与桥接程序,提供场景读取和 FreeCAD 内 Python 执行。

配置与限制

将工作台安装到 FreeCAD 的 Mod 目录,并让客户端指向实际 Python 与 freecad_bridge.py。README 的 Windows 路径只是示例,不能直接跨平台使用。建议先运行 get_scene_info,再执行修改模型的脚本。

本说明依据所列文档核对,未代表通过账户认证的实际连接测试;建议检查项需要在你的环境执行。

FreeCAD MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "freecad": {
      "command": "/usr/bin/python3",
      "args": [
        "/home/USER/.FreeCAD/Mod/freecad_mcp/src/freecad_bridge.py"
      ]
    }
  }
}

FreeCAD MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Freecad?

FreeCAD MCP (Model Control Protocol) provides a simplified interface for interacting with FreeCAD through a server-client architecture. It allows users to execute commands and retrieve information about the current FreeCAD document and scene.

How to use Freecad?

Install by placing the freecad_mcp directory in your FreeCAD modules directory, restart FreeCAD, and select the "FreeCAD MCP" workbench. Configure the MCP server in JSON format specifying the Python executable path and the path to freecad_bridge.py. Connect to the server via socket on localhost:9876 to send commands such as get_scene_info and run_script.

Key features of Freecad

  • Retrieve comprehensive scene information (document properties, objects, sketches, camera)
  • Execute arbitrary Python code within the FreeCAD context
  • Automate complex CAD operations via script
  • Modify existing objects and create new ones programmatically
  • Access shape properties, geometry, and constraints of sketches

Use cases of Freecad

  • Automate repetitive model creation tasks using Python scripts
  • Retrieve detailed information about the current FreeCAD document for analysis
  • Create and modify objects (e.g., add a box with custom dimensions) without manual interaction
  • Integrate FreeCAD with external tools by sending commands and receiving data

FAQ from Freecad

—

评论

其他 分类下的更多 MCP 服务器