How archimedescrypto/fusion360-mcp-server works
Project type and purpose
• This is a Python-based microservice (FastAPI) that acts as a Model Context Protocol (MCP) server for Autodesk Fusion 360.
• It exposes a small HTTP API and an MCP (stdin/stdout) interface so that an LLM-driven client (Cline) can issue high-level tool calls, receive back generated Fusion 360 Python scripts, and execute them in Fusion.
File structure
• Top level
– setup_mcp.py: CLI entry point for MCP mode
– requirements.txt / setup_mcp.py / LICENSE / README.md / .gitignore
• src/
– main.py: HTTP + MCP server entrypoint (FastAPI app)
– script_generator.py: logic to turn tool calls into Fusion 360 Python script text
– tool_registry.json: JSON-driven definition of all supported tools
• tools/
– add_tool.py, update_mcp_settings.py, loft_profiles_template.py, example_tool.json
– Helpers to manage and extend the registry
• examples/ & tests/
– examples/ show how to call the API or integrate via MCP
– tests/ validate the HTTP endpoints and core logic
README for additional insights
• Describes two modes: HTTP server (GET /, GET /tools, POST /call_tool(s)) and MCP mode (stdin/stdout)
• Lists supported tools, how new tools get registered, and how the script generator maps calls to Fusion API calls
• Emphasizes extensibility via tool_registry.json and script_generator.py