fusion-reconstruct-mcp
Enables LLMs to reconstruct parametric Fusion 360 models from mesh (STL/3MF) or photo inputs by analyzing geometry and creating editable features via a Fusion 360 add-in bridge.
README
fusion-reconstruct-mcp
An MCP server that lets an LLM turn an STL/3MF mesh (or a reference photo) into a parametric Fusion 360 model - rebuilt feature by feature (sketches, extrudes, fillets, patterns...), not imported as a dumb mesh body.
Why
Slicers (Bambu Studio, PrusaSlicer, ...) only understand STL/3MF: baked triangle meshes. Fusion 360 only understands parametric feature trees. Importing an STL into Fusion gives you a solid you can look at but can't meaningfully edit - no parametric dimensions, no editable sketches, nothing you can push a slider on. This project bridges that gap by letting an LLM look at the mesh, figure out what it's made of (plates, holes, bosses, ribs...), and rebuild it as real Fusion features - so you get a model you can actually resize, add holes to, or otherwise modify the way you would something you built by hand.
Scope (read this first)
This targets mechanical/functional parts - brackets, enclosures, mounts, plates with bolt holes, bosses - reconstructed from primitives (extrude, revolve, fillet, chamfer, pattern, mirror, boolean ops). It does not attempt free-form/organic surface reconstruction; that's a much harder, less reliable problem this project doesn't try to solve. See docs/RECONSTRUCTION_STRATEGY.md for the intended workflow.
How it works
flowchart LR
LLM["LLM client"] -- MCP --> Server["MCP server<br/>(mesh analysis + Fusion bridge client)"]
Server -- HTTP, localhost --> Addin["Fusion 360 add-in<br/>(runs inside Fusion)"]
Addin --> Fusion[("Your live Fusion design")]
The MCP server exposes two families of tools:
mesh_summary,find_circular_holes,find_circular_faces,list_planar_facets,get_cross_section,render_orthographic_views,compare_meshes- pure mesh analysis (trimesh), no Fusion required. Used to understand the input file and to check the reconstruction's accuracy against it afterwards.fusion_*(create sketch, add line/circle/rectangle/arc, extrude, revolve, fillet, chamfer, pattern, mirror, combine, set/list parameters, export, screenshot, ...) - talk to a companion Fusion 360 add-in overhttp://127.0.0.1:6172, which executes them against the realadsk.fusionAPI inside a running Fusion session.
See docs/ARCHITECTURE.md for why it's split this way (short version: Fusion's API only runs inside Fusion's own process, on its main thread, with no pip access - so the add-in has to be a small stdlib-only HTTP bridge).
Setup
See docs/SETUP.md for full instructions. Short version:
git clone https://github.com/<your-username>/fusion-reconstruct-mcp.git
cd fusion-reconstruct-mcp
python -m venv .venv && source .venv/bin/activate # .venv\Scripts\activate on Windows
pip install -r requirements.txt
Then copy fusion_addin/FusionReconstructBridge/ into Fusion's AddIns folder and start
it from Utilities > Add-Ins > Scripts and Add-Ins, and point your MCP client
(claude mcp add ... or your mcp.json) at python -m server.mcp_server in this repo.
Usage
With Fusion running and the add-in started, ask your LLM client something like:
Reconstruct
~/Downloads/bracket.stlas a parametric Fusion 360 model, then export it and check how close it is to the original.
It will inspect the mesh, look at rendered views, locate holes/bosses, rebuild the part feature by feature in Fusion, and validate the result by exporting and diffing against the source mesh. For a photo instead of a mesh, it builds a first pass from your description/the image and refines it interactively with you - there's no ground-truth dimension data in a single photo, so treat that path as "assisted modeling," not "scan-to-CAD."
Status / limitations
- Circle/hole detection is a mesh-tessellation heuristic (facet outline circle-fitting)
- it works well on typical printable parts but isn't a general feature-recognition engine.
- Photo-based reconstruction estimates proportions; it does not measure real-world dimensions from a single image.
render_orthographic_viewsuses a plainmatplotlibwireframe/solid renderer (no GPU dependency) - good enough to see overall shape, not photorealistic, and can show minor z-ordering artifacts on complex parts.- One Fusion document/bridge connection at a time.
fusion_create_sketch's named-base-plane path (plane="XY"/"XZ"/"YZ", optionallyoffset_mm) is thoroughly live-verified. Its arbitrary-plane path (origin+normal) had a real bug fixed (setByThreePointsneeds point entities, not rawPoint3D- see git history) but was never confirmed working afterward: a second, different error ("Environment is not supported" fromConstructionPoints.add) appeared on the next attempt and went away after restarting the add-in, which looks like transient Fusion state rather than a code bug, but that path was worked around rather than re-tested. Treat it as unverified until someone confirms it live.- Built and smoke-tested against
mcp>=2.0.0'sMCPServerAPI. The Fusion-side actions have all been exercised against a real, running Fusion 360 session (not just written against the docs) - seetests/smoke_test_fusion_live.py(sketch → extrude → cut/join → export, verified against the original mesh to within 0.01mm) andtests/smoke_test_fusion_live_features.py(fillet, chamfer, mirror, circular pattern, revolve, explicit combine).sketch_add_line,sketch_add_arc_three_pointandpattern_rectangularshare code paths with tested siblings but don't have their own dedicated live test yet. None of this runs in CI (there's no headless Fusion) - issues/PRs againstfusion_addin/very welcome regardless.
License
MIT - see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。