Skip to main content
Glama

FreeCAD MCP

MIT License
  • Apple
  • Linux

execute_code

Run Python code within FreeCAD to control 3D object creation, editing, and management. Receive execution status, output, and a screenshot of the design for verification.

Instructions

Execute arbitrary Python code in FreeCAD.

Args: code: The Python code to execute. Returns: A message indicating the success or failure of the code execution, the output of the code execution, and a screenshot of the object.

Input Schema

NameRequiredDescriptionDefault
codeYes

Input Schema (JSON Schema)

{ "properties": { "code": { "title": "Code", "type": "string" } }, "required": [ "code" ], "title": "execute_codeArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/heok-yongssun/freecad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server