SF

sandraschi/freecad-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

34 stars 5 forks 品質 80 トレンド 14MIT

FastMCP による FreeCAD 3D CAD 自動化 — ヘッドレスドキュメント/エクスポートと FluidX3D/OpenFOAM CFD 拡張機能。 Cursor/Claudeデスクトップ用 ウェブアプリ.

概要

このプロジェクトでは、2つの異なる種類のユーザーが話すサーバーとしてFreeCADを公開しています。 両方とも同じFreeCADバックエンドに話します。 AIエージェントは、シミュレーションケースを準備でき、Webダッシュボードの結果を調べることもできます。 AI エージェントと Web ダッシュボードの呼び出しはすべて同じ REST API を [http://localhost:10944/api/v1/. で実行します。 Python、curl、または任意のHTTPクライアントから直接スクリプトを実行できます。 これは、ヘッドレスパイプラインを構築する方法です。ループで100ジオメトリのバリアントを生成し、それぞれにシミュレーションを実行し、結果を収集し、代理モデルを訓練します。 GUIは必要ありません。FreeCADはジオメトリエンジンとしてバックグラウンドで動作します。 FreeCAD は、SolidWorks や Open-source など、無料のプロの CAD モデラーです。 API を通して、次のことができます。 - : Ruff linter + フォーマッタ (ゼロコンフィグ、サブミリ秒) - : バイオメランター + フォーマッタ - : ちょうどlint、ちょうど修正、ちょうどdev、tauri-build - : Tauri 2.

概要(AI 翻訳)

質問, アイデアを改善, 「それはまたXをしたかどうか」? → ディスカッション — Q&Aのサポート, あなたが改善しているもののためのアイデア, しかし、全体の問題を提出しません. バグはまだ問題に行きます。

インストール (Windows)

Freecad-mcp-0.6.2-setup.exe - 1つのインストーラーにフルデスクトップアプリ(webapp +組み込みバックエンド)をダウンロードしてください。

  • インストーラはunsignedです。 WindowsのSmartScreenは警告します:選択します詳細情報 > とにかく実行。
  • プリファーMCP専用? freecad-mcp-0.6.2.mcpbは、Claudeデスクトップでサーバーを登録します。
  • すべてのリリースと古いバージョン:リリース。

##2つの使い方

このプロジェクトでは、2つの異なる種類のユーザーが話すサーバーとしてFreeCADを公開しています。

| 会社概要 | お問い合わせ | お問い合わせ |MCPサーバー(ポート10944) | AIエージェント — デスクトップ、カーソル、続行、任意のMCPクライアント | あなたのAIアシスタントは[step_to_stl()]または[cfd_run_solver()などのツールを直接呼び出します。 「このSTEPファイルを変換し、プリンター用にスライス」と入力し、チェーン全体を行います。 | ハンズフリーCAD工事 操作ループ:AIが設計→シミュレート→分析→GUIに触れることなく精製を繰り返します。 |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

FreeCAD MCP

FreeCAD as a server for AI agents and a web dashboard - parametric CAD, TechDraw, assemblies, CFD, FEM and BIM via MCP tools and REST.

Questions, improv ideas, “what if it also did X”? → Discussions — Q&A for support, Ideas for anything you’d improve but wouldn’t file a whole Issue for. Bugs still go to Issues.

Install (Windows)

Download freecad-mcp-0.6.2-setup.exe - the full desktop app (webapp + embedded backend) in one installer.

  • The installer is unsigned. Windows SmartScreen will warn: choose More info > Run anyway.
  • Prefer MCP-only? freecad-mcp-0.6.2.mcpb registers the server in Claude Desktop.
  • All releases and older versions: Releases.

Two ways to use this

This project exposes FreeCAD as a server that two different kinds of users talk to:

Who How What for
MCP server (port 10944) AI agents — Claude Desktop, Cursor, Continue, any MCP client Your AI assistant calls tools like step_to_stl() or cfd_run_solver() directly. You type “convert this STEP file and slice it for my printer” and it does the whole chain. Hands-free CAD work. Agentic loops: the AI iterates design → simulate → analyze → refine without you touching the GUI.
Web dashboard (port 10945) Humans — you, in a browser A dark-mode React app: Guided Demo (cube → car → depot CRUD), Parts Studio, Depot, Convert, Models, Marketplace, BIM/CFD/FluidX3D workspaces, Chat, Logs and Settings. Point-and-click workflow. Open /demo to see the whole chain work, or upload a STEP file and click Convert.

Both talk to the same FreeCAD backend. An AI agent can prepare a simulation case, and you can inspect the results in the web dashboard — or vice versa.

Scripting & automation

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "freecad": { "command": "uv", "args": ["run", "--directory", "D:/Dev/repos/freecad-mcp", "python", "-m", "freecad_mcp.server", "--mode", "stdio"], "env": { "PYTHONPATH": "D:/Dev/repos/freecad-mcp/src" } } } }