Integrations
Interfaces with Autodesk Fusion 360 to execute CAD modeling operations, allowing users to create 3D designs through natural language commands that are converted into Fusion 360 toolbar-level commands and Python scripts.
Provides an HTTP API server implementation with endpoints for listing tools, calling individual tools, and executing sequences of tools for Fusion 360 operations.
Fusion 360 MCP サーバー
Cline と Autodesk Fusion 360 間のインターフェイスとなるモデル コンテキスト プロトコル (MCP) サーバー。このサーバーは、Fusion 360 ツールバー レベルのコマンドを、Fusion の API に直接マップされる呼び出し可能なツールとして公開します。
🧠 概要
このプロジェクトにより、Cline は次のことが可能になります。
- 自然言語プロンプトを解析する(例:「角の丸いボックスを作成してください」)
- これらをFusionツールのアクションに解決します(例:CreateSketch → DrawRectangle → Extrude → Fillet)
- これらのツールをこのMCPサーバー経由で呼び出します
- Fusion 360で実行できるPythonスクリプトを返す
🛠️ インストール
前提条件
- Python 3.9以上
- オートデスク Fusion 360
設定
- このリポジトリをクローンします:Copy
- 依存関係をインストールします:Copy
🚀 使用方法
HTTPサーバーの実行
これにより、 http://127.0.0.1:8000
で FastAPI サーバーが起動します。
MCP サーバーとして実行
これにより、サーバーが MCP モードで起動され、stdin から読み取り、stdout に書き込みます。
APIエンドポイント
GET /
: サーバーが稼働しているかどうかを確認するGET /tools
: 利用可能なすべてのツールを一覧表示するPOST /call_tool
: 単一のツールを呼び出してスクリプトを生成するPOST /call_tools
: 複数のツールを順番に呼び出してスクリプトを生成する
API呼び出しの例
リストツール
単一のツールを呼び出す
複数のツールを呼び出す
📦 利用可能なツール
サーバーは現在、次の Fusion 360 ツールをサポートしています。
作成する
- CreateSketch : 指定された平面上に新しいスケッチを作成します
- DrawRectangle : アクティブなスケッチに長方形を描画します
- DrawCircle : アクティブなスケッチに円を描きます
- 押し出し: プロファイルを 3D ボディに押し出します
- 回転: 軸を中心にプロファイルを回転します
修正する
- フィレット: 選択したエッジにフィレットを追加します
- 面取り: 選択したエッジに面取りを追加します
- シェル: 指定された壁厚のソリッドボディをくり抜きます
- 結合: ブール演算を使用して2つのボディを結合します
輸出
- ExportBody : ボディをファイルにエクスポートします
🔌 MCP統合
このサーバーを Cline で使用するには、MCP 設定構成ファイルに追加します。
🧩 ツールレジストリ
ツールはsrc/tool_registry.json
で定義されます。各ツールには以下のものが含まれます。
- name : ツールの名前
- 説明: ツールの機能
- パラメータ: ツールが受け入れるパラメータ
- docs : 関連するFusion APIドキュメントへのリンク
ツール定義の例:
📝 スクリプト生成
サーバーはツール呼び出しに基づいてFusion 360 Pythonスクリプトを生成します。これらのスクリプトはFusion 360のスクリプトエディタで実行できます。
生成されたスクリプトの例:
🧪 サーバーの拡張
新しいツールの追加
src/tool_registry.json
に新しいツール定義を追加します。src/script_generator.py
のSCRIPT_TEMPLATES
にスクリプト テンプレートを追加します。src/script_generator.py
の_process_parameters
にパラメータ処理ロジックを追加します。
📚 ドキュメントリンク
🔄今後の機能強化
- コンテキスト認識操作のためのセッション状態追跡
- 動的ツール登録
- ソケットまたはファイルポーリングによる自動化
- その他のFusionコマンド
📄 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
This server cannot be installed
Cline がコマンドを Fusion の API にマッピングし、実行可能な Python スクリプトを生成することで、自然言語プロンプトを Fusion 360 CAD 操作に変換できるようにするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.Last updated -484TypeScript
- -securityFlicense-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -4Python
Specif-ai MCP Serverofficial
AsecurityFlicenseAqualityA CLI tool that runs a Model Context Protocol server over stdio, enabling interaction with specification documents like business requirements, product requirements, and user stories for the Specif-ai platform.Last updated -90TypeScript- -securityFlicense-qualityA Model Context Protocol server for Unity game development that enables users to manage projects, edit scenes, create prefabs, and generate scripts through natural language integration with Smithery.ai.Last updated -TypeScript