MoonBit SDK for the Blender MCP server
Dependencies
moon add gmlewis/blender///|
async fn main {
let client = @blender.new_client("")
// Execute Python code in Blender
let res = client.execute_blender_code("import bpy; result = {'count': len(bpy.data.objects)}")
println(res)
// Get scene objects summary
let summary = client.get_objects_summary()
println(summary)
// Search the Blender Python API docs
let docs = client.search_api_docs("how to bake")
println(docs)
client.close()
}| Category | Tools |
|---|---|
| API Docs | get_python_api_docs, search_api_docs |
| Blend File | get_blendfile_summary_datablocks, get_blendfile_summary_datablocks_for_cli, get_blendfile_summary_missing_files, get_blendfile_summary_missing_files_for_cli, get_blendfile_summary_of_linked_libraries, get_blendfile_summary_of_linked_libraries_for_cli, get_blendfile_summary_path_info, get_blendfile_summary_path_info_for_cli, get_blendfile_summary_usage_guess, get_blendfile_summary_usage_guess_for_cli |
| Execute | execute_blender_code, execute_blender_code_for_cli |
| Manual Docs | search_manual_docs |
| Objects | get_object_detail_summary, get_objects_summary |
| Render | render_thumbnail_to_path, render_viewport_to_path |
| Screenshot | get_screenshot_of_area_as_image, get_screenshot_of_window_as_image, get_screenshot_of_window_as_json |
| Viewport | jump_to_view3d_object_by_name, jump_to_view3d_object_data_by_name |
| Workspace | jump_to_tab_by_name, jump_to_tab_by_space_type |
./scripts/generate-mbt-blender-sdk.py --verboseMoonBit SDK for the Blender MCP server
Dependencies