Skip to main content
Glama
neka-nat
by neka-nat

FreeCAD MCP

このリポジトリは、Claude Desktop から FreeCAD を制御できるようにする FreeCAD MCP です。

デモ

フランジの設計

デモ

おもちゃの車をデザインする

デモ

2D図面から部品を設計する

2D図面を入力する

入力

デモ

デモ

これは会話履歴です。https ://claude.ai/share/7b48fd60-68ba-46fb-bb21-2fbb17399b48

Related MCP server: FreeCAD MCP

アドオンをインストール

FreeCADアドオンディレクトリは

  • Windows: %APPDATA%\FreeCAD\Mod\

  • Mac: ~/Library/Application Support/FreeCAD/Mod/

  • リナックス:

    • Ubuntu: ~/.FreeCAD/Mod/または~/snap/freecad/common/Mod/ (snap から FreeCAD をインストールした場合)

    • Debian: ~/.local/share/FreeCAD/Mod

addon/FreeCADMCPディレクトリをアドオンディレクトリに置いてください。

git clone https://github.com/neka-nat/freecad-mcp.git
cd freecad-mcp
cp -r addon/FreeCADMCP ~/.FreeCAD/Mod/

アドオンをインストールしたら、FreeCADを再起動する必要があります。ワークベンチのリストから「MCPアドオン」を選択して使用できます。

ワークベンチリスト

また、「FreeCAD MCP」ツールバーの「RPC サーバーを起動」コマンドで RPC サーバーを起動することもできます。

start_rpc_server

Claude Desktop の設定

claude_desktop_config.jsonファイルを編集します。

ユーザー向け。

{
  "mcpServers": {
    "freecad": {
      "command": "uvx",
      "args": [
        "freecad-mcp"
      ]
    }
  }
}

トークンを節約したい場合は、 only_text_feedbacktrueに設定して、テキスト フィードバックのみを使用できます。

{
  "mcpServers": {
    "freecad": {
      "command": "uvx",
      "args": [
        "freecad-mcp",
        "--only-text-feedback"
      ]
    }
  }
}

開発者向け。まず、このリポジトリをクローンする必要があります。

git clone https://github.com/neka-nat/freecad-mcp.git
{
  "mcpServers": {
    "freecad": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/freecad-mcp/",
        "run",
        "freecad-mcp"
      ]
    }
  }
}

ツール

  • create_document : FreeCAD で新しいドキュメントを作成します。

  • create_object : FreeCAD で新しいオブジェクトを作成します。

  • edit_object : FreeCAD 内のオブジェクトを編集します。

  • delete_object : FreeCAD 内のオブジェクトを削除します。

  • execute_code : FreeCAD で任意の Python コードを実行します。

  • insert_part_from_library :パーツライブラリからパーツを挿入します。

  • get_view : アクティブビューのスクリーンショットを取得します。

  • get_objects : ドキュメント内のすべてのオブジェクトを取得します。

  • get_object : ドキュメント内のオブジェクトを取得します。

  • get_parts_list :パーツライブラリ内のパーツのリストを取得します。

寄稿者

contrib.rocksで作成されました。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neka-nat/freecad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server