Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahujasid/blender-mcp
/ functions
Functions
114 in github.com/ahujasid/blender-mcp
⨍
Functions
114
◇
Types & classes
11
↳
Endpoints
6
↓ 24 callers
Function
get_blender_connection
Get or create a persistent Blender connection
src/blender_mcp/server.py:220
↓ 24 callers
Method
send_command
Send a command to Blender and return the response
src/blender_mcp/server.py:117
↓ 9 callers
Function
get_telemetry
Get the global telemetry collector instance
src/blender_mcp/telemetry.py:313
↓ 7 callers
Method
_get_hyper3d_api_key
(self)
addon.py:72
↓ 7 callers
Method
record_event
Record a telemetry event (non-blocking)
src/blender_mcp/telemetry.py:161
↓ 5 callers
Method
_get_config_value
Read config in order: addon preferences -> scene -> env var.
addon.py:54
↓ 4 callers
Method
_get_aabb
Returns the world-space axis-aligned bounding box (AABB) of an object.
addon.py:376
↓ 4 callers
Method
_get_sketchfab_api_key
(self)
addon.py:84
↓ 4 callers
Method
start
(self)
addon.py:112
↓ 3 callers
Method
_check_user_consent
Check if user has consented to prompt collection via Blender addon
src/blender_mcp/telemetry.py:147
↓ 3 callers
Method
_get_hunyuan3d_secret_id
(self)
addon.py:91
↓ 3 callers
Method
_get_hunyuan3d_secret_key
(self)
addon.py:98
↓ 3 callers
Function
get_blendermcp_addon_preferences
Get add-on preferences object if available.
addon.py:39
↓ 3 callers
Method
stop
(self)
addon.py:141
↓ 2 callers
Method
_auth_headers
Headers for Supabase REST/Storage API requests
src/blender_mcp/telemetry.py:234
↓ 2 callers
Method
_clean_imported_glb
(filepath, mesh_name=None)
addon.py:1361
↓ 2 callers
Function
_extract_tool_params
Extract relevant params from kwargs for logging.
src/blender_mcp/telemetry_decorator.py:16
↓ 2 callers
Method
_get_hunyuan3d_api_url
(self)
addon.py:105
↓ 2 callers
Function
_process_bbox
(original_bbox: list[float] | list[int] | None)
src/blender_mcp/server.py:839
↓ 2 callers
Method
connect
Connect to the Blender addon socket server
src/blender_mcp/server.py:36
↓ 2 callers
Method
disconnect
Disconnect from the Blender addon
src/blender_mcp/server.py:51
↓ 2 callers
Method
get_tencent_cloud_sign_headers
Generate the signature header required for Tencent Cloud API requests headers
addon.py:2053
↓ 1 callers
Method
_execute_command_internal
Internal command execution with proper context
addon.py:266
↓ 1 callers
Method
_get_data_directory
Get directory for storing telemetry data
src/blender_mcp/telemetry.py:110
↓ 1 callers
Method
_get_or_create_uuid
Get or create anonymous customer UUID
src/blender_mcp/telemetry.py:123
↓ 1 callers
Method
_is_disabled
Check if telemetry is disabled via environment variables
src/blender_mcp/telemetry.py:97
↓ 1 callers
Method
_send_event
Send event to Supabase via the PostgREST API
src/blender_mcp/telemetry.py:241
↓ 1 callers
Method
create_hunyuan_job_local_site
( self, text_prompt: str = None, image: str = None)
addon.py:2212
↓ 1 callers
Method
create_hunyuan_job_main_site
( self, text_prompt: str = None, image: str = None )
addon.py:2142
↓ 1 callers
Method
create_rodin_job_fal_ai
( self, text_prompt: str=None, images: list[tuple[str, str]]=None,
addon.py:1286
↓ 1 callers
Method
create_rodin_job_main_site
( self, text_prompt: str=None, images: list[tuple[str, str]]=None,
addon.py:1251
↓ 1 callers
Method
execute_command
Execute a command in the main Blender thread
addon.py:256
↓ 1 callers
Function
get_package_version
Get the installed package version
src/blender_mcp/telemetry.py:26
↓ 1 callers
Method
get_polyhaven_status
Get the current status of PolyHaven integration
addon.py:1197
↓ 1 callers
Method
import_generated_asset_fal_ai
Fetch the generated asset, import into blender
addon.py:1505
↓ 1 callers
Method
import_generated_asset_hunyuan_ai
(self, name: str , zip_file_url: str)
addon.py:2342
↓ 1 callers
Method
import_generated_asset_main_site
Fetch the generated asset, import into blender
addon.py:1436
↓ 1 callers
Function
main
Entry point for the blender-mcp package
main.py:3
↓ 1 callers
Function
main
Run the MCP server
src/blender_mcp/server.py:1232
↓ 1 callers
Method
poll_hunyuan_job_status_ai
Call the job status API to get the job status
addon.py:2295
↓ 1 callers
Method
poll_rodin_job_status_fal_ai
Call the job status API to get the job status
addon.py:1346
↓ 1 callers
Method
poll_rodin_job_status_main_site
Call the job status API to get the job status
addon.py:1327
↓ 1 callers
Method
receive_full_response
Receive the complete response, potentially in multiple chunks
src/blender_mcp/server.py:61
↓ 1 callers
Function
record_startup
Record server startup event
src/blender_mcp/telemetry.py:337
↓ 1 callers
Function
register
()
addon.py:2622
↓ 1 callers
Method
upload_screenshot
Upload screenshot to Supabase Storage. Args: image_bytes: PNG image data prefix: Filename prefix (e.g., 'scre
src/blender_mcp/telemetry.py:272
Method
__init__
(self, host='localhost', port=9876)
addon.py:47
Method
__init__
Initialize telemetry collector
src/blender_mcp/telemetry.py:69
Method
_handle_client
Handle connected client
addon.py:196
Method
_server_loop
Main server loop in a separate thread
addon.py:163
Method
_worker_loop
Background worker that sends telemetry
src/blender_mcp/telemetry.py:222
Function
asset_creation_strategy
Defines the preferred strategy for creating assets in Blender
src/blender_mcp/server.py:1130
Function
async_wrapper
(*args, **kwargs)
src/blender_mcp/telemetry_decorator.py:74
Method
create_hunyuan_job
(self, *args, **kwargs)
addon.py:2133
Method
create_rodin_job
(self, *args, **kwargs)
addon.py:1242
Function
decorator
(func: Callable)
src/blender_mcp/telemetry_decorator.py:42
Function
download_polyhaven_asset
Download and import a Polyhaven asset into Blender. Parameters: - asset_id: The ID of the asset to download - asset_type: The type o
src/blender_mcp/server.py:480
Method
download_polyhaven_asset
(self, asset_id, asset_type, resolution="1k", file_format=None)
addon.py:555
Function
download_sketchfab_model
Download and import a Sketchfab model by its UID. The model will be scaled so its largest dimension equals target_size. Parameters:
src/blender_mcp/server.py:768
Method
download_sketchfab_model
Download a model from Sketchfab by its UID Parameters: - uid: The unique identifier of the Sketchfab model - normaliz
addon.py:1778
Method
draw
(self, context)
addon.py:2454
Method
draw
(self, context)
addon.py:2496
Method
execute
(self, context)
addon.py:2551
Method
execute
(self, context)
addon.py:2572
Method
execute
(self, context)
addon.py:2591
Method
execute
(self, context)
addon.py:2609
Function
execute_blender_code
Execute arbitrary Python code in Blender. Make sure to do it step-by-step by breaking it into smaller chunks. Parameters: - code: The Py
src/blender_mcp/server.py:375
Method
execute_code
Execute arbitrary Blender Python code
addon.py:491
Method
execute_wrapper
()
addon.py:218
Function
generate_hunyuan3d_model
Generate 3D asset using Hunyuan3D by providing either text description, image reference, or both for the desired asset, and import the asset
src/blender_mcp/server.py:1035
Function
generate_hyper3d_model_via_images
Generate 3D asset using Hyper3D by giving images of the wanted asset, and import the generated asset into Blender. The 3D asset has built-in
src/blender_mcp/server.py:886
Function
generate_hyper3d_model_via_text
Generate 3D asset using Hyper3D by giving description of the desired asset, and import the asset into Blender. The 3D asset has built-in mate
src/blender_mcp/server.py:850
Method
get_all_mesh_children
Recursively collect all mesh objects in the hierarchy
addon.py:1894
Function
get_hunyuan3d_status
Check if Hunyuan3D integration is enabled in Blender. Returns a message indicating whether Hunyuan3D features are available.
src/blender_mcp/server.py:1019
Method
get_hunyuan3d_status
Get the current status of Hunyuan3D integration
addon.py:2003
Function
get_hyper3d_status
Check if Hyper3D Rodin integration is enabled in Blender. Returns a message indicating whether Hyper3D Rodin features are available.
src/blender_mcp/server.py:612
Method
get_hyper3d_status
Get the current status of Hyper3D Rodin integration
addon.py:1212
Function
get_object_info
Get detailed information about a specific object in the Blender scene. Parameters: - object_name: The name of the object to get informat
src/blender_mcp/server.py:275
Method
get_object_info
Get detailed information about a specific object
addon.py:397
Function
get_polyhaven_categories
Get a list of categories for a specific asset type on Polyhaven. Parameters: - asset_type: The type of asset to get categories for (hdri
src/blender_mcp/server.py:394
Method
get_polyhaven_categories
Get categories for a specific asset type from Polyhaven
addon.py:510
Function
get_polyhaven_status
Check if PolyHaven integration is enabled in Blender. Returns a message indicating whether PolyHaven features are available.
src/blender_mcp/server.py:593
Function
get_scene_info
Get detailed information about the current Blender scene Parameters: - user_prompt: The original user prompt that led to this tool call (requ
src/blender_mcp/server.py:257
Method
get_scene_info
Get information about the current Blender scene
addon.py:341
Function
get_sketchfab_model_preview
Get a preview thumbnail of a Sketchfab model by its UID. Use this to visually confirm a model before downloading. Parameters: -
src/blender_mcp/server.py:726
Method
get_sketchfab_model_preview
Get thumbnail preview image of a Sketchfab model by its UID
addon.py:1692
Function
get_sketchfab_status
Check if Sketchfab integration is enabled in Blender. Returns a message indicating whether Sketchfab features are available.
src/blender_mcp/server.py:631
Method
get_sketchfab_status
Get the current status of Sketchfab integration
addon.py:1568
Method
get_telemetry_consent
Get the current telemetry consent status
addon.py:1182
Function
get_viewport_screenshot
Capture a screenshot of the current Blender 3D viewport. Parameters: - max_size: Maximum size in pixels for the largest dimension (defau
src/blender_mcp/server.py:294
Method
get_viewport_screenshot
Capture a screenshot of the current 3D viewport and save it to the specified path. Parameters: - max_size: Maximum size in p
addon.py:434
Function
import_generated_asset
Import the asset generated by Hyper3D Rodin after the generation task is completed. Parameters: - name: The name of the object in scene
src/blender_mcp/server.py:986
Method
import_generated_asset
(self, *args, **kwargs)
addon.py:1427
Function
import_generated_asset_hunyuan
Import the asset generated by Hunyuan3D after the generation task is completed. Parameters: - name: The name of the object in scene
src/blender_mcp/server.py:1101
Method
import_generated_asset_hunyuan
(self, *args, **kwargs)
addon.py:2339
Method
import_handler
()
addon.py:2276
Function
is_telemetry_enabled
Check if telemetry is enabled
src/blender_mcp/telemetry.py:345
Function
poll_hunyuan_job_status
Check if the Hunyuan3D generation task is completed. For Hunyuan3D: Parameters: - job_id: The job_id given in the generate m
src/blender_mcp/server.py:1071
Method
poll_hunyuan_job_status
(self, *args, **kwargs)
addon.py:2292
Function
poll_rodin_job_status
Check if the Hyper3D Rodin generation task is completed. For Hyper3D Rodin mode MAIN_SITE: Parameters: - subscription_key: T
src/blender_mcp/server.py:942
next →
1–100 of 114, ranked by callers