Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/capoomgit/houdini-mcp
/ functions
Functions
110 in github.com/capoomgit/houdini-mcp
⨍
Functions
110
◇
Types & classes
4
↓ 25 callers
Function
send
(cmd, params=None, expect_error=False)
tests/test_tools.py:18
↓ 15 callers
Function
ok
(name)
tests/test_tools.py:27
↓ 13 callers
Function
_houdini_call
Relay a command to Houdini and normalize the response envelope.
houdini_mcp_server.py:688
↓ 13 callers
Method
_resolve_node
Return the hou.Node at 'path' or raise a clear error.
server.py:489
↓ 11 callers
Method
send_command
Send a JSON command to Houdini's server and wait for the JSON response. Protocol: each message is a 4-byte big-endian length
houdini_mcp_server.py:447
↓ 8 callers
Function
get_houdini_connection
Get or create a persistent HoudiniConnection object.
houdini_mcp_server.py:551
↓ 7 callers
Method
_cleanup_client
(self)
server.py:109
↓ 6 callers
Method
disconnect
Close socket if open.
houdini_mcp_server.py:437
↓ 4 callers
Method
_attrib_summary
(attribs)
server.py:855
↓ 4 callers
Method
_cook_and_report
Force-cook a node and return a structured pass/fail report.
server.py:531
↓ 4 callers
Method
stop
Stop listening; close sockets and timers.
server.py:93
↓ 3 callers
Method
_jsonable
Convert HOM values (vectors, tuples, ...) to JSON-friendly types.
server.py:513
↓ 3 callers
Method
_parm_value
Evaluate a parm tuple; single-component parms come back as scalars.
server.py:524
↓ 3 callers
Method
_process_rendered_image
Helper to validate and return metadata for a rendered image file. Returns the file path so the caller can open it directly — avoids
server.py:1238
↓ 3 callers
Method
connect
Connect to the Houdini plugin (which is listening on self.host:self.port).
houdini_mcp_server.py:417
↓ 3 callers
Function
rotate_camera_center
Rotate the camera center null node by the specified angles around each axis. Args: null_node: The null node to rotate ro
HoudiniMCPRender.py:158
↓ 3 callers
Function
setup_render_node
Create a render node based on the specified render engine. Args: render_engine: The render engine to use ("opengl", "karma", or
HoudiniMCPRender.py:341
↓ 2 callers
Method
_cleanup_socket
(self)
server.py:118
↓ 2 callers
Method
_cleanup_timer
(self)
server.py:101
↓ 2 callers
Method
_resolve_geometry_node
Resolve 'path' to a SOP node that owns geometry. Accepts a SOP path directly, or a geometry container (OBJ node) whose display SOP is
server.py:496
↓ 2 callers
Function
adjust_camera_to_fit_bbox
Adjust camera's distance or ortho width to fully encompass the bounding box, accounting for any rotation of the parent null node. Ar
HoudiniMCPRender.py:199
↓ 2 callers
Function
calculate_bounding_box
Calculate the collective bounding box of all given nodes.
HoudiniMCPRender.py:39
↓ 2 callers
Method
delete_node
Deletes a node from the scene.
server.py:396
↓ 2 callers
Function
find_displayed_geometry
Find all displayed geometry nodes in the scene.
HoudiniMCPRender.py:6
↓ 2 callers
Function
fix_rgb
(color_val)
houdini_mcp_server.py:89
↓ 2 callers
Function
setup_camera_rig
Set up a null and camera rig at the given position. Args: bbox_center: The center position for the null orthographic: If
HoudiniMCPRender.py:99
↓ 1 callers
Method
_download_file
Download from 'url' to local 'dest_folder', returning local filepath. Helper for import_opus_url.
server.py:1044
↓ 1 callers
Method
_execute_command_internal
Internal dispatcher that looks up 'cmd_type' from the JSON, calls the relevant function, and returns a JSON-friendly dict.
server.py:213
↓ 1 callers
Method
_process_server
Timer callback to accept connections and process any incoming data. This runs in the main Houdini thread to avoid concurrency issues.
server.py:126
↓ 1 callers
Method
_set_one_parm
Set a single parameter (or parm tuple). Returns (previous, new). Resolves menu tokens/labels for string values on menu parms, and
server.py:585
↓ 1 callers
Method
_set_run_over
Match 'run_over' against the wrangle's class menu (token or label).
server.py:788
↓ 1 callers
Method
_undo_group
(self, cmd_type)
server.py:283
↓ 1 callers
Method
_unzip_file
Unzip 'zip_path' into 'dest_folder'. Return list of extracted file paths. Helper for import_opus_url. Validates each
server.py:1086
↓ 1 callers
Function
check_rgbs
(structure: str, params: dict)
houdini_mcp_server.py:275
↓ 1 callers
Function
create_opus_batch
(component_type: str, params: dict, count: int = 1)
houdini_mcp_server.py:299
↓ 1 callers
Function
create_opus_component
(structure: str, params: dict, count: int = 1)
houdini_mcp_server.py:344
↓ 1 callers
Method
execute_command
Entry point for executing a JSON command from the client.
server.py:204
↓ 1 callers
Function
format_params
(opus_response: dict)
houdini_mcp_server.py:145
↓ 1 callers
Function
get_all_component_names
()
houdini_mcp_server.py:104
↓ 1 callers
Function
get_color_params
(component_name: str, opus_asset_keys: List[str])
houdini_mcp_server.py:192
↓ 1 callers
Function
get_formatted_opus_params
(structure: str)
houdini_mcp_server.py:245
↓ 1 callers
Method
get_geometry_info
Summarize a node's geometry: element counts, bounding box, attributes and group names. Accepts a SOP or a geometry container path.
server.py:861
↓ 1 callers
Function
get_opus_job_result
Query OPUS API via RapidAPI for latest job info (including download URLs). Uses GET_JOB_RESULT_URL constructed from RapidAPI env vars. Re
houdini_mcp_server.py:1069
↓ 1 callers
Function
get_param_json
(param_json: dict, color_params: dict)
houdini_mcp_server.py:213
↓ 1 callers
Function
get_struct_params
(struct: str)
houdini_mcp_server.py:115
↓ 1 callers
Function
main
Run the MCP server on stdio.
houdini_mcp_server.py:1112
↓ 1 callers
Function
render_quad_view
Create four standard views and render them: - Front view (0,0,0) - Left view (0,-90,0) - Top view (-90,0,0) - Perspective view (-
HoudiniMCPRender.py:563
↓ 1 callers
Function
render_single_view
Set up camera rig and render a single view with specified rotation. Args: orthographic: If True, create an orthographic camera
HoudiniMCPRender.py:491
↓ 1 callers
Function
render_specific_camera
Render using a specific camera that already exists in the scene. Args: camera_path: Path to the camera node (e.g., "/obj/mycamer
HoudiniMCPRender.py:662
↓ 1 callers
Method
set_parameters
Set multiple parameters on a node in one call. Values: scalar for single parms, list for tuples (e.g. "t": [0, 1, 0]), menu t
server.py:637
↓ 1 callers
Method
start
Begin listening on the given port; sets up a QTimer to poll for data.
server.py:65
↓ 1 callers
Function
start_server
(host='127.0.0.1', port=9876)
__init__.py:4
↓ 1 callers
Function
stop_server
()
__init__.py:18
↓ 1 callers
Function
variate_opus_result
(result_id: str, count: int = 12)
houdini_mcp_server.py:367
Method
__init__
(self, host='127.0.0.1', port=9876)
server.py:56
Method
_handle_ping
(self)
server.py:290
Function
connect_nodes
Wire one node's output into another node's input. Both nodes must live in the same network. input_index selects which input of to_path to con
houdini_mcp_server.py:709
Method
connect_nodes
Wire from_path's output into to_path's input.
server.py:554
Function
cook_node
Force-cook a node and report whether it cooked cleanly, with errors, warnings and cook time. The definitive way to verify a node works.
houdini_mcp_server.py:800
Method
cook_node
Force-cook a node and report errors, warnings and cook time.
server.py:780
Function
create_node
Create a new node in Houdini.
houdini_mcp_server.py:621
Method
create_node
Creates a new node in the specified parent.
server.py:344
Function
create_wrangle
Create an Attribute Wrangle SOP with the given VEX snippet, optionally wiring input_node into its first input. run_over: points, primitives,
houdini_mcp_server.py:809
Method
create_wrangle
Create a wrangle SOP, set its VEX snippet, optionally wire an input, then cook it so VEX compile errors are reported immediately.
server.py:804
Function
delete_node
Delete a node from the scene by path.
houdini_mcp_server.py:731
Method
disconnect_input
Disconnect one input of a node.
server.py:570
Function
disconnect_node_input
Disconnect one input of a node (reports what it was connected to).
houdini_mcp_server.py:725
Method
execute_code
Executes arbitrary Python code within Houdini.
server.py:460
Function
execute_houdini_code
Execute arbitrary Python code in Houdini's environment. LAST RESORT: prefer the dedicated tools (connect_nodes, set_parameters, create_wrangl
houdini_mcp_server.py:643
Function
find_error_nodes
Scan the network under root_path for nodes whose last cook produced errors (optionally warnings too). Fast — reads existing error state w
houdini_mcp_server.py:786
Method
find_error_nodes
Walk the network under root_path and report nodes whose last cook produced errors (and optionally warnings). Does not force cooks.
server.py:743
Method
get_asset_categories
Placeholder for an asset library feature (e.g., Poly Haven).
server.py:1390
Method
get_asset_lib_status
Checks if the user toggled asset library usage in hou.session.
server.py:297
Function
get_geometry_data
Read actual attribute values from geometry, paginated (limit capped at 500 — use start to page through large geometry). element: 'points' or
houdini_mcp_server.py:853
Method
get_geometry_data
Read actual attribute values from geometry, paginated. element: 'points' or 'primitives'. attributes: list of names (default:
server.py:898
Function
get_geometry_info
Summarize a node's geometry: point/primitive/vertex counts, bounding box, attribute listings per class, and group names. Accepts a SOP path o
houdini_mcp_server.py:842
Method
get_node_info
Returns detailed information about a single node.
server.py:406
Function
get_parameter_schema
Describe a node's parameters: names, labels, types, tuple sizes, current values, defaults, numeric ranges and menu options. Use this to disco
houdini_mcp_server.py:750
Method
get_parameter_schema
Describe a node's parameters: name, label, type, size, current value, defaults, ranges and menu options. Filter with a glob 'pattern'
server.py:657
Function
get_scene_info
Ask Houdini for scene info. Returns JSON as a string.
houdini_mcp_server.py:600
Method
get_scene_info
Returns basic info about the current .hip file and top-level nodes per context.
server.py:305
Method
handle_import_opus_url
Downloads a ZIP file from URL, unzips it, finds a USD file, and imports it into a new subnet in Houdini.
server.py:1113
Method
handle_render_quad_view
Handles the 'render_quad_view' command.
server.py:1316
Method
handle_render_single_view
Handles the 'render_single_view' command.
server.py:1283
Method
handle_render_specific_camera
Handles the 'render_specific_camera' command.
server.py:1358
Method
import_asset
Placeholder for asset import logic.
server.py:1398
Function
initialize_plugin
()
__init__.py:34
Function
is_server_running
()
__init__.py:26
Method
layout_children
Auto-layout all children of a network node.
server.py:737
Function
layout_network
Auto-layout all children of a network node for a tidy graph.
houdini_mcp_server.py:780
Method
modify_node
Modifies an existing node.
server.py:369
Function
opus_check_job_status
Checks the status of an OPUS batch job directly via the API. Requires the batch_id returned by opus_create_model or opus_variate_model. R
houdini_mcp_server.py:1013
Function
opus_create_model
Starts a batch job to create one or more 3D models using the OPUS API. Requires the model structure name and a dictionary of parameters.
houdini_mcp_server.py:977
Function
opus_get_model_names
Returns a list of available OPUS component/structure names.
houdini_mcp_server.py:957
Function
opus_get_model_params_schema
Retrieves the parameter schema or format instructions for a given OPUS model structure. Returns a dictionary, which might contain 'result' (J
houdini_mcp_server.py:965
Function
opus_import_model_url
Asks Houdini to download a model (zip containing USD) from a URL and import it into the scene. Requires the download URL (likely obtained fro
houdini_mcp_server.py:1027
Function
opus_variate_model
Starts a batch job to create variations of an existing OPUS model result. Requires the result_id of the base model. Returns a dictionary
houdini_mcp_server.py:994
Function
render_quad_views
Render 4 canonical views from Houdini and return the image paths.
houdini_mcp_server.py:901
Function
render_single_view
Render a single view inside Houdini and return the rendered image path.
houdini_mcp_server.py:872
Function
render_specific_camera
Render from a specific camera path in the Houdini scene.
houdini_mcp_server.py:926
next →
1–100 of 110, ranked by callers