Allows control of Autodesk Fusion through natural language, enabling CAD operations like creating and modifying 3D models via Python code execution within Fusion.
Executes Python code generated by LLMs to perform CAD operations within Fusion, translating natural language instructions into actionable Fusion API commands.
Fusion MCP
Autodesk Fusionを操作するMCPサーバー
LLMとFusionを接続し、自然言語による対話でCADの操作を可能にします。
構成
- MCPサーバー (
mcp-server/
): LLMとFusionアドインを接続するMCP(Model Context Protocol)サーバー - Fusionアドイン (
mcp-addin/
): MCPサーバーからリクエストを受けて、実際にFusionを操作するアドイン
MCPツール
execute_code
: Pythonコードを実行する。Fusion APIを使用してFusionを操作できますget_viewport_screenshot
: Fusionのアクティブなビューポートのスクリーンショットを取得するlist_user_parameters
: User Parametersの一覧を取得するset_user_parameter
: User Parameterの式を設定する
セットアップ
必要なもの
- Autodesk Fusion
- MCPクライアント (Claude Desktop, Cursorなど)
- Python
- uv
手順
- リポジトリをダウンロードします。
- MCPクライアントにMCPサーバーを登録します。Claude Desktopの場合:左上のメニュー > File > Settings > Developer > Edit Configから
claude_desktop.json
を開き、以下を追加します。 - Fusionにアドインを登録します。
- FusionでUTILITIES > ADD-INS からScripts and Add-Insウィンドウを開きます。
- 「+」ボタン > Script or add-in from device から、ダウンロードした
fusion-mcp/mcp-addin
フォルダを選択します。 - リストにmcp-addinが追加されるので、Runをクリックして起動します。
Run on Startupを有効にすると、Fusion起動時にアドインが自動で実行されます。
⚠️ 重要な注意点
このFusionアドインは、LLMが生成した任意のPythonコードをFusion内で実行します。これにはセキュリティ上のリスクがあります。 使用する前にFusionデータのバックアップを作成し、LLMが生成したコードを確認するようにしてください。
使用時のポイント
Fusion MCP単体では、LLMがFusionをうまく操作できない場合がほとんどです。 次のような指示を直接与えたり、ツール使用前にLLMに考えてもらうと効果的です。
- 具体的な数値を指定する: 「10mm押し出す」など明確な値を与える
- 操作手順を明確にする: 「まず部品を選択、次に押し出し」のように手順をわける
- Fusion APIドキュメントを提供する: APIのドキュメントやサンプルコードを渡す
これらのMCPサーバーも組み合わせると便利です。
- Sequential Thinking MCP Server: LLMが設計を段階的に考えてくれるようになります
- Context7 MCP Server: LLMがドキュメントを探して参照できるようになります
クレジット
このプロジェクトはahujasidさんによる blender-mcp を参考に作成しました。
ライセンス
MIT License
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
A Model Context Protocol server that connects LLMs with Autodesk Fusion, enabling CAD operations through natural language dialogue.
Related MCP Servers
- -securityAlicense-qualityA comprehensive toolkit that enhances LLM capabilities through the Model Context Protocol, allowing LLMs to interact with external services including command-line operations, file management, Figma integration, and audio processing.Last updated -22PythonApache 2.0
- AsecurityAlicenseAqualityA universal Model Context Protocol implementation that serves as a semantic layer between LLMs and 3D creative software, providing a standardized interface for interacting with various Digital Content Creation tools through a unified API.Last updated -12512PythonApache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that connects LLMs to the Compiler Explorer API, enabling them to compile code, explore compiler features, and analyze optimizations across different compilers and languages.Last updated -513Python
- -securityFlicense-qualityA Model Context Protocol server that connects AI tools and LLMs to Figma designs, enabling them to extract design data, analyze design systems, and generate development documentation.Last updated -1441TypeScript