Skip to main content
Glama

freecad mcp

by neka-nat

execute_code

Run Python code directly in FreeCAD to control its functionality. Returns execution status, output, and object screenshots for integration and automation tasks.

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" }

Other Tools from freecad mcp

Related Tools

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/neka-nat/freecad-mcp'

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