Skip to main content
Glama

blender_exec

Execute Python scripts within Blender to automate 3D content creation, query scene data, and control the software remotely through the MCP Bridge.

Instructions

Execute a Python script inside Blender. IMPORTANT RULES: - The script MUST define a main() function and call it - Use send_status("message") to report progress - Use bpy.data.* APIs instead of bpy.ops.* when possible - Script MUST terminate - no infinite loops - Catch exceptions and handle errors gracefully Args: script: Python code to execute in Blender. Has access to 'bpy' and 'send_status()'. Returns: JSON string with execution results including status and any messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYes

Latest Blog Posts

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/MITHRAN-BALACHANDER/Blender-MCP-antigravity'

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