Skip to main content
Glama

Fusion360 MCP Server

ベータ版 — 本プロジェクトは現在活発に開発中です。APIやツールの動作はリリースごとに変更される可能性があります。ご自身の判断でご利用ください。フィードバックやバグ報告は GitHub Issues までお寄せください。

AIコーディングエージェントをAutodesk Fusion 360に接続し、CADの自動化を実現するMCPサーバーです。

Claude Code でテスト済みです。OpenCode、Codex、Cursorなど、Model Context Protocol に対応したあらゆるクライアントで動作します。

仕組み

Any MCP Client ←(stdio MCP)→ This Server ←(TCP :9876)→ Fusion360MCP Add-in ←(CustomEvent)→ Fusion Main Thread

2つのコンポーネントで構成されています:

  1. MCP Server (本リポジトリ) — ClaudeとMCPプロトコルで通信し、コマンドをTCP経由で転送するPythonプロセス

  2. Fusion360MCP Add-in (FusionのAddInsフォルダにインストール) — Fusion 360内で実行され、メインスレッドで安全にAPI呼び出しを実行

Related MCP server: Fusion360MCP

前提条件

  • uv (Pythonパッケージマネージャー)

  • Autodesk Fusion 360

  • MCP対応クライアント (Claude Code, OpenCode, Codex, Cursorなど)

インストール

1. Fusion 360アドインのインストール

クイックインストール (開発用シンボリックリンク):

./scripts/install-addon.sh

手動インストール:

# macOS
cp -r addon ~/Library/Application\ Support/Autodesk/Autodesk\ Fusion\ 360/API/AddIns/Fusion360MCP

# Windows (PowerShell)
Copy-Item -Recurse addon "$env:APPDATA\Autodesk\Autodesk Fusion 360\API\AddIns\Fusion360MCP"

その後、Fusionで起動します:Shift+S → Add-Ins → Fusion360MCP → Run

TEXT COMMANDSウィンドウに [MCP] Server listening on localhost:9876 と表示されるはずです。

2. MCPクライアントの接続

MCPサーバーは PyPI で公開されているため、このリポジトリをクローンする必要はありません。

Claude Code

claude mcp add fusion360 -- uvx fusion360-mcp-server --mode socket

その他のMCPクライアント

サーバーは stdio 経由で実行されるため、MCP対応クライアントであればどれでも起動可能です。コマンドは以下の通りです:

uvx fusion360-mcp-server --mode socket
{
  "mcpServers": {
    "fusion360": {
      "command": "uvx",
      "args": [
        "fusion360-mcp-server",
        "--mode", "socket"
      ]
    }
  }
}

3. 検証

クライアントから ping ツールを呼び出します。{"pong": true} が返ってくれば、すべて接続されています。

アンインストール

  1. MCPクライアントの設定から fusion360 エントリを削除

  2. Fusionでアドインを停止 (Shift+S → Add-Ins → Fusion360MCP → Stop)

  3. FusionのAddInsディレクトリからアドインフォルダを削除

利用可能なツール (84)

シーンとクエリ

ツール

説明

ping

ヘルスチェック (即時実行、Fusion API不使用)

get_scene_info

デザイン名、ボディ、スケッチ、フィーチャ、カメラ情報

get_object_info

指定したボディやスケッチの詳細情報

list_components

デザイン内の全コンポーネントをリストアップ

デザインタイプの安全性

ツール

説明

get_design_type

デザインがパラメトリックモードかダイレクトモードかを確認

set_design_type

デザインタイプを切り替え (パラメトリック/ダイレクト復帰)

スケッチ

ツール

説明

create_sketch

xy/yz/xz平面上に新規スケッチを作成 (オフセット可)

draw_rectangle

直近のスケッチに長方形を描画

draw_circle

直近のスケッチに円を描画

draw_line

直近のスケッチに線を描画

draw_arc

円弧 (中心 + 開始点 + スイープ角)

draw_spline

フィット点または制御点スプライン

create_polygon

正多角形 (3~64角形)

add_constraint

幾何拘束 (一致、平行、接線など)

add_dimension

寸法拘束 (距離、角度、半径、直径)

offset_curve

接続されたスケッチ曲線をオフセット

trim_curve

交差位置でトリム

extend_curve

最寄りの交差位置まで延長

project_geometry

エッジ/ボディをスケッチ平面に投影

フィーチャ

ツール

説明

extrude

スケッチプロファイルを押し出し

revolve

プロファイルを軸周りに回転

sweep

プロファイルをパスに沿ってスイープ

loft

2つ以上のプロファイル間でロフト

fillet

エッジを丸める (すべて/上面/下面/垂直)

chamfer

エッジを面取り

shell

ボディを中空化

mirror

平面を基準にボディをミラーリング

create_hole

ボディ面に穴フィーチャを作成

rectangular_pattern

行と列でパターン化

circular_pattern

軸周りにパターン化

create_thread

ネジを追加 (装飾またはモデル化)

draft_faces

金型抜き勾配の適用

split_body

平面を使用してボディを分割

split_face

ボディの面を分割

offset_faces

面を距離指定でプッシュ/プル

scale_body

均一または非均一にスケール変更

suppress_feature

タイムラインフィーチャを抑制

unsuppress_feature

抑制されたフィーチャを再有効化

ボディ操作

ツール

説明

move_body

ボディを (x, y, z) に移動

rename_body

ボディの名前を変更 (ルートおよび全コンポーネントを検索)

boolean_operation

2つのボディの結合/切り取り/交差

delete_all

デザインをクリア

undo

直前の操作を取り消し (デザインタイプの安全ガード付き)

ダイレクトプリミティブ

ツール

説明

create_box

ボックス (TemporaryBRepManager経由)

create_cylinder

円柱

create_sphere

球

create_torus

トーラス

サーフェス操作

ツール

説明

patch_surface

境界エッジからパッチサーフェスを作成

stitch_surfaces

サーフェスボディを1つにステッチ

thicken_surface

サーフェスを厚み付けしてソリッド化

ruled_surface

エッジからルールドサーフェスを作成

trim_surface

他のボディでサーフェスをトリム

板金

ツール

説明

create_flange

エッジにフランジを作成

create_bend

ベンドを追加

flat_pattern

フラットパターンを作成

unfold

特定のベンドを展開

構築ジオメトリ

ツール

説明

create_construction_plane

オフセット、角度、中立面、3点、接線

create_construction_axis

2点、交差、エッジ、垂直

アセンブリ

ツール

説明

create_component

サブアセンブリコンポーネントを作成

add_joint

2つのコンポーネント間にジョイントを作成

create_as_built_joint

現在の位置からジョイントを作成

create_rigid_group

コンポーネントを固定グループ化

検査と解析

ツール

説明

measure_distance

エンティティ間の最小距離

measure_angle

エンティティ間の角度

get_physical_properties

質量、体積、面積、重心

create_section_analysis

モデルの断面解析

check_interference

コンポーネント間の干渉を検出

外観

ツール

説明

set_appearance

ライブラリからマテリアルの外観を割り当て

パラメータ

ツール

説明

get_parameters

全ユーザーパラメータをリストアップ

create_parameter

新規パラメータを作成

set_parameter

パラメータ値を更新

delete_parameter

パラメータを削除

エクスポート

ツール

説明

export_stl

ボディをSTLとしてエクスポート (コンポーネント内のボディも対応)

export_step

ボディをSTEPとしてエクスポート (コンポーネント内のボディも対応)

export_f3d

デザインをFusionアーカイブとしてエクスポート

CAM / 製造

ツール

説明

cam_create_setup

製造セットアップを作成 (ミーリング/旋盤/切断)

cam_create_operation

加工操作を追加 (フェース、輪郭、アダプティブ、穴あけなど)

cam_generate_toolpath

操作のツールパスを生成

cam_post_process

Gコードへポスト処理 (fanuc, grbl, haasなど)

cam_list_setups

全製造セットアップをリストアップ

cam_list_operations

セットアップ内の操作をリストアップ

cam_get_operation_info

操作の詳細を取得 (戦略、ツール、パラメータ)

コード実行

ツール

説明

execute_code

Fusion内で任意のPythonを実行 (REPLスタイル)

MCPプロトコルの機能

  • ツールアノテーション — 各ツールには readOnlyHint, destructiveHint, idempotentHint がタグ付けされており、MCPクライアントが安全な操作を自動承認可能

  • リソース — fusion360://status, fusion360://design, fusion360://parameters による受動的な状態監視

  • リソーステンプレート — fusion360://body/{name}, fusion360://component/{name} による動的なエンティティ検索

  • プロンプト — create-box, model-threaded-bolt, sheet-metal-enclosure ワークフローテンプレート

  • 構造化エラー — アドインが失敗を報告した場合、ツール結果に isError=True を含める

  • モックモード — --mode mock でFusionを起動せずに妥当なテストデータを返す (すべてのレスポンスに "mode": "mock" を含む)

開発

uv sync --dev       # install deps
uv run pytest -v    # run tests (171 tests)
uv run ruff check   # lint

注意事項

  • Fusion APIの単位はすべて センチメートル (Fusionの内部単位) です。

  • 1回のツール呼び出しにつき1操作です。複数の操作をバッチ処理するとアドインがクラッシュします。

  • コマンドは30秒でタイムアウトします。

  • アドインのログは ~/fusion360mcp.log に出力されます。

  • undo ツールにはデザインタイプの安全ガードが含まれており、実行前後にチェックを行い、パラメトリックからダイレクトモードへの切り替えが発生する場合は自動的にやり直します。

謝辞

BlenderMCP に触発されました。ソケットブリッジのアーキテクチャはそこから着想を得ています。

また、既存のFusion 360 MCPエコシステムのアイデアに基づいています:

ライセンス

MIT

Available Tools

80 tools
add_constraintAdd Sketch ConstraintB

Add a geometric constraint in the active sketch. Entities are referenced by index within the sketch.

Inputs: constraint_type (required), entity_one, entity_two, symmetry_line, +1 more.

add_dimensionAdd Sketch DimensionB

Add a driving dimension to constrain sketch geometry. Value is in cm for distances, degrees for angles.

Inputs: dimension_type (required), value (required), entity_one, entity_two, +1 more.

add_jointAdd JointB

Add a joint between two components

Inputs: component_one (required), component_two (required), joint_type.

boolean_operationBoolean OperationB

Combine two named bodies (join/cut/intersect)

Inputs: target_body (required), tool_body (required), operation.

cam_create_operationCreate CAM OperationB

Add a machining operation to a setup. Strategy determines the toolpath type.

Inputs: setup_name (required), strategy (required), name, tool_number, +6 more.

cam_create_setupCreate CAM SetupB

Create a manufacturing setup for a body. Defines the stock, coordinate system, and operation type (milling/turning/cutting).

Inputs: body_name (required), name, operation_type, stock_mode, +3 more.

cam_generate_toolpathGenerate ToolpathB

Generate toolpaths for a specific operation or all operations in a setup

Inputs: setup_name, operation_name, generate_all.

cam_get_operation_infoGet CAM Operation InfoB
Read-onlyIdempotent

Get details about a specific operation (strategy, tool, parameters, toolpath status)

Inputs: setup_name (required), operation_name (required).

cam_list_operationsList CAM OperationsA
Read-onlyIdempotent

List operations within a setup

Inputs: setup_name (required).

cam_list_setupsList CAM SetupsB
Read-onlyIdempotent

List all manufacturing setups in the document

Inputs: no named parameters.

cam_post_processPost ProcessB

Post-process toolpaths to generate NC code (G-code)

Inputs: setup_name (required), operation_name, post_processor, output_folder, +1 more.

chamferChamfer EdgesC

Chamfer edges of a body

Inputs: distance (required), body_name, body_index, edge_selection.

check_interferenceCheck InterferenceB
Read-onlyIdempotent

Detect collisions between components/bodies

Inputs: component_names (required), include_coincident_faces.

circular_patternCircular PatternC

Pattern a body around an axis

Inputs: body_name (required), count (required), axis, total_angle.

create_as_built_jointCreate As-Built JointC

Create a joint from components' current positions (easier than geometric joints)

Inputs: component_one (required), component_two (required), joint_type (required).

create_bendCreate BendB

Add a bend to a sheet metal body

Inputs: body_name (required), bend_line_sketch, angle, bend_radius.

create_boxCreate BoxC

Create a box primitive (non-parametric via TemporaryBRepManager)

Inputs: length (required), width (required), height (required), center_x, +2 more.

create_componentCreate ComponentB

Create a new component (sub-assembly) in the design

Inputs: name (required), parent_name.

create_construction_axisCreate Construction AxisC

Create a construction axis

Inputs: method (required), point_one, point_two, plane_one, +3 more.

create_construction_planeCreate Construction PlaneB

Create a construction plane for sketching

Inputs: method (required), plane, offset, angle, +6 more.

create_cylinderCreate CylinderC

Create a cylinder primitive (non-parametric via TemporaryBRepManager)

Inputs: radius (required), height (required), base_x, base_y, +2 more.

create_flangeCreate FlangeA

Create a sheet metal flange on an edge

Inputs: body_name (required), edge_index (required), height, angle, +1 more.

create_holeCreate HoleB

Create a hole feature on a body face

Inputs: diameter (required), depth (required), body_name, body_index, +3 more.

create_parameterCreate ParameterB

Create a new user parameter

Inputs: name (required), value (required), unit (required), comment.

create_polygonCreate PolygonB

Draw a regular polygon in the most recent sketch

Inputs: sides (required), radius (required), center_x, center_y, +1 more.

create_rigid_groupCreate Rigid GroupB

Lock multiple components together

Inputs: component_names (required), include_children.

create_section_analysisCreate Section AnalysisB

Cut a section plane through the model

Inputs: plane, offset.

create_sketchCreate SketchB

Create a new sketch on xy/yz/xz plane, optionally offset

Inputs: plane, z_offset.

create_sphereCreate SphereB

Create a sphere primitive (non-parametric via TemporaryBRepManager)

Inputs: radius (required), center_x, center_y, center_z.

create_threadCreate ThreadA

Add threads to a cylindrical face (cosmetic or modeled)

Inputs: body_name (required), face_index (required), is_internal, thread_type, +5 more.

create_torusCreate TorusB

Create a torus primitive (non-parametric via TemporaryBRepManager)

Inputs: major_radius (required), minor_radius (required), center_x, center_y, +2 more.

delete_allDelete AllA
Destructive

Clear the design (delete all timeline items)

Inputs: no named parameters.

delete_parameterDelete ParameterB
Destructive

Remove a user parameter

Inputs: name (required).

draft_facesDraft / Taper FacesB

Add a draft angle to faces of a body (for mold release / injection molding)

Inputs: body_name (required), angle (required), face_selection, pull_direction_plane, +1 more.

draw_arcDraw ArcB

Draw an arc in the most recent sketch (center + start point + sweep angle)

Inputs: center_x (required), center_y (required), start_x (required), start_y (required), +3 more.

draw_circleDraw CircleB

Draw a circle in the most recent sketch

Inputs: radius (required), center_x, center_y, center_z.

draw_lineDraw LineB

Draw a line in the most recent sketch

Inputs: start_x (required), start_y (required), end_x (required), end_y (required), +2 more.

draw_rectangleDraw RectangleA

Draw a rectangle in the most recent sketch

Inputs: width (required), height (required), origin_x, origin_y, +1 more.

draw_splineDraw SplineA

Draw a spline in the most recent sketch. Use fit_points for a curve through points, or control_points for a control-polygon spline.

Inputs: spline_type (required), points (required), degree.

execute_codeExecute CodeA

Run arbitrary Python in Fusion 360. The last expression's value is returned (REPL-style). Pre-defined names: app, ui, design, component, adsk, math.

Inputs: code (required).

export_f3dExport F3DA

Export the design as a native Fusion 360 archive (.f3d)

Inputs: file_path.

export_stepExport STEPB

Export a body or component as a STEP file

Inputs: body_name (required), file_path.

export_stlExport STLB

Export a named body as an STL file

Inputs: body_name (required), file_path.

extend_curveExtend CurveA

Extend a sketch curve to the nearest intersection. The end nearest to the given point is extended.

Inputs: curve_index (required), point_x (required), point_y (required), sketch_name.

extrudeExtrudeC

Extrude a sketch profile

Inputs: height (required), profile_index, operation, direction.

filletFillet EdgesB

Round edges of a body

Inputs: radius (required), body_name, body_index, edge_selection.

flat_patternFlat PatternB

Create a flat pattern from a sheet metal body

Inputs: body_name (required).

get_object_infoGet Object InfoB
Read-onlyIdempotent

Get detailed info about a named body or sketch

Inputs: name (required).

get_parametersGet ParametersB
Read-onlyIdempotent

List all user parameters in the design

Inputs: no named parameters.

get_physical_propertiesGet Physical PropertiesB
Read-onlyIdempotent

Get mass, volume, surface area, center of mass, and density of a body

Inputs: body_name (required), accuracy.

get_scene_infoGet Scene InfoB
Read-onlyIdempotent

Get design name, bodies, sketches, features, camera info

Inputs: no named parameters.

list_componentsList ComponentsB
Read-onlyIdempotent

List all components in the design

Inputs: no named parameters.

loftLoftB

Loft between two or more sketch profiles

Inputs: profile_sketch_names (required), operation.

measure_angleMeasure AngleB
Read-onlyIdempotent

Measure angle between two entities

Inputs: entity_one (required), entity_two (required).

measure_distanceMeasure DistanceB
Read-onlyIdempotent

Measure minimum distance between two entities

Inputs: entity_one (required), entity_two (required).

mirrorMirror BodyB

Mirror a body across a construction plane

Inputs: mirror_plane (required), body_name, body_index.

move_bodyMove BodyB

Translate a named body by (x, y, z)

Inputs: body_name (required), x, y, z.

offset_curveOffset CurveB

Offset connected sketch curves by a distance. Direction is determined by the direction_point.

Inputs: curve_index (required), offset_distance (required), direction_x, direction_y, +1 more.

offset_facesOffset FacesB

Push/pull faces of a body by a distance

Inputs: body_name (required), distance (required), face_selection, face_indices.

patch_surfacePatch SurfaceB

Create a patch surface from boundary edges

Inputs: sketch_name (required), profile_index, continuity.

pingPingA
Read-onlyIdempotent

Health check — returns immediately without touching Fusion API

Inputs: no named parameters.

project_geometryProject GeometryB

Project edges or bodies onto the active sketch plane

Inputs: source_name (required), is_linked, sketch_name.

rectangular_patternRectangular PatternB

Pattern a body in rows and columns

Inputs: body_name (required), x_count, x_spacing, y_count, +1 more.

revolveRevolveB

Revolve a sketch profile around an axis

Inputs: angle (required), profile_index, axis_origin_x, axis_origin_y, +5 more.

ruled_surfaceRuled SurfaceB

Create a ruled surface from an edge or sketch curve

Inputs: body_name (required), edge_index (required), distance, rule_type.

scale_bodyScale BodyB

Scale a body uniformly or non-uniformly

Inputs: body_name (required), scale (required), scale_x, scale_y, +4 more.

set_appearanceSet AppearanceB
Idempotent

Assign a material appearance to a body, face, or component from the Fusion appearance library

Inputs: target_name (required), appearance_name (required), target_type, face_index.

set_parameterSet ParameterB
Idempotent

Update the value of an existing user parameter

Inputs: name (required), value (required).

shellShell BodyB

Hollow out a body by removing a face

Inputs: thickness (required), body_name, body_index, face_selection.

split_bodySplit BodyB

Split a body using a plane or face

Inputs: body_name (required), splitting_plane, splitting_body, extend_tool.

split_faceSplit FaceB

Split faces of a body using a plane

Inputs: body_name (required), face_indices, splitting_plane, extend_tool.

stitch_surfacesStitch SurfacesB

Stitch surface bodies into a single body

Inputs: body_names (required), tolerance.

suppress_featureSuppress FeatureB

Suppress (disable) a feature in the timeline

Inputs: feature_name (required).

sweepSweepB

Sweep a sketch profile along a path (sketch curve)

Inputs: profile_index (required), path_sketch_name (required), path_curve_index, operation.

thicken_surfaceThicken SurfaceB

Thicken a surface body into a solid

Inputs: body_name (required), thickness (required), direction.

trim_curveTrim CurveA

Trim a sketch curve at its intersections. The segment nearest to the given point is removed.

Inputs: curve_index (required), point_x (required), point_y (required), sketch_name.

trim_surfaceTrim SurfaceB

Trim a surface body with another body

Inputs: body_name (required), tool_name (required).

undoUndoB

Undo the last operation

Inputs: no named parameters.

unfoldUnfoldB

Unfold specific bends in a sheet metal body

Inputs: body_name (required), bend_indices.

unsuppress_featureUnsuppress FeatureB

Unsuppress (re-enable) a feature in the timeline

Inputs: feature_name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 80 tools

    Disambiguation4/5

    Most tools have distinct purposes, but some overlap exists, such as 'create_box', 'create_cylinder', 'create_sphere', and 'create_torus' all being primitive creation tools, which could cause minor confusion. However, the descriptions clarify their specific geometric shapes, reducing ambiguity.

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout, such as 'add_constraint', 'create_sketch', 'export_step', and 'measure_distance'. There are no deviations in naming conventions, making the set predictable and readable.

    Tool Count2/5

    With 80 tools, the count is excessive for a single server, making it overwhelming and difficult for agents to navigate efficiently. While Fusion 360 is a complex CAD/CAM system, this many tools likely includes overly granular or redundant operations that could be consolidated.

    Completeness5/5

    The tool set provides comprehensive coverage for Fusion 360's domain, including sketching, modeling, assembly, manufacturing (CAM), sheet metal, parameters, export, and analysis. There are no obvious gaps; it supports full CRUD/lifecycle operations and advanced workflows.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI-powered parametric CAD design in Autodesk Fusion 360 through natural language commands. Supports multiple AI backends (Ollama, OpenAI, Gemini, Claude) with intelligent routing and safety validation for geometric operations.
      23
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI-powered CAD automation in Autodesk Fusion 360 through natural language prompts. Features a modern web chat interface with multiple LLM backends for creating 3D models, sketches, and parametric designs.
      -
    • A
      license
      B
      quality
      C
      maintenance
      Connects AI coding agents to Autodesk Fusion 360 for CAD/CAM automation, exposing 84 tools for sketching, modeling, assembly, inspection, export, and G-code post-processing through any MCP-compatible client.
      85
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI coding agents to drive Autodesk Fusion 360 over the Model Context Protocol, exposing 92 tools for sketching, modeling, querying, measuring and exporting CAD geometry through natural language. Includes an in-Fusion add-in that executes API calls safely on Fusion's main thread, with stdio transport compatible with any MCP client.
      92
      MIT