Blender MCP Server
-
File Management Load a Blender file
load_file(filepath: str) -> strLoad a .blend file into Blender.Save the current Blender file
save_file(filepath: str) -> strSave the current scene to a specified path. -
Object Creation Create a cube
create_cube(name: str) -> strCreate a sphere
create_sphere(name: str) -> strList all objects
list_objects() -> list[str]Returns names of all objects in the scene. -
Object Manipulation Move an object
move_object(object_id: str, x: float, y: float, z: float) -> strRotate an object
rotate_object(object_id: str, rx: float, ry: float, rz: float) -> strRotates the object by Euler angles (radians).Compute distance between two objects
distance_between(obj1_id: str, obj2_id: str) -> float -
Export Export to glTF
export_gltf(filepath: str, objects: list[str] = None) -> strExports selected or all objects to a .glb/.gltf file.Export to point cloud
gltf_to_pointcloud(gltf_path: str, ply_path: str, num_points: int = 10000, include_interior: bool = False) -> strConverts a GLTF/GLB mesh to a PLY point cloud. include_interior=True samples points inside the mesh volume. num_points controls the number of points sampled.Set camera focal length. Tweaks focal length of a camera
set_camera_focal_length(focal_length_mm: float):Renders the image to png
def render_image(output_path: str):