Skip to main content
Glama

Fusion360 MCP Server

Бета-версия — проект находится в стадии активной разработки. API и поведение инструментов могут меняться от версии к версии. Используйте на свой страх и риск. Отзывы и сообщения об ошибках приветствуются через GitHub Issues.

MCP-сервер, который подключает ИИ-агентов для написания кода к Autodesk Fusion 360 для автоматизации CAD.

Протестировано с Claude Code. Работает с любым MCP-совместимым клиентом — OpenCode, Codex, Cursor или любым другим, поддерживающим Model Context Protocol.

Как это работает

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

Два компонента:

  1. MCP Server (этот репозиторий) — процесс Python, который общается по протоколу MCP с Claude и пересылает команды по TCP.

  2. Fusion360MCP Add-in (устанавливается в папку AddIns Fusion) — работает внутри 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

Вы должны увидеть [MCP] Server listening on localhost:9876 в окне TEXT COMMANDS.

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. Удалите запись fusion360 из конфигурации вашего MCP-клиента.

  2. Остановите надстройку во Fusion (Shift+S → Add-Ins → Fusion360MCP → Stop).

  3. Удалите папку надстройки из каталога AddIns во Fusion.

Доступные инструменты (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

Лофтинг между двумя или более профилями

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

Объединение/вычитание/пересечение двух тел

delete_all

Очистка проекта

undo

Отмена последней операции (с защитой типа проекта)

Прямые примитивы

Инструмент

Описание

create_box

Параллелепипед (через TemporaryBRepManager)

create_cylinder

Цилиндр

create_sphere

Сфера

create_torus

Тор

Операции с поверхностями

Инструмент

Описание

patch_surface

Создание заплатки из граничных ребер

stitch_surfaces

Сшивание поверхностных тел в одно

thicken_surface

Утолщение поверхности в твердое тело

ruled_surface

Линейчатая поверхность из ребра

trim_surface

Обрезка поверхности другим телом

Листовой металл

Инструмент

Описание

create_flange

Создание фланца на ребре

create_bend

Добавление сгиба

flat_pattern

Создание развертки

unfold

Развертывание определенных сгибов

Конструкционная геометрия

Инструмент

Описание

create_construction_plane

Смещение, угол, средняя плоскость, по 3 точкам, касательная

create_construction_axis

По двум точкам, пересечение, ребро, перпендикуляр

Сборка

Инструмент

Описание

create_component

Создание компонента сборки

add_joint

Соединение между двумя компонентами

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

Выполнение произвольного Python во Fusion (в стиле 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).

  • Одна операция на вызов инструмента. Пакетная обработка нескольких операций приводит к сбою надстройки.

  • Время ожидания команд — 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