Interfaces with Autodesk Fusion 360 to execute CAD modeling operations, allowing users to create 3D designs through natural language commands that are converted into Fusion 360 toolbar-level commands and Python scripts.
Provides an HTTP API server implementation with endpoints for listing tools, calling individual tools, and executing sequences of tools for Fusion 360 operations.
Fusion 360 MCP Server
A Model Context Protocol (MCP) server that interfaces between Cline and Autodesk Fusion 360. This server exposes Fusion 360 toolbar-level commands as callable tools that map directly to Fusion's API.
🧠 Overview
This project allows Cline to:
Parse natural language prompts (e.g., "Make a box with rounded corners")
Resolve them into Fusion tool actions (e.g., CreateSketch → DrawRectangle → Extrude → Fillet)
Call those tools through this MCP server
Return Python scripts that can be executed in Fusion 360
🛠️ Installation
Prerequisites
Python 3.9 or higher
Autodesk Fusion 360
Setup
Clone this repository:
git clone https://github.com/yourusername/fusion360-mcp-server.git cd fusion360-mcp-serverInstall dependencies:
pip install -r requirements.txt
🚀 Usage
Running the HTTP Server
This will start the FastAPI server at http://127.0.0.1:8000
.
Running as an MCP Server
This will start the server in MCP mode, reading from stdin and writing to stdout.
API Endpoints
GET /
: Check if the server is runningGET /tools
: List all available toolsPOST /call_tool
: Call a single tool and generate a scriptPOST /call_tools
: Call multiple tools in sequence and generate a script
Example API Calls
List Tools
Call a Single Tool
Call Multiple Tools
📦 Available Tools
The server currently supports the following Fusion 360 tools:
Create
CreateSketch: Creates a new sketch on a specified plane
DrawRectangle: Draws a rectangle in the active sketch
DrawCircle: Draws a circle in the active sketch
Extrude: Extrudes a profile into a 3D body
Revolve: Revolves a profile around an axis
Modify
Fillet: Adds a fillet to selected edges
Chamfer: Adds a chamfer to selected edges
Shell: Hollows out a solid body with a specified wall thickness
Combine: Combines two bodies using boolean operations
Export
ExportBody: Exports a body to a file
🔌 MCP Integration
To use this server with Cline, add it to your MCP settings configuration file:
🧩 Tool Registry
Tools are defined in src/tool_registry.json
. Each tool has:
name: The name of the tool
description: What the tool does
parameters: The parameters the tool accepts
docs: Link to relevant Fusion API documentation
Example tool definition:
📝 Script Generation
The server generates Fusion 360 Python scripts based on the tool calls. These scripts can be executed in Fusion 360's Script Editor.
Example generated script:
🧪 Extending the Server
Adding New Tools
Add a new tool definition to
src/tool_registry.json
Add a script template to
SCRIPT_TEMPLATES
insrc/script_generator.py
Add parameter processing logic to
_process_parameters
insrc/script_generator.py
📚 Documentation Links
🔄 Future Enhancements
Session state tracking for context-aware operations
Dynamic tool registration
Automation via socket or file polling
More Fusion commands
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
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 enables Cline to translate natural language prompts into Fusion 360 CAD operations by mapping commands to Fusion's API and generating executable Python scripts.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -8
- -securityAlicense-qualityA Model Context Protocol server that connects AI assistants like Cline to Atlassian Jira and Confluence, enabling them to query data and perform actions through a standardized interface.Last updated -4141MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables agent applications like Cursor and Cline to integrate with Alibaba Cloud Function Compute, allowing them to deploy and manage serverless functions through natural language interactions.Last updated -12417MIT License
- AsecurityFlicenseAqualityA centralized Model Context Protocol server that provides common development tools (like formatting and translation) across all your Cline projects without needing to install them individually.Last updated -8