blender-mcp-server

v0.3.0
blender-mcp-server Checked 2 days ago Published 2 days ago

MCP server for controlling Blender via AI assistants

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

blender_scene_get_info

Get information about the current Blender scene including name, frame range, render engine, resolution, and object count.

blender_scene_list_objects

List all objects in the current Blender scene. Optionally filter by type (MESH, CAMERA, LIGHT, EMPTY, CURVE, etc.).

ParameterTypeDescription
type

blender_object_get_transform

Get the position, rotation, and scale of a Blender object by name.

ParameterTypeDescription
name *string

blender_object_get_hierarchy

Get the parent/child hierarchy of objects. If name is provided, returns the subtree for that object. Otherwise returns the full scene hierarchy.

ParameterTypeDescription
name

blender_material_list

List all materials in the Blender file.

blender_object_create

Create a new mesh object in Blender. Supported types: cube, sphere, cylinder, plane, cone, torus.

ParameterTypeDescription
location
mesh_typestring
name
sizenumber

blender_object_delete

Delete an object from the Blender scene by name.

ParameterTypeDescription
name *string

blender_object_translate

Move an object. Provide either 'location' for absolute positioning or 'offset' for relative movement, not both.

ParameterTypeDescription
name *string
location
offset

blender_object_rotate

Set the rotation of an object. Provide rotation as [x, y, z] angles. By default angles are in degrees.

ParameterTypeDescription
name *string
rotation *array
degreesboolean

blender_object_scale

Set the scale of an object. Provide scale as [x, y, z].

ParameterTypeDescription
name *string
scale *array

blender_object_duplicate

Duplicate an object in the Blender scene. Optionally provide a new name.

ParameterTypeDescription
name *string
new_name

blender_material_create

Create a new material. Optionally set an initial base color as [r, g, b] or [r, g, b, a] with values 0-1.

ParameterTypeDescription
color
namestring

blender_material_assign

Assign an existing material to an object.

ParameterTypeDescription
material *string
object *string

blender_material_set_color

Set the base color of a material. Color is [r, g, b] or [r, g, b, a] with values 0-1.

ParameterTypeDescription
color *array
name *string

blender_material_set_texture

Set an image texture as the base color of a material. Provide the file path to the image.

ParameterTypeDescription
filepath *string
name *string

blender_render_still

Render the current scene as a still image. Optionally set output path, resolution, and render engine (BLENDER_EEVEE, CYCLES, etc.). Use transport='bridge' for the live Blender add-on session, or transport='headless' with blend_file='/path/to/file.blend' to render in a separate background Blender process.

ParameterTypeDescription
blend_file
engine
factory_startup
output_pathstring
resolution_x
resolution_y
transportstring

blender_render_animation

Render an animation. Optionally set output path, frame range, and render engine. Use transport='bridge' for the live Blender add-on session, or transport='headless' with a blend_file to render in a separate background Blender process.

ParameterTypeDescription
blend_file
engine
factory_startup
frame_end
frame_start
output_pathstring
transportstring

blender_export_gltf

Export the scene as glTF/GLB. Provide the output file path.

ParameterTypeDescription
filepath *string

blender_export_obj

Export the scene as OBJ. Provide the output file path.

ParameterTypeDescription
filepath *string

blender_export_fbx

Export the scene as FBX. Provide the output file path.

ParameterTypeDescription
filepath *string

blender_history_undo

Undo the last operation in Blender.

blender_history_redo

Redo the last undone operation in Blender.

blender_python_exec

Execute a Python script in Blender's context synchronously. Provide either 'code' (inline Python string) or 'script_path' (path to a .py file), not both. The script has access to 'bpy', 'mathutils', and an 'args' dict with your supplied arguments. Set '__result__' in the script to return a JSON-serializable value. Returns the result, captured stdout/stderr, and execution duration. Use transport='bridge' for the live Blender add-on session, or transport='headless' to run the script in a separate `blender -b` process. For long-running tasks like baking, use blender_python_exec_async.

ParameterTypeDescription
args
blend_file
code
factory_startup
script_path
timeout_seconds
transportstring

blender_python_exec_async

Start a long-running Python script in Blender asynchronously. Same parameters as blender_python_exec. Returns a job_id immediately. Use blender_job_status to poll for completion, and blender_job_cancel to abort. The script can check '__cancel_event__.is_set()' to detect cancellation. Ideal for fluid baking, rigid body simulation, or heavy scene generation. Note: bridge jobs run on Blender's main thread, so the Blender UI is busy while they run. Use transport='headless' to run the job in a separate background Blender process instead.

ParameterTypeDescription
args
blend_file
code
factory_startup
script_path
timeout_seconds
transportstring

blender_job_status

Get the status of an async Blender job. Returns job_id, status (queued/running/succeeded/failed/cancelled), timestamps, result, stdout, stderr, and error. Poll this after starting a job with blender_python_exec_async.

ParameterTypeDescription
job_id *string

blender_job_cancel

Cancel a running or queued async Blender job. The job's __cancel_event__ is set; scripts that check it will stop gracefully.

ParameterTypeDescription
job_id *string

blender_job_list

List known async Blender jobs with their IDs, statuses, and creation timestamps.