
neka-nat/freecad-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
FreeCAD MCP(モデルコンテキストプロトコル)サーバー
概要
このリポジトリはFreeCAD MCPで、Claude DesktopからFreeCADを操作できます。 これが会話履歴です。https://claude.ai/share/7b48fd60-68ba-46fb-bb21-2fbb17399b48 FreeCADアドオンディレクトリは * Windows: %APPDATA%\FreeCAD\Mod\ * Mac: * FreeCAD 1.1: ~/Library/Application\ Support/FreeCAD/v1-1/Mod/ * FreeCAD 1.0: ~/Library/Application\ Support/FreeCAD/v1-0/Mod/ * Linux: * Ubuntu: ~/.FreeCAD/Mod/ または ~/snap/freecad/common/Mod/(snapからFreeCADをインストールする場合)* Debian: ~/.local/share/FreeCAD/Mod * Arch / CachyOS(extra/freecadからのFreeCAD 1.1): ~/.local/share/FreeCAD/v1-1/Mod/ addon/FreeCADMCPディレクトリをアドオンディレクトリに入れてください。 アドオンをインストールする際にはFreeCADを再起動する必要があります。Workbenchリストから「MCP Addon」を選択して使うことができます。 また、「FreeCAD MCP」ツールバーの「RPCサーバー開始」コマンドでRPCサーバーを起動できます。 デフォルトでは、FreeCADを開くたびにRPCサーバーを手動で起動する必要があります。自動起動するには: 1.
概要(AI 翻訳)
Claude Desktopやその他のMCPクライアントからFreeCADを操作できます。モデルの作成と編集、 Pythonスクリプトを実行し、ドキュメントを検査し、FEM解析を行います。
デモ
フランジの設計:
モデレーションやモデル化のおもちゃ車のデモや例をもっと見てください。 2D図面とエージェント統合。
クイックスタート
FreeCADとUV/UVXが必要です。 FreeCAD MCPは2つのコンポーネントで構成されており、FreeCAD内で動作するアドオンとMCPサーバーです あなたのクライアントが立ち上げたのです。
1.FreeCADアドオンをインストールして起動してください
addon/FreeCADMCPをFreeCADアドオンディレクトリにコピーしてください。
その後、FreeCADを再起動します。MCPアドオンワークベンチを選択し、クリックします
FreeCAD MCPツールバーでRPCサーバーを起動してください。
プラットフォーム固有のコマンドについてはインストールガイドをご覧ください スクリーンショットも添付。
2.Connect Claude Desktop
[claude_desktop_config.jsonに以下の項目を追加してください:
Claude Desktopを再起動して設定を読み込み、FreeCADをRPCで開いたままにしてください
サーバーが稼働中であり、Claudeにモデル作成を依頼します。接続はlocalhostを用いて
デフォルト。
ドキュメント
| ガイド | 内容 |
|---|---|
| インストール | アドオンディレクトリ、セットアップスクリーンショット、ソースからの起動 |
| 設定 | 自動起動、テキストフィードバック、リモート接続 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
FreeCAD MCP
Control FreeCAD from Claude Desktop and other MCP clients. Create and edit models, run Python scripts, inspect documents, and run FEM analyses.
Demo
Design a flange:
See more demos and examples for a toy car, modelling from a 2D drawing, and agent integrations.
Quick start
You need FreeCAD and uv / uvx. FreeCAD MCP has two components: an addon running inside FreeCAD and an MCP server launched by your client.
1. Install and start the FreeCAD addon
git clone https://github.com/neka-nat/freecad-mcp.git
cd freecad-mcp
Copy addon/FreeCADMCP into your FreeCAD addon directory,
then restart FreeCAD. Select the MCP Addon workbench and click
Start RPC Server in the FreeCAD MCP toolbar.
See the installation guide for platform-specific commands and screenshots.
2. Connect Claude Desktop
Add the following entry to claude_desktop_config.json:
{
"mcpServers": {
"freecad": {
"command": "uvx",
"args": ["freecad-mcp"]
}
}
}
Restart Claude Desktop to load the configuration, keep FreeCAD open with its RPC
server running, and ask Claude to create a model. Connections use localhost by
default.
Documentation
| Guide | Contents |
|---|---|
| Installation | Addon directories, setup screenshots, running from source |
| Configuration | Auto-start, text feedback, remote connections |
| Tools | Available tools, screenshots, FEM analysis |
| Code execution | GUI execution, background jobs, headless scripts, timeout troubleshooting |
| Demos and examples | Design demos, FEM example, ADK and LangChain integrations |
Contributors
Made with contrib.rocks.
インストール
uvx freecad-mcp設定
{
"mcpServers": {
"freecad": {
"command": "uvx",
"args": ["freecad-mcp"]
}
}
}