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 ワークベンチとブリッジを接続し、シーン情報の取得と Python 実行を提供します。

設定と制限

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

—

コメント

「その他」の他のコンテンツ