Cover image
Try Now
2025-04-14

Autodesk Fusion的模型上下文协议(MCP)服务器,可提供从ADSK到AI客户端(例如Claude或Cursor)的资源和工具。

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Fusion 360 MCP Server

This repository contains a Model Context Protocol (MCP) server for Autodesk Fusion 360. It enables AI assistants like Claude to interact directly with Fusion 360 using the MCP protocol.

Overview

The server is implemented as a Fusion 360 add-in that exposes Fusion 360's functionality through MCP. This allows AI agents to:

  1. Access information about the current design
  2. Create and modify design elements
  3. Receive context-specific prompts for CAD tasks

The repository includes:

  1. MCPserve/ - The Fusion 360 add-in that implements the MCP server
  2. client.py - A testing utility to verify server functionality
  3. install_mcp_for_fusion.py - A helper script to install the MCP package for Fusion 360's Python environment

How It Works

The MCP server runs within Fusion 360 and exposes a communication channel that AI agents can use to:

  1. Access resources - Get information about the current design, components, parameters, etc.
  2. Use tools - Perform actions like creating sketches, adding parameters, or displaying messages
  3. Get prompts - Receive specialized prompt templates for CAD-related tasks

Requirements

  • Autodesk Fusion 360
  • Python 3.7+ (for installation and testing)
  • MCP Python SDK: pip install "mcp[cli]" (must be installed in Fusion 360's Python environment)

Installation

1. Install MCP in Fusion 360's Python Environment

Fusion 360 uses its own Python environment, separate from your system's Python. The MCP package must be installed there.

Using the Installer Script (Recommended):

python install_mcp_for_fusion.py

This script will:

  1. Find all Fusion 360 Python installations on your system
  2. Install the MCP package with CLI extras for each installation
  3. Verify the installation was successful

Manual Installation:

If the installer script doesn't work, you can manually install the package:

  1. Find Fusion 360's Python executable (usually in Autodesk\webdeploy\production\[version]\Python)
  2. Install the package:
    "[Fusion Python Path]\python.exe" -m pip install "mcp[cli]"
    

2. Install the Fusion 360 Add-in

  1. In Fusion 360, click on "Tools" tab → "Add-Ins" → "Scripts and Add-Ins"
  2. Click the green "+" button in the "My Add-Ins" tab
  3. Browse to and select the MCPserve folder from this repository
  4. Click "Open" to add it to your add-ins
  5. Select it and click "Run" to start it

Using the MCP Server with AI Assistants

The server enables AI assistants like Claude to interact with Fusion 360 in several ways:

Resources

AI assistants can access these resources:

  • fusion://active-document-info - Basic information about the active document
  • fusion://design-structure - Detailed structure of the current design
  • fusion://parameters - User parameters defined in the document

Tools

AI assistants can use these tools:

  • message_box - Display a message box in Fusion 360
  • create_new_sketch - Create a new sketch on a specified plane
  • create_parameter - Create a new parameter with specified values

Prompts

AI assistants can use specialized prompts:

  • create_sketch_prompt - Expert guidance for creating sketches
  • parameter_setup_prompt - Expert guidance for setting up parameters

Testing the Server

Use the included client script to test if the server is functioning correctly:

python client.py --test-connection

To test specific functionality:

# Test displaying a message box
python client.py --test-message-box

# Test listing available resources
python client.py --list-resources

# Test listing available tools
python client.py --list-tools

# Test listing available prompts
python client.py --list-prompts

Communication Methods

The MCP server supports two methods of communication:

  1. MCP Protocol over HTTP SSE - The standard MCP protocol implementation, accessible at http://127.0.0.1:3000/sse
  2. File-based Communication - A backup method using files in the mcp_comm directory for environments that can't directly connect to the HTTP endpoint

Technical Details

The server implementation:

  1. Runs as a background thread in Fusion 360 to maintain responsiveness
  2. Automatically creates ready files to signal when it's available
  3. Registers resources, tools, and prompts with the MCP protocol
  4. Monitors for file-based commands when HTTP communication isn't possible

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    5 (1)
    Avatar
    user_dydfmX98
    2025-04-16

    The fusion-mcp-server by Joe-Spencer is an exceptional tool for MCP applications. Its robust features and seamless integration have significantly streamlined my workflow. The well-documented resources and active community support on its GitHub page make it a reliable choice for both beginners and experienced users. Highly recommended!