MCPcopy Create free account

hub / github.com/capoomgit/houdini-mcp / functions

Functions110 in github.com/capoomgit/houdini-mcp

↓ 25 callersFunctionsend
(cmd, params=None, expect_error=False)
tests/test_tools.py:18
↓ 15 callersFunctionok
(name)
tests/test_tools.py:27
↓ 13 callersFunction_houdini_call
Relay a command to Houdini and normalize the response envelope.
houdini_mcp_server.py:688
↓ 13 callersMethod_resolve_node
Return the hou.Node at 'path' or raise a clear error.
server.py:489
↓ 11 callersMethodsend_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 callersFunctionget_houdini_connection
Get or create a persistent HoudiniConnection object.
houdini_mcp_server.py:551
↓ 7 callersMethod_cleanup_client
(self)
server.py:109
↓ 6 callersMethoddisconnect
Close socket if open.
houdini_mcp_server.py:437
↓ 4 callersMethod_attrib_summary
(attribs)
server.py:855
↓ 4 callersMethod_cook_and_report
Force-cook a node and return a structured pass/fail report.
server.py:531
↓ 4 callersMethodstop
Stop listening; close sockets and timers.
server.py:93
↓ 3 callersMethod_jsonable
Convert HOM values (vectors, tuples, ...) to JSON-friendly types.
server.py:513
↓ 3 callersMethod_parm_value
Evaluate a parm tuple; single-component parms come back as scalars.
server.py:524
↓ 3 callersMethod_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 callersMethodconnect
Connect to the Houdini plugin (which is listening on self.host:self.port).
houdini_mcp_server.py:417
↓ 3 callersFunctionrotate_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 callersFunctionsetup_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 callersMethod_cleanup_socket
(self)
server.py:118
↓ 2 callersMethod_cleanup_timer
(self)
server.py:101
↓ 2 callersMethod_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 callersFunctionadjust_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 callersFunctioncalculate_bounding_box
Calculate the collective bounding box of all given nodes.
HoudiniMCPRender.py:39
↓ 2 callersMethoddelete_node
Deletes a node from the scene.
server.py:396
↓ 2 callersFunctionfind_displayed_geometry
Find all displayed geometry nodes in the scene.
HoudiniMCPRender.py:6
↓ 2 callersFunctionfix_rgb
(color_val)
houdini_mcp_server.py:89
↓ 2 callersFunctionsetup_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 callersMethod_download_file
Download from 'url' to local 'dest_folder', returning local filepath. Helper for import_opus_url.
server.py:1044
↓ 1 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_set_run_over
Match 'run_over' against the wrangle's class menu (token or label).
server.py:788
↓ 1 callersMethod_undo_group
(self, cmd_type)
server.py:283
↓ 1 callersMethod_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 callersFunctioncheck_rgbs
(structure: str, params: dict)
houdini_mcp_server.py:275
↓ 1 callersFunctioncreate_opus_batch
(component_type: str, params: dict, count: int = 1)
houdini_mcp_server.py:299
↓ 1 callersFunctioncreate_opus_component
(structure: str, params: dict, count: int = 1)
houdini_mcp_server.py:344
↓ 1 callersMethodexecute_command
Entry point for executing a JSON command from the client.
server.py:204
↓ 1 callersFunctionformat_params
(opus_response: dict)
houdini_mcp_server.py:145
↓ 1 callersFunctionget_all_component_names
()
houdini_mcp_server.py:104
↓ 1 callersFunctionget_color_params
(component_name: str, opus_asset_keys: List[str])
houdini_mcp_server.py:192
↓ 1 callersFunctionget_formatted_opus_params
(structure: str)
houdini_mcp_server.py:245
↓ 1 callersMethodget_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 callersFunctionget_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 callersFunctionget_param_json
(param_json: dict, color_params: dict)
houdini_mcp_server.py:213
↓ 1 callersFunctionget_struct_params
(struct: str)
houdini_mcp_server.py:115
↓ 1 callersFunctionmain
Run the MCP server on stdio.
houdini_mcp_server.py:1112
↓ 1 callersFunctionrender_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 callersFunctionrender_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 callersFunctionrender_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 callersMethodset_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 callersMethodstart
Begin listening on the given port; sets up a QTimer to poll for data.
server.py:65
↓ 1 callersFunctionstart_server
(host='127.0.0.1', port=9876)
__init__.py:4
↓ 1 callersFunctionstop_server
()
__init__.py:18
↓ 1 callersFunctionvariate_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
Functionconnect_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
Methodconnect_nodes
Wire from_path's output into to_path's input.
server.py:554
Functioncook_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
Methodcook_node
Force-cook a node and report errors, warnings and cook time.
server.py:780
Functioncreate_node
Create a new node in Houdini.
houdini_mcp_server.py:621
Methodcreate_node
Creates a new node in the specified parent.
server.py:344
Functioncreate_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
Methodcreate_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
Functiondelete_node
Delete a node from the scene by path.
houdini_mcp_server.py:731
Methoddisconnect_input
Disconnect one input of a node.
server.py:570
Functiondisconnect_node_input
Disconnect one input of a node (reports what it was connected to).
houdini_mcp_server.py:725
Methodexecute_code
Executes arbitrary Python code within Houdini.
server.py:460
Functionexecute_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
Functionfind_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
Methodfind_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
Methodget_asset_categories
Placeholder for an asset library feature (e.g., Poly Haven).
server.py:1390
Methodget_asset_lib_status
Checks if the user toggled asset library usage in hou.session.
server.py:297
Functionget_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
Methodget_geometry_data
Read actual attribute values from geometry, paginated. element: 'points' or 'primitives'. attributes: list of names (default:
server.py:898
Functionget_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
Methodget_node_info
Returns detailed information about a single node.
server.py:406
Functionget_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
Methodget_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
Functionget_scene_info
Ask Houdini for scene info. Returns JSON as a string.
houdini_mcp_server.py:600
Methodget_scene_info
Returns basic info about the current .hip file and top-level nodes per context.
server.py:305
Methodhandle_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
Methodhandle_render_quad_view
Handles the 'render_quad_view' command.
server.py:1316
Methodhandle_render_single_view
Handles the 'render_single_view' command.
server.py:1283
Methodhandle_render_specific_camera
Handles the 'render_specific_camera' command.
server.py:1358
Methodimport_asset
Placeholder for asset import logic.
server.py:1398
Functioninitialize_plugin
()
__init__.py:34
Functionis_server_running
()
__init__.py:26
Methodlayout_children
Auto-layout all children of a network node.
server.py:737
Functionlayout_network
Auto-layout all children of a network node for a tidy graph.
houdini_mcp_server.py:780
Methodmodify_node
Modifies an existing node.
server.py:369
Functionopus_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
Functionopus_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
Functionopus_get_model_names
Returns a list of available OPUS component/structure names.
houdini_mcp_server.py:957
Functionopus_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
Functionopus_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
Functionopus_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
Functionrender_quad_views
Render 4 canonical views from Houdini and return the image paths.
houdini_mcp_server.py:901
Functionrender_single_view
Render a single view inside Houdini and return the rendered image path.
houdini_mcp_server.py:872
Functionrender_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