healkeiser/fxhoudinimcp
The most comprehensive MCP server for SideFX Houdini.
6112a04c3ef5Paths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 13 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
- 1 tool, prompt or resource registered only in the repository's tests is not counted on this page
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 216 tools, 9 prompts, 8 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
copernicus_workflow, debug_scene, get_houdini_connection_status, get_workflow_guide, hda_development, heightfield_terrain and 6 morerender_sheetNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files12 tools · copernicus_workflow, debug_scene, get_houdini_connection_status +9
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (233: 216 tools, 9 prompts, 8 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
copernicus_workflowprompt Guide for image work in Copernicus (COPs).Filesoutside text
Guide for image work in Copernicus (COPs).
Args:
description: What to build (e.g. "a tileable rust texture")debug_sceneprompt Systematic approach to debugging a Houdini scene.Filesoutside text
Systematic approach to debugging a Houdini scene.
Args:
problem_description: What problem the user is experiencinghda_developmentprompt Guide for creating a Houdini Digital Asset.Filesoutside text
Guide for creating a Houdini Digital Asset.
Args:
asset_description: What the HDA should do
context: Node context for the HDA (Sop, Lop, Object, etc.)heightfield_terrainprompt Guide for building terrain with heightfields.Filesoutside text
Guide for building terrain with heightfields.
Args:
description: The terrain to build (e.g. "an eroded desert mesa")houdini_workflowprompt Guide for any Houdini subject the shipped manual documents.Filesoutside text
Guide for any Houdini subject the shipped manual documents.
One entry point rather than a function per subject, so a new corpus needs a
markdown file and nothing else. `topic` is the SideFX help scope name, which
is also the markdown filename: character, render, shade, crowds, copy, props,
dopparticles, io, anim, ocean, grains, muscles, finiteelements, feathers,
fur, ml, composite, heightfields_cop, plus every subject that has its own
named prompt (pyro, fluid, vellum, destruction, mpm, solaris, tops, model,
assets, copernicus, heightfields, dyno, troubleshooting).
Args:
topic: Help scope name for the subject, e.g. "character" or "render"
description: What you are trying to buildpdg_pipelineprompt Guide for building a PDG/TOPs pipeline.Filesoutside text
Guide for building a PDG/TOPs pipeline.
Args:
task_description: What the pipeline should accomplishprocedural_modeling_workflowprompt Guide for building a procedural modeling network in SOPs.Filesoutside text
Guide for building a procedural modeling network in SOPs.
Args:
description: What geometry to create (e.g. "a rocky terrain with scattered trees")
output_context: Where to create the geo containersimulation_setupprompt Guide for setting up a dynamics simulation.Filesoutside text
Guide for setting up a dynamics simulation.
Dispatches to the solver-specific guide when one exists, because a single
generic file had to cover pyro, FLIP, Vellum, RBD and MPM at once and so
could not say more than a table row about any of them. Houdini ships a
separate manual per solver, and these files mirror that split. Anything
without its own guide falls back to dyno.md, the general dynamics one.
Args:
sim_type: Type of simulation (pyro, flip, rbd, vellum, mpm, pop)
description: Additional context about the simulationusd_scene_assemblyprompt Guide for building a USD scene in Houdini's LOPs/Solaris.Filesoutside text
Guide for building a USD scene in Houdini's LOPs/Solaris.
Args:
scene_description: Description of the USD scene to buildgeo_summaryresource Geometry summary for a SOP node: point/prim counts, attributes, bounding box.
Geometry summary for a SOP node: point/prim counts, attributes, bounding box.
installed_hdasresource List of installed Houdini Digital Assets.
List of installed Houdini Digital Assets.
node_inforesource Information about a specific node at the given path.
Information about a specific node at the given path.
node_typesresource Available node types for a given context (Sop, Lop, Dop, Top, Cop2, Object, Driver).
Available node types for a given context (Sop, Lop, Dop, Top, Cop2, Object, Driver).
scene_errorsresource All nodes with errors or warnings in the scene.
All nodes with errors or warnings in the scene.
scene_inforesource Current Houdini scene information including hip file, version, frame range, and node counts.
Current Houdini scene information including hip file, version, frame range, and node counts.
scene_treeresource Top-level node tree of the current scene.
Top-level node tree of the current scene.
usd_stageresource USD stage information for a LOP node.
USD stage information for a LOP node.
assign_materialtool Assign a material to a geometry node via a Material SOP.
Assign a material to a geometry node via a Material SOP.
Args:
geo_path: Target geometry node path.
material_path: Material to assign.build_networktool Build a whole node network in ONE atomic call — the PREFERRED way
Build a whole node network in ONE atomic call — the PREFERRED way
to construct anything of 3+ nodes (massively faster than node-by-node
calls, and either the whole network builds or nothing does).
Every node type, parameter name, and input reference is validated
against the running Houdini BEFORE anything is created; errors come
back with did-you-mean suggestions. Use dry_run=True to prove a plan
when using unfamiliar node types. The result includes cooked
evidence: per-node errors and the display node's geometry counts —
read them instead of assuming success.
Each node spec dict supports exactly these keys; an unknown one (in a
spec or in an input entry) is a validation error with a did-you-mean,
never a silently dropped request:
type (required), name, parms (lists set whole parm tuples; a value
written {"expr": "ch('../x')"} is set as an expression, with an
optional "language": "hscript" | "python", also as one component
of a list: "t": [{"expr": "$F"}, 0, 0]; a ramp takes the whole
ramp as {"keys", "values", "basis"}), expressions (or its
alias exprs: a block of parm name -> expression), inputs (list of
source names — earlier spec names, existing children, or absolute
paths; or dicts with index or input_name / source / source_output,
where input_name is a connector name or label as get_node_card
lists them and source_output an output index or name ("v", "P";
names are checked on the source with its parms set, so a Bind
VOP with parmname "orient" is wired from "orient");
or {"indirect_input": n} to wire from connector n of
the parent subnet itself), flags (display/render/bypass/template),
color [r,g,b], comment, position [x, y] (network units; the node is
then not auto-placed, unless layout=True with auto-layout on),
override_expression, run_callbacks. Parms
are written in the order given.
A string aimed at a numeric parameter is caught during validation and
answered with the {"expr": ...} spelling, instead of failing mid-build
and rolling the whole graph back.
A literal in parms does not replace an expression the parm already
holds (a Ray SOP ships dir = @N.x): the dry run lists such parms in
`expressions_in_the_way`, the build reports `expressions_kept` and a
`warning`. "override_expression": true on the spec clears them first.
Display: in a network that was empty, the last node gets the display
flag unless a spec sets one. A display flag asked of a node that has
none (a usdrender_rop) goes to its nearest input that has one, listed in
`display_set_upstream`.
A LOCKED parm (karmarendersettings resolutiony while res_mode is
autoheight) takes nothing; such a spec is refused at validation, nothing
built, with `locked_parms` naming the menu whose callback sets the lock.
Houdini runs callbacks only from the UI: "run_callbacks": true on the spec
runs each parm's callback after its write, so {"res_mode": "manual",
"resolution": [1920, 1080]} builds. Validation replays a spec on a probe,
its callbacks included, only when it writes a parm a fresh node locks.
There is no "children" key: build the subnet, then call build_network
again with the subnet as parent_path.
Nodes built inside a DOP network come with `simulation_cache`: the
network to pass to reset_simulation before reading a frame it cooked.
Args:
parent_path: Network to build inside (e.g. "/obj/geo1"). A missing
parent directly under /obj is created, as the container the
specs' context needs (geo for SOPs, lopnet for LOPs), and
removed again if the build fails; a dry run reports it as
`would_create_parent`.
nodes: Ordered node specs (see above).
dry_run: Validate the whole spec without creating anything.
layout: Also lay out the parent network afterwards (default True;
honoured only when auto-layout is enabled). The nodes this call
creates are always positioned, each relative to its inputs,
regardless of this flag; nodes that already existed keep their
exact positions, so building into a hand-arranged network is safe.build_sop_chaintool Build a sequential chain of SOP nodes wired together in a single call.
Build a sequential chain of SOP nodes wired together in a single call.
PREFERRED over individual create_node calls for linear SOP chains — builds
and wires the entire chain in one round-trip, which is significantly faster.
Each step dict: {"type": str, "name": str (optional), "params": dict (optional)}.
Nodes are created in order and each is automatically connected to the previous.
Example:
steps=[
{"type": "box"},
{"type": "polybevel", "params": {"offset": 0.05}},
{"type": "scatter", "params": {"npts": 200}},
{"type": "copy_to_points", "name": "copy1"},
]
Args:
parent_path: Parent SOP network path.
steps: List of step dicts defining the chain.cancel_top_cooktool Cancel active cooking on a TOP network.
Cancel active cooking on a TOP network.
Args:
ctx: MCP context.
node_path: TOP node or TOPnet path.capture_network_editortool Capture a screenshot of the network editor.
Capture a screenshot of the network editor.
With node_path the view is put on that node at once (no animated flight),
and the reply says what the frame shows: visible_bounds, node_bounds and
node_in_view, all in network space.
The image is written to disk only; open ``output_path`` with your file
reader to look at it. Prefer get_node_info or list_children for inspecting
node connections unless visual confirmation of wiring is genuinely needed.
Args:
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.
node_path: Node path to frame before capture.capture_screenshottool Capture a screenshot of the viewport or a specific pane tab.
Capture a screenshot of the viewport or a specific pane tab.
The image is written to disk only; open ``output_path`` with your file
reader to look at it. Prefer get_geometry_info, get_node_info or
get_scene_summary unless visual confirmation is genuinely needed.
The frame is the viewport's own size and view. For a set size,
render_viewport(resolution=...); to frame one object first,
frame_all(node_paths=...), and for frames of one scale across a
comparison sheet, frame_all(bounds=...) with the same box before each
capture.
A Scene Viewer capture names the network it shows (`viewer_network`);
`viewer_note` says when that is a DOP network, drawn as the simulation's
objects rather than the SOP display, or a SOP subnet, drawn as its own
display node rather than the object's output; `visible_objects_note`,
when the viewport's Visible Objects pattern leaves out the object the
viewer is in, so the frame shows none of it.
Args:
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.
pane_name: Pane tab name.
settle_seconds: Wait this long before capturing, without blocking
Houdini, so a Karma viewport can converge after a change. Use
this instead of a shell sleep between calls. Capped at 120.change_node_typetool Change a node's type in place, keeping wires, name, position, flags,
Change a node's type in place, keeping wires, name, position, flags,
parameter values and (for subnets/assets) network contents.
This is how an HDA instance is moved to an installed newer version
(`building::2.0`) without losing its edits, and how a placeholder is
swapped for the real node. Every value set before the swap and not after
it is named in `parms_dropped` (no such parameter on the new type) or
`parms_reset` (back at its default). Unversioned names map to the
preferred version, as create_node does.
Args:
node_path: Node to change.
new_type: Type name in the node's own category.
keep_name: Keep the node's name.
keep_parms: Carry parameter values over by name.
keep_network_contents: Keep a subnet's/asset's children (False resets
an asset to its definition's contents, also on a node that is
already of new_type).clear_cachetool Delete cached files on disk for a cache node.
Delete cached files on disk for a cache node.
Args:
ctx: MCP context.
node_path: Path to the cache node.
frame_range: [start, end] frame range to limit deletion.compare_snapshotstool Take or compare scene state snapshots.
Take or compare scene state snapshots.
Args:
action: "take" or "compare".
snapshot_name: Snapshot name.compare_volumestool How much of one field sits in each band of another field.
How much of one field sits in each band of another field.
"How much density is inside the collider" is field="density",
against="surface" (an SDF), bands=[-1000, 0, 1000]: the first band's
field_total is what is inside. Both are sampled on a grid over field's box.
Args:
node_path: SOP holding field.
field: Volume to total, e.g. "density".
against: Volume whose value picks the band, e.g. a collider SDF.
against_node: SOP holding against, when not node_path.
bands: Band count, or a list of band edges.connect_houdinitool Talk to the Houdini serving on ``port`` from now on.
Talk to the Houdini serving on ``port`` from now on.
get_houdini_connection_status lists the sessions and their ports.
Args:
port: Port of a Houdini serving the plugin.connect_nodestool Connect two nodes together.
Connect two nodes together.
To feed a node INSIDE a subnet from one of the subnet's own input
connectors (a SubnetIndirectInput — not a node, it has no path), pass
the subnet as source_path and the connector index as indirect_input.
Args:
ctx: MCP context.
source_path: Upstream node path; with indirect_input, the subnet
whose input connector is the source.
dest_path: Downstream node path.
output_index: Source output index.
input_index: Destination input index.
input_name: Destination connector name or label (e.g. "base_color"
on a VOP shader); wins over input_index.
indirect_input: Index of the subnet input connector at source_path
to wire from (dest_path must live inside that subnet).connect_nodes_batchtool Connect multiple node pairs in a single call.
Connect multiple node pairs in a single call.
Args:
connections: List of connections. Each dict has keys:
source_path (str), dest_path (str),
output_index (int, default 0), input_index (int, default 0),
input_name (str, optional: connector name or label, wins over input_index),
indirect_input (int, optional: source_path is then a subnet and this is
the index of its input connector to wire from — for the first node of
a chain built inside that subnet).cook_frame_rangetool Cook a node frame by frame and report what changed on each frame.
Cook a node frame by frame and report what changed on each frame.
This is how you advance a sequential solver and how you prove a simulation
is doing something. Frames are cooked in order, so a SOP solver, a DOP
network or an animated chain all accumulate correctly, and per-frame cook
time, errors, counts, bounding box and attribute aggregates come back in
ONE round trip instead of one per frame. `static: true` means counts and
bounds never changed over the range: the node cooks but does nothing.
Past 25 frames the rows are 25 evenly spaced frames plus every frame with
an error or warning (`frames_shown`); totals, `static` and
`slowest_frame` still cover every frame.
Prefer this over set_frame in a loop, and over stepping by hand: a 100-frame
check is one call rather than 100. The frame is left where the cook ended,
ready to screenshot.
No deadline: a heavy sim runs under Houdini's progress bar for as long as it
takes; wait for the verdict and call nothing else meanwhile. Stopped from
that bar, it answers `interrupted: true` with the frames cooked so far. A
node that keeps a cache across frames (Trail, SOP Solver) starts from what it
holds: press_button its reset (Trail: `clear`) or reset_simulation first.
Args:
node_path: Node to cook; its output is what gets measured.
start: First frame. Defaults to the playbar start.
end: Last frame, inclusive. Defaults to the playbar end.
step: Frame increment. Keep at 1.0 for any solver, since skipping frames
gives it a discontinuous time step and invalid results.
attribs: Point attributes to aggregate per frame (min/max/mean/sum).
volumes: Also report per-volume name, resolution and value range.cook_top_nodetool Cook a TOP node to execute its work items.
Cook a TOP node to execute its work items.
Args:
ctx: MCP context.
node_path: TOP node path.
block: Wait for cooking to complete.
generate_only: Only generate work items, do not cook.copy_nodetool Copy a node, optionally into a different parent network.
Copy a node, optionally into a different parent network.
In the same network the copy lands one node width to the right of its
original instead of on top of it; in another network it keeps the
original's position. `offset` overrides both, and `position` in the reply
says where the copy is. `inputs` lists the wires the copy kept
({index, from}, or {index, indirect_input} for a subnet's own input
connector); `inputs_not_copied` the original's wires it could not keep,
as in a copy into another network.
Args:
ctx: MCP context.
node_path: Source node path.
dest_parent: Destination parent path.
new_name: Name for the copy.
offset: [dx, dy] from the original's position.create_chop_nodetool Create a new CHOP node.
Create a new CHOP node.
Before using this, call list_node_types(context='Chop', filter='<keyword>')
to verify the correct node type. CHOPs has many dedicated nodes for motion
and timing — noise, wave, spring, jiggle, lag, limit, filter, math,
function, blend, shift, stretch, trim, cycle, speed, constraintlookatat,
constraintpath — that may already do what you need.
Args:
parent_path: Parent network path.
chop_type: CHOP node type to create.
name: Node name override.create_cop_nodetool Create a COP node in the specified network.
Create a COP node in the specified network.
Before using this, call list_node_types(context='Cop', filter='<keyword>')
for Copernicus nodes (Houdini 20+), or context='Cop2' for legacy COPs.
Copernicus is the modern image processing system and is preferred over COP2
(deprecated as of Houdini 20.5). COPs has many dedicated image-processing
nodes — blur, sharpen, levels, contrast, over, multiply, luminance,
premultiply, channelcopy, noise, ramp, fractalnoise, worleynoise,
rasterizegeo, heighttonormal, sdfshape — that may cover the operation
without needing a VEX COP or Python.
Args:
parent_path: Path to the parent COP network.
cop_type: COP node type to create.
name: Override node name.create_hdatool Create a new HDA from an existing subnet node.
Create a new HDA from an existing subnet node.
A Copernicus subnet's connectors are signed from its own Input/Output
parms (inputtype#/outputtype#, labels): a cable output stays Cable.
`connectors` reads them back.
Args:
ctx: MCP context.
node_path: Subnet node path.
hda_file: Destination HDA file path; variables ($JOB) are expanded.
type_name: Operator type name.
label: Human-readable label.
version: Version string.create_lighttool Create a USD light in a LOP network.
Create a USD light in a LOP network.
Args:
parent_path: Parent LOP network path.
light_type: "dome", "distant", "rect", "sphere", "disk", or "cylinder".
name: Light node name.
intensity: Light intensity.
color: [r, g, b] color values.
position: [x, y, z] world position.create_light_rigtool Create a preset lighting rig in a LOP network.
Create a preset lighting rig in a LOP network.
Args:
parent_path: Parent LOP network path.
preset: "three_point", "studio", "outdoor", or "hdri".
intensity_mult: Multiplier for all light intensities.create_lop_nodetool Create a new LOP node.
Create a new LOP node.
Before using this, call list_node_types(context='Lop', filter='<keyword>')
to verify the correct node type. Solaris ships many specialized LOPs —
sublayer, reference, materiallibrary, assignmaterial, karmarendersettings,
editproperties, xform, prune, configurelayer, collection, addvariant —
that may not be obvious from their names.
Args:
parent_path: Parent node path.
lop_type: LOP node type (e.g. "sphere", "sublayer", "merge").
name: Node name.
prim_path: USD prim path to set on the node.create_materialtool Create a material in /mat with configurable surface properties.
Create a material in /mat with configurable surface properties.
Args:
name: Material node name; refused if taken. Default: material1,
numbered up when that exists.
mat_type: Material type ("principled", "materialx").
base_color: [R, G, B] base color, 0-1 per channel.
roughness: Surface roughness, 0-1.
metallic: Metallic factor, 0-1.
opacity: Opacity, 0-1.create_material_networktool Create a new material network in /mat.
Create a new material network in /mat.
The keys base_color ([r, g, b]), roughness, metalness and opacity are
accepted on both shader types and mapped to the shader's own parameter
names (base_colorr/g/b and specular_roughness on MaterialX, basecolor,
rough, metallic and opac on Principled). Any other key must be the
shader's real parameter name; a list sets the whole parm tuple. The
reply lists what was applied and, under "skipped", every key that
matched no parameter, with the reason.
Args:
ctx: MCP context.
name: Name for the new material node.
shader_type: "principled" (principledshader::2.0), "materialx"
(mtlxstandard_surface), or any material node type name.
params: Parameter name-value pairs to set on the shader.create_network_boxtool Draw a titled network box around nodes, to document a graph you built.
Draw a titled network box around nodes, to document a graph you built.
Args:
ctx: MCP context.
parent_path: Network the box lives in.
node_paths: Sibling nodes to enclose; the box fits around them.
comment: Title shown on the box.
color: RGB in 0..1.create_nodetool Create a node inside a parent network.
Create a node inside a parent network.
Before using this, call list_node_types(context='<context>', filter='<keyword>')
to verify a dedicated node exists for the operation. Houdini has thousands of
nodes — many common operations (boolean, scatter, copy to points, fracture,
ocean, hair, vellum, pyro, etc.) have dedicated nodes that are better than
writing VEX or Python.
Args:
ctx: MCP context.
parent_path: Parent network path.
node_type: Node type (e.g. 'geo', 'box', 'grid').
name: Node name.
position: [x, y] network editor position.create_render_nodetool Create a new render (ROP) node in /out.
Create a new render (ROP) node in /out.
Args:
renderer: Renderer type ('karma', 'opengl', 'mantra', 'rop_geometry', 'rop_alembic', 'usdrender', 'fetch', 'merge', 'rop_fbx', 'rop_gltf').
name: Node name.
camera: Camera node path.
output_path: Output file path.create_spare_parametertool Add a spare parameter to a node.
Add a spare parameter to a node.
A menu needs its items: a menu without any is refused, not created with
Houdini's "none" placeholder. The reply reads the menu back from the node
(`menu_items` as [value, label] pairs, `default_value` as a value).
Args:
node_path: Node path.
parm_name: Internal parameter name.
parm_type: "float", "int", "string", "toggle", "menu", "vector",
"color", "ramp_float" or "ramp_color". vector and color are three
floats with the Vector / color look, as set_hda_interface makes
them; a float with a list default_value is a plain float tuple.
label: UI label.
default_value: Default value. For a menu, the default item by value
or index. For a ramp, its keys: [{"pos": 0, "value": 0,
"interp": "linear"}, ...] (a color key's value is [r, g, b]).
min_val: Minimum value (float/int only).
max_val: Maximum value (float/int only).
menu_items: A menu's items, as set_hda_interface takes them: plain
strings, or [value, label] pairs such as
[["0", "Uniform"], ["1", "By Attribute"]].create_spare_parameterstool Batch-create multiple spare parameters in one call, optionally in a folder tab.
Batch-create multiple spare parameters in one call, optionally in a folder tab.
A name that already exists as a spare parameter is updated in place
(label, default, range); its current value and keyframes are kept.
A type change on an existing parameter is refused.
Args:
node_path: Node path.
parameters: List of parameter specs. Each dict has keys:
parm_name (str), parm_type (str: "float"/"int"/"string"/"toggle"/"menu"/
"vector"/"color"/"ramp_float"/"ramp_color", as in create_spare_parameter),
label (str), default_value (optional; a ramp's keys), min_val (optional), max_val (optional),
menu_items (a menu's items: strings or [value, label] pairs, as
in create_spare_parameter; default_value then picks one).
folder_name: If provided, wraps all parameters in a named folder tab.
folder_type: Folder style: "Tabs", "Collapsible", or "Simple".create_sticky_notetool Leave a sticky note in a network.
Leave a sticky note in a network.
Args:
ctx: MCP context.
parent_path: Network the note lives in.
text: Note text.
position: [x, y] in network editor units.
size: [width, height] in network editor units.
color: RGB in 0..1.create_taketool Create a new take, optionally under a parent take.
Create a new take, optionally under a parent take.
Args:
name: Name for the new take.
parent_name: Parent take name (defaults to current take).create_vex_expressiontool Set an HScript expression on a parameter, evaluated before it is kept.
Set an HScript expression on a parameter, evaluated before it is kept.
Parameters cannot run VEX: attribute @ syntax is refused with a pointer to
create_wrangle. An expression that does not evaluate is not kept.
Args:
node_path: Path to the node.
parm_name: Parameter name.
vex_code: Expression code, in HScript syntax.create_wrangletool Create an Attribute Wrangle node with VEX code.
Create an Attribute Wrangle node with VEX code.
LAST RESORT. VEX is for attribute math that no node expresses —
NEVER for modeling, scattering, copying, deforming, grouping, or
randomizing, which all have dedicated nodes. Building geometry in a
wrangle when a native node exists is a failure, not a shortcut.
The justification parameter is mandatory: state which
list_node_types searches you ran and why none of the results can do
this. If you cannot write that sentence honestly, you have not
checked — check first.
Args:
parent_path: Parent SOP network path.
vex_code: VEX snippet to set.
justification: Which native nodes you checked (the actual
list_node_types filters used) and why none can express this
logic.
run_over: Element to run over ("Points", "Vertices", "Primitives", "Detail", "Numbers").
name: Node name.delete_keyframetool Delete a keyframe at a specific frame.
Delete a keyframe at a specific frame.
Args:
node_path: Node path.
parm_name: Parameter name.
frame: Frame number to delete.delete_nodetool Delete a node, or several in one call.
Delete a node, or several in one call.
Pass node_path or node_paths, not both.
Args:
ctx: MCP context.
node_path: Node path.
node_paths: Several nodes at once, one undo step. Every path is
checked first: a missing one deletes nothing. A node inside
another listed one goes with it (`deleted_with_parent`).dirty_work_itemstool Dirty work items on a TOP node so they can be regenerated.
Dirty work items on a TOP node so they can be regenerated.
Args:
ctx: MCP context.
node_path: TOP node path.
remove_outputs: Also remove output files from disk.disconnect_nodetool Disconnect one or all inputs of a node.
Disconnect one or all inputs of a node.
Args:
ctx: MCP context.
node_path: Node path.
input_index: Input index to disconnect.
disconnect_all: Disconnect all inputs.edit_hda_interfacetool Edit an HDA's EXISTING Type Properties interface in one atomic call:
Edit an HDA's EXISTING Type Properties interface in one atomic call:
insert at a position, remove, hide/show, replace, modify, move.
set_hda_interface only appends. Every op here works on the definition's
parameter group; all ops are applied to a copy, the result is checked
for component-name collisions, and it is written once — a failing op
changes nothing. Read the interface first with get_parm_template_tree.
Ops (dicts, applied in order):
{"op": "insert", "spec": {...}, "after": name | "before": name |
"in_folder": label or [labels]} — omit the position to append.
spec is a set_hda_interface spec, plus types button (with
"callback", Python by default), separator, label, vector, color,
file, oppath; and fields naming_scheme (base1|xyzw|rgba|minmax|
startend|uvw), default_expression (+ default_expression_language),
hidden, join_with_next, callback, tags; folder_type "multiparm"
for a multiparm block (children named "item#").
{"op": "remove", "name": name_or_folder_label}
{"op": "hide" | "show", "name": ...}
{"op": "replace", "name": ..., "spec": {...}}
{"op": "modify", "name": ..., <label | help | default |
default_expression | default_expression_language | min | max |
min_strict | max_strict | hide_when | disable_when ("" clears) |
hidden | join_with_next | menu_items | callback | naming_scheme |
new_name | tags>}
("rename", "set_conditional", "set_default" are aliases)
{"op": "move", "name": ..., "after" | "before" | "in_folder": ...}
Names are template names (`t`, not `tx`; `stud_count`); folders are
addressed by label ("Controls"). Built-in parameters of the node type
(an Object's Transform) cannot be removed — Houdini re-adds them at the
top level and the reply says so in `reinstated_by_houdini`; hide them.
`default_expression_language` is "hscript" (Houdini's default) or
"python"; given alone in a modify, it changes the language of the
expression already there. `stored` reads both back, and
`instance_expression_errors` names a default expression that does not
evaluate on the instance. `stored` carries each template's help, a
button's `callback` and a label's `column_labels`, and `help_not_stored`
names one whose help the definition did not keep.
Args:
ctx: MCP context.
node_path: An instance of the HDA whose definition is edited.
ops: Operations, in order.
dry_run: Validate and report the plan without writing.evaluate_expressiontool Evaluate an expression in Houdini and return its result.
Evaluate an expression in Houdini and return its result.
Args:
expression: Expression string to evaluate.
language: Expression language, "hscript" or "python".execute_hscripttool Execute an HScript command in Houdini.
Execute an HScript command in Houdini.
Args:
command: HScript command string to execute.execute_pythontool Execute arbitrary Python code inside Houdini. LAST RESORT only.
Execute arbitrary Python code inside Houdini. LAST RESORT only.
DO NOT use this to:
- Create nodes or networks → use build_network or create_node
- Set parameters → use set_parameter or set_parameters
- Create wrangles or write Python SOPs → use create_wrangle
- Connect nodes → use connect_nodes or connect_nodes_batch
- Read geometry → use get_geometry_info, get_points, sample_geometry
ONLY use this when no dedicated tool exists for the operation — i.e.
hou.* API calls or Python-level state that no other tool exposes.
The justification parameter is mandatory: name the dedicated tools
you considered and why none covers this operation.
Args:
code: Python source code to execute.
justification: Which dedicated tools you considered and why none
covers this operation.
return_expression: Python expression to evaluate after execution.explain_nodetool Explain a node in human-readable form.
Explain a node in human-readable form.
Args:
node_path: Node path.export_chop_to_parmtool Export a CHOP channel to a parameter via a chop() expression.
Export a CHOP channel to a parameter via a chop() expression.
Args:
chop_path: CHOP node path.
channel_name: Channel to export.
target_node_path: Target node path.
target_parm_name: Parameter to receive the export.export_filetool Export a node's output to a file on disk, and report whether it landed.
Export a node's output to a file on disk, and report whether it landed.
SOPs are saved directly, LOPs export their USD stage, and a /out ROP is
pointed at file_path and executed (its own output path is restored
afterwards). Reports `wrote_files`, so `success: True` means a file appeared
or changed -- not merely that the call returned. A frame_range writes
`name.0001.ext` per frame and leaves the playbar where it was. A missing
directory is created, as a ROP or a USD export does.
Args:
node_path: Path to the node to export.
file_path: Destination file path; variables ($JOB) are expanded. For a
ROP this overrides its output parameter for the duration of the
export.
frame_range: Frame range as [start, end] or [start, end, step].find_error_nodestool Find all nodes with errors or warnings in the scene.
Find all nodes with errors or warnings in the scene.
Args:
root_path: Root node path to search from.find_expensive_nodestool Profile cooking and rank the most expensive nodes — how a senior
Profile cooking and rank the most expensive nodes — how a senior
artist finds the slow node instead of guessing.
Records a performance-monitor profile while force-cooking the
display outputs under root_path. cook_ms is cumulative (parents
include their children), so compare siblings to locate the hotspot.
Args:
root_path: Network to profile (a geo container, or "/" broadly).
frame: Optionally jump to this frame before cooking.
limit: Max nodes to return.find_nearest_pointtool Find the nearest point(s) to a given position.
Find the nearest point(s) to a given position.
Args:
node_path: Node path.
position: Query position as [x, y, z].
max_results: Max nearest points to return.find_nodestool Search for nodes by name pattern, type, or context.
Search for nodes by name pattern, type, or context.
Narrow the search: use `inside` to limit to a specific sub-network and
supply at least one of `pattern`, `node_type`, or `context`. Searching
from `inside="/"` with no filters scans the entire scene and can return
hundreds of nodes.
Args:
ctx: MCP context.
pattern: Glob pattern for node names (e.g. 'box*').
node_type: Node type filter (e.g. 'box', 'null').
context: Category filter (e.g. 'Sop', 'Object').
inside: Root path to search within (default '/').find_usd_primstool Search USD prims by path pattern.
Search USD prims by path pattern.
Args:
node_path: LOP node path.
pattern: Glob pattern (supports *, **) or substring.
traverse_instance_proxies: Search prims under instanceable
prototypes too; the default walk never visits them.frame_alltool Frame all geometry in the viewport, or only some nodes or a box.
Frame all geometry in the viewport, or only some nodes or a box.
Args:
pane_name: Pane tab name.
node_paths: Frame just these objects or SOPs (their world bounds),
not the spread of everything in the scene. An object frames what
it draws: a null its marker, a camera or a light its icon.
bounds: Frame [xmin, ymin, zmin, xmax, ymax, zmax], world space. A
point is framed as a 1-unit cube around it (`padded` in the reply).frame_selectiontool Frame the current selection in the viewport.
Frame the current selection in the viewport.
Args:
pane_name: Pane tab name.generate_static_itemstool Generate static work items on a TOP node without cooking.
Generate static work items on a TOP node without cooking.
Args:
ctx: MCP context.
node_path: TOP node path.get_attrib_statstool Aggregate statistics for numeric attributes: min, max, mean, sum.
Aggregate statistics for numeric attributes: min, max, mean, sum.
Use this to prove something is happening, rather than reading values.
get_geometry_info names the attributes; get_attrib_values returns every
value, which on a 60k-point cache tells you nothing you can read. Vector
attributes also report per-component ranges, so a velocity field's per-axis
extremes come back in the same call.
Args:
node_path: SOP node path.
attribs: Attribute names. Omit for every attribute of the class. A
name written "age/life" is the ratio of two attributes, per
element (elements dividing by zero are counted, not used).
attrib_class: "point", "prim" (or "primitive"), "vertex" (uv and N
usually live there) or "detail".
frames: Measure at each of these frames: a row per node per frame,
frames cooked in increasing order, the current frame put back.
element_count is the point count and P's per-component min/max
the bounds, so a sim's count and spread over time is ONE call.
node_paths: Several nodes (variants) in the same call, instead of
node_path.
percentiles: e.g. [5, 50, 95] for the distribution (50 = median).
group: Only the elements in this group pattern, as a SOP group field
takes it: "grp", "@id>=0", "0-99"; space-separated parts add up.
Point and prim classes.
unique: Count distinct values of integer and string attributes
(`unique_count`, `most_common`); for the prim class also
`vertices_per_prim`, a trail's length and its distribution.
distance_to: A SOP whose surface each point's distance is measured
to (`distance_to` in the reply: min / max / mean, percentiles):
particles crawling on or hovering over a mesh. Point class; the
scene is not changed. Both are taken in their own SOP space:
object transforms are not applied, so use it within one object.get_attrib_valuestool Read attribute values as a flat array with pagination.
Read attribute values as a flat array with pagination.
For spot-checking a few values prefer sample_geometry — it returns a
representative spread of points with all their attributes in one call.
Use get_attrib_values when you need a specific slice of one attribute.
Values are element-major: for a float3 attribute every 3 consecutive
values belong to one element. Check has_more and increment start to
read subsequent pages.
Args:
node_path: Node path.
attrib_name: Attribute name.
attrib_class: "point", "prim" (or "primitive"), "vertex", or "detail".
start: First element index to return.
count: Max elements per page (default 200).get_attribute_infotool Get metadata for a geometry attribute.
Get metadata for a geometry attribute.
Args:
node_path: Node path.
attrib_name: Attribute name.
attrib_class: "point", "prim" (or "primitive"), "vertex", or "detail".get_bounding_boxtool Get the bounding box of a SOP node's geometry.
Get the bounding box of a SOP node's geometry.
Args:
node_path: Node path.get_cache_statustool Frames on disk for a cache node, against the range it is set to write.
Frames on disk for a cache node, against the range it is set to write.
This is what to poll after a background write_cache: `complete` is true
when every frame of `expected_range` is on disk, `missing_frames` lists
the rest, `writing` is true while files are still arriving, and `hint`
tells you when the finished cache is not yet loaded from disk. Never
wait for a cache with a shell loop; call this between other work.
Args:
ctx: MCP context.
node_path: Path to the cache node.get_chop_datatool Get CHOP node track data.
Get CHOP node track data.
Args:
node_path: CHOP node path.
channel_name: Specific channel to retrieve.
start: Start sample index.
end: End sample index.get_context_infotool Get information about a Houdini network context.
Get information about a Houdini network context.
Args:
context: Context path, e.g. "/obj", "/stage", "/out".get_cook_chaintool Trace the cook dependency chain for a node.
Trace the cook dependency chain for a node.
Args:
node_path: Node path.get_cook_statustool Whether a node has cooked, how often, and whether it is time dependent.
Whether a node has cooked, how often, and whether it is time dependent.
`cook_count` is the node's cook counter and `needs_to_cook` whether it is
dirty (its next read cooks it): compare them around a parameter change.
Nodes that never cook (/obj, OBJ containers, VOPs) always report
needs_to_cook True; a generator TOP reports False with no cooks.
Note the shape of the limitation: every command runs on Houdini's main
thread, so a long cook blocks the bridge and cannot be polled while it runs.
This answers the after-the-fact question instead -- did it really recook, is
it time dependent, did it end in error -- plus whether the hip has unsaved
changes. For asynchronous work use a ROP's background execution and
get_render_progress.
Args:
node_path: Node to report on.get_cop_geometrytool Get geometry representation from a COP node.
Get geometry representation from a COP node.
Args:
node_path: Path to the COP node.
output_index: Output connector index.get_cop_infotool Get information about a COP node.
Get information about a COP node.
Args:
node_path: Path to the COP node.get_cop_layertool Get image layer data from a COP node.
Get image layer data from a COP node.
A cable output (more than one wire) answers `is_cable` and `wires` (name,
data type and each wire's layer summary); `copernicus_layer` is the wire
named by `wire` (index or name, default the first), see `layer_read`.
`wire_sum=True` adds min/max/average of the per-pixel sum of the
one-channel wires, e.g. to check that blend weights sum to 1.
Args:
node_path: Path to the COP node.
output_index: Output connector index.
wire: On a cable output, the wire to read (index or name).
wire_sum: On a cable output, stats of the per-pixel sum of its wires.get_cop_vdbtool Get VDB volumetric data from a COP node.
Get VDB volumetric data from a COP node.
Args:
node_path: Path to the COP node.
output_index: Output connector index.get_current_taketool Get the current take and its overridden parameters.
Get the current take and its overridden parameters.
get_dop_fieldtool Read a specific field value from a DOP record.
Read a specific field value from a DOP record.
Args:
node_path: DOP network node path.
object_name: DOP object name.
data_path: Dot-separated subdata path (e.g. "Geometry", "Forces/Gravity").
field_name: Field name to read.get_dop_objecttool Get detailed data for a specific DOP object.
Get detailed data for a specific DOP object.
Args:
node_path: DOP network node path.
object_name: DOP object name.get_dop_relationshipstool List all relationships between DOP objects.
List all relationships between DOP objects.
Args:
node_path: DOP network node path.get_env_variabletool Get a Houdini environment variable value.
Get a Houdini environment variable value.
Args:
var_name: Name of the environment variable.get_expressiontool Get the expression on a parameter.
Get the expression on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.get_failed_work_itemstool List the work items that failed on a TOP node, with the tail of each log.
List the work items that failed on a TOP node, with the tail of each log.
Args:
ctx: MCP context.
node_path: TOP node path.
limit: Maximum items returned.get_file_referencestool Every file path the scene references, with the parameter holding it and whether it exists.
Every file path the scene references, with the parameter holding it and whether it exists.
Args:
ctx: MCP context.
include_missing_only: Only report paths that are missing on disk.get_frametool Get the current frame and FPS.
Get the current frame and FPS.
get_geometry_infotool Get geometry summary for a SOP node.
Get geometry summary for a SOP node.
Args:
node_path: Node path.
output_index: Which output to read, for nodes with several (FLIP
compress, Vellum solver, whitewater source): 0 is the first.get_group_memberstool Get element indices in a geometry group, with pagination.
Get element indices in a geometry group, with pagination.
Check has_more and increment start to read subsequent pages.
Args:
node_path: Node path.
group_name: Group name.
group_type: "point", "prim" (or "primitive"), or "edge".
start: First element index to return.
count: Max elements per page (default 5 000).get_groupstool List all geometry groups on a SOP node.
List all geometry groups on a SOP node.
Args:
node_path: Node path.get_hda_infotool Get detailed information about an HDA definition.
Get detailed information about an HDA definition.
Args:
ctx: MCP context.
node_path: Node path.
hda_file: HDA file path; variables ($JOB) are expanded.
type_name: HDA type name.get_hda_section_contenttool Read the content of a specific section in an HDA definition.
Read the content of a specific section in an HDA definition.
Args:
ctx: MCP context.
node_path: Node path.
section_name: Section name.get_hda_sectionstool List all sections in an HDA definition.
List all sections in an HDA definition.
Args:
ctx: MCP context.
node_path: Node path.get_help_pagetool Fetch one page of Houdini's shipped documentation by path.
Fetch one page of Houdini's shipped documentation by path.
Read the real reference instead of writing from memory — especially
the VEX function pages (vex/functions/...) before any justified
wrangle, and expression pages (expressions/...) before channel
expressions.
A page comes 20,000 characters at a time. A longer one is `truncated`
and names `next_offset` and its `sections` with their offsets: read on
with offset, or jump to a section by its title.
Args:
path: As returned by search_help — e.g. "nodes/sop/scatter",
"vex/functions/noise", "expressions/ch".
offset: Character offset to start from (a `next_offset`).
section: Section title to start at, e.g. "Shape"; overrides offset.get_houdini_connection_statustool Check the MCP-to-Houdini bridge without raising on disconnect.Filesoutside text
Check the MCP-to-Houdini bridge without raising on disconnect.
Returns structured connection diagnostics, including the configured bridge
URL and Houdini health payload when reachable, and `sessions`: every
Houdini serving the plugin (port, pid, version), the one in use marked
current. connect_houdini switches; start_houdini starts one. Use this
before live viewport workflows when Houdini may have restarted.get_keyframestool Get all keyframes on a parameter.
Get all keyframes on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.get_last_modified_primstool Get prims modified by the last LOP node cook.
Get prims modified by the last LOP node cook.
Args:
node_path: LOP node path.get_material_infotool Get detailed information about a material node.
Get detailed information about a material node.
assignments lists the nodes under /obj and /stage whose material-path
parameters name this material; only those parameters are read, so the call
costs the same on a 4,000-node scene as on an empty one (assignment_scan
reports how many nodes were visited).
Args:
ctx: MCP context.
node_path: Absolute path to the material node.get_network_overviewtool Get a compact overview of a network.
Get a compact overview of a network.
Keep `depth` low (1–2). Larger values on complex scenes return thousands
of nodes and can overflow the context window.
Args:
path: Network path.
depth: Recursion depth (default 2, keep ≤ 3).get_node_cardtool Get the authoritative documentation card for a node type, straight
Get the authoritative documentation card for a node type, straight
from the running Houdini: connectors in order (`inputs` / `outputs`
with index, name and label — the index of `texcoord` on mtlximage
lives here), real parameter names/defaults/menus, and the node's own
shipped help text. Connectors are read off a probe node the first time
a type is asked for in a session (no undo entry, creation scripts not
run); `connectors_probed: false` with `connectors_note` means they could
not be read, not that the type has none. A menu whose items a script
computes (`loadtype` on filemerge::2.0) is read off the same probe and
marked `menu_source: "generator"`, with the script in `menu_generator`.
A radio folder set (`switcher1` on an Add SOP: By Pattern / By Group)
is listed as a `FolderSet` parm whose menu is its folders; a default
that is an expression (`$F` on timeshift's `frame`) is in
`default_expression`; a VOP's outputs carry their `data_type`, and an
output named after a parm's value carries `named_by_parm` (a Bind VOP's
`parm` output is called whatever its `parmname` is). Parms the type's
OnCreated script adds (Solaris edit-properties nodes: "Render Points As"
on rendergeometrysettings is `xn__primvarskarmaobjectpoint_style_zpbfg`)
are read off a second probe that runs it, listed with `added_on_create`
and counted in `parms_added_on_create`. A VOP with several signatures
lists them all in `signatures` (token, label, input types), and its
`signature` menu is those tokens (`menu_source: "signatures"`), not only
the one a fresh node's menu offers.
Use this BEFORE setting parameters on a node type you have not used
in this session — never guess parameter names. Unversioned names
resolve to the newest version.
A menu carries `menu_labels` (same order as `menu`) whenever its labels
differ from its tokens: "0"/"1"/"2" = Surface Scatter/Keep Input/Volume Scatter.
`default` is a list per component; a toggle's is true/false and a menu's
the index of its item. A ramp gives `ramp_default` (its keys) instead.
Args:
node_type: Type name (e.g. "scatter", "rbdbulletsolver").
context: Category — "Sop", "Lop", "Vop" (MaterialX and other shader
nodes inside a material network), "Dop", "Cop", "Chop", "Top",
"Object", "Driver"; also "Cop2", "Shop", "VopNet".
parm_filter: Substring filter for the parameter list.
include_help: The node's help text (about 4 KB). Default: included
for a whole card, left out when parm_filter asks for specific
parameters. Pass True or False to decide.get_node_errors_detailedtool Get detailed error analysis for nodes.
Get detailed error analysis for nodes.
Args:
node_path: Node to analyze, or scan from root_path if omitted.
root_path: Root path to scan.get_node_infotool Get type, connections, flags, errors, cook time, and non-default parameters for a node.
Get type, connections, flags, errors, cook time, and non-default parameters for a node.
A parameter whose expression uses a SOP local variable ($CEX, $BBX, $PT, @N.x)
is not evaluated outside a cook: it comes with `value: null`, its `expression`
and `local_variable: true`.
Returns only parameters that differ from their defaults (non_default_parameters)
plus a total_param_count. Use get_parameter_schema to inspect the full parameter list.
A VOP node also gets `connector_types`: the data type each input and output
carries now (a variadic input is "undef" on the type until it is wired).
Args:
ctx: MCP context.
node_path: Node path.get_parametertool Get the value and metadata of a parameter.
Get the value and metadata of a parameter.
A ramp reads as {"type": "Ramp", "basis", "keys", "values", "is_color"},
which set_parameters and build_network take back as it is.
Args:
node_path: Node path.
parm_name: Parameter name.get_parameter_schematool Get the template schema for parameter(s) on a node.
Get the template schema for parameter(s) on a node.
Most nodes have dozens of parameters; many have 100+. Always use
`parm_name` or `filter` unless you genuinely need the full list.
Args:
node_path: Node path.
parm_name: Exact parameter name for a single-parameter lookup.
filter: Substring to match against parameter name or label
(case-insensitive). Use instead of dumping all params.get_parameterstool Read many parameter values at once, matched by name or label substring.
Read many parameter values at once, matched by name or label substring.
The batch counterpart of set_parameters. Several unrelated groups of
settings ("flame", "wind", "buoy") come back in one call instead of one call
each, and unlike get_node_card these are the live values on this node rather
than the defaults for its type.
Pass `inside` instead of `node_path` to read the same patterns across a
whole network in one call: "every file parm of this material library,
unexpanded" comes back as `rows` of {node, parm, value, raw_value}, up to
2000 rows. `raw_value` is the unexpanded text ($JOB/...), shown when it
differs from the value, exactly as for a single node.
Args:
node_path: Node to read.
patterns: Substrings matched against parameter name and label. Omit for
everything, up to the cap. Required with `inside`, unless
non_default_only or value_contains.
include_defaults: Also report whether each value is still the default,
and, where it differs, the default (`default`, `default_expression`).
inside: Network to read instead of a single node.
recursive: With `inside`, include every descendant, not only children.
Nodes inside locked HDAs (a solver's own internals) are skipped
and counted in `skipped_inside_locked_assets`.
node_type: With `inside`, only nodes of this type (e.g. "mtlximage").
include_locked_assets: With `recursive`, read inside locked HDAs too.
value_contains: Only parameters whose raw text or expression holds
this substring (case-insensitive), e.g. inside="/",
recursive=True, value_contains="/obj/X": every parameter that
still names that node by its absolute path, a deleted one
included. A relative "../X" is not "/obj/X": search "X" to catch
those. No patterns needed.
non_default_only: Only parameters changed from their defaults, each
with its default: "what was changed on every node of this network"
in one call (with `inside`, no patterns needed). A changed ramp is
one entry holding all its keys; its key parms (`ramp2pos`...) are
listed only when a pattern names them and not the ramp.get_parm_referencestool Who references a parameter, and what it references — in one call.
Who references a parameter, and what it references — in one call.
`incoming`: for each parameter of the node (or just parm_name), the
parameters elsewhere whose expressions read it — what breaks if this
control is renamed. `outgoing`: what this node's expressions and
backtick strings read, resolved to parameter paths (pure ch() links and
richer expressions alike; `unresolved` names a written target that no
longer exists). `node_dependents` / `node_references` give the
node-level view for this node only; `include_node_level` in the reply
says whether they were included.
Args:
node_path: Node to inspect.
parm_name: One parameter instead of all of them.
direction: "both", "incoming" or "outgoing".
limit: Cap on reported entries.
include_node_level: Include node_dependents / node_references. Default:
on for a whole-node query, off when parm_name names one parameter;
on an asset with hundreds of children those lists run to about
100 KB and answer a question about the node, not the parameter.get_parm_template_treetool The whole parameter interface as a tree, the way Type Properties shows
The whole parameter interface as a tree, the way Type Properties shows
it: folders (with folder_type — tabs, collapsible, multiparm), every
parameter in order with defaults, default expressions, ranges, menu
items, Hide/Disable When conditionals, callbacks, naming scheme; a
multiparm's `default_instances`. Each entry uses get_parameter_schema's
keys (`default_value`, `is_hidden`, `menu_items`...).
get_hda_info shows only the top folders and get_parameter_schema
flattens the structure away; read this before editing an interface.
Give node_path for a node (its instance interface, spares included) or
type_name + context for a type.
Args:
node_path: Node whose interface to read.
type_name: Node type instead (with context).
context: Category of type_name — "Sop", "Object", "Lop", ...
folder: Narrow to one folder by label, or a list of nested labels.
max_entries: Cap on entries (depth-first); the reply says when it cut.
include_tags: Also return each template's tags (needed to preserve
them when editing an interface; about a quarter of the size).get_pdg_graphtool Get the PDG dependency graph structure for a TOP network.
Get the PDG dependency graph structure for a TOP network.
Args:
ctx: MCP context.
node_path: TOPnet or TOP node path.get_pointstool Read point positions and attributes with pagination.
Read point positions and attributes with pagination.
Args:
node_path: Node path.
attributes: Attribute names to read.
start: Start index.
count: Max points per page (200 by default, about 14 KB; page on with
start while has_more is true).
group: Point group filter.get_prim_intrinsicstool Get intrinsic values for primitives: one, many, or all of them.
Get intrinsic values for primitives: one, many, or all of them.
Read many prims in one call rather than one call per prim. `intrinsics`
alone sweeps every prim for those intrinsics and answers with a `prims`
table plus `stats` (min/max/avg and the prim index each extreme belongs
to, per component for a vector such as `bounds`); `prim_indices` or
`prim_range` narrow it to the prims you care about. Up to 2000 rows per
call; beyond that the reply says `truncated` and `requested_count`, and
`stats` cover only the rows returned: page with `prim_range`.
Args:
node_path: Node path.
prim_index: One primitive index, or None for a summary.
prim_indices: Several primitive indices, read in one call.
prim_range: [start, end] (end inclusive) instead of a list.
intrinsics: Only these intrinsics, e.g. ["bounds", "packedfulltransform"].
With none of the index arguments, they are read for every prim.get_primstool Read primitive data and attributes with pagination.
Read primitive data and attributes with pagination.
Args:
node_path: Node path.
attributes: Attribute names to read.
start: Start index.
count: Max prims per page (200 by default; page on with start while
has_more is true).
group: Prim group filter.get_render_progresstool Progress of a render or write started with start_render.
Progress of a render or write started with start_render.
Accepts every node start_render accepts (a LOP usdrender_rop or Karma
LOP, a SOP ROP, a File Cache), not only /out ROPs. Reports the node's
errors with `license_error` singled out, the output files on disk, and
for a background render the process state and the tail of its log.
`done` is true when there is nothing left to wait for.
Args:
node_path: The node given to start_render.get_render_settingstool Get render settings from a ROP node.
Get render settings from a ROP node.
Args:
node_path: ROP node path.get_scene_infotool Get information about the current Houdini scene.
Get information about the current Houdini scene.
get_scene_summarytool Get a high-level summary of the scene.
Get a high-level summary of the scene.
get_selectiontool Get the current node selection.
Get the current node selection.
get_shelf_tool_scripttool Read the script a shelf tool runs, plus its help and imports.
Read the script a shelf tool runs, plus its help and imports.
This is how you learn SideFX's own recipe instead of reinventing it. Most
scripts are two or three lines calling a worker in a toolutils module, and the
reported imports name exactly what to read next.
Args:
tool_name: Internal tool name, from list_shelf_tools.get_sim_memory_usagetool Get detailed memory breakdown for the simulation.
Get detailed memory breakdown for the simulation.
Args:
node_path: DOP network node path.get_simulation_infotool Get DOP network simulation state, cooked at the current frame.
Get DOP network simulation state, cooked at the current frame.
`simulation_frame` is the frame the simulation actually holds. Going
back to a frame the memory cache no longer keeps, Houdini gives the
frame it kept instead of simulating again; `note` then says so, and what
the nodes reading the network get: that frame's state, or no geometry
when the simulation holds no objects. Check this before measuring or
rendering a frame reached backwards. A scene ahead of the
simulation is simulated up to its frame first, under Houdini's
interrupt dialog and with no deadline: wait for the reply. Stopped
there, it says so (`interrupted`) with the frame reached.
Args:
node_path: DOP network node path.get_stage_infotool Get USD stage info from a LOP node, or from a LOP network.
Get USD stage info from a LOP node, or from a LOP network.
Given a network such as "/stage", the answer is about what that network
displays: `display_node` (and `render_node`) name it, `resolved_from` is
"display_node", `viewport_delegate` names the Hydra delegate the Scene
Viewer draws with, and `frame` is the current frame.
Args:
node_path: LOP node or LOP network path (default "/stage").get_top_logstool Cook logs for a TOP node, or the scheduler log of one work item.
Cook logs for a TOP node, or the scheduler log of one work item.
Args:
ctx: MCP context.
node_path: TOP node path.
work_item_index: Work item index; omit for the node's own errors and warnings.
tail: Maximum characters of log text, taken from the end.get_top_network_infotool Get an overview of a TOP network.
Get an overview of a TOP network.
Args:
ctx: MCP context.
node_path: TOPnet or TOP node path.get_top_scheduler_infotool Get information about TOP scheduler nodes in a network.
Get information about TOP scheduler nodes in a network.
Args:
ctx: MCP context.
node_path: TOP scheduler or TOPnet path.get_usd_attributetool Read a USD attribute value from a prim.
Read a USD attribute value from a prim.
A long array (over 16 elements) answers with `value` as a summary (size,
element_type, head, min/max) plus `slice`: the elements from `offset`,
at most `limit` of them (default the first 64), with `has_more`. Walk a
big array by raising offset; pass full=True to get every element in
`value` at once.
A time-sampled attribute (a PointInstancer's `positions`, `protoIndices`)
has nothing in its default slot: read with no time it answers null. With
no `time` given, the current frame is read instead, and the reply carries
`time`, `time_source`, `time_samples` and `time_range`, so `value: null`
never stands unexplained next to `is_authored: true`. A time-sampled
attribute also lists its `sample_times` (motion blur's subframes
included): up to 64, past that `sample_times_truncated` and the 64 around
the time read, from index `sample_times_start`. all_samples=True adds the
value at each of them.
Args:
node_path: LOP node path.
prim_path: USD prim path.
attr_name: Attribute name.
time: Time code (frame number). Omitted on a time-sampled attribute,
the current frame is used (the first sample outside the range).
full: Return the whole array as `value`.
offset: First element of the window for a long array.
limit: Window size for a long array.
all_samples: Also return `samples`: [{time, value}] for each listed
sample time, a long array summarised. Refused with full=True.get_usd_attributestool Read the same attributes across many prims as one table.
Read the same attributes across many prims as one table.
One row per prim and attribute: {prim, prim_type, name, type, value,
time_samples?} or, for a relationship, {prim, prim_type, name,
relationship: true, targets}. The call for "sourceName of every
RenderVar", "lpetag of every light", "the camera of the render
settings" -- instead of one get_usd_prim per prim. `matched` counts every
row found; `truncated` says the `limit` cut some off.
Args:
node_path: LOP node path.
prims: Prim paths or globs: `*` stays within one path element,
`**` crosses them (["/Render/Vars/*"], ["/lights/**"]).
attr_patterns: Glob patterns on attribute and relationship names
(["sourceName"], ["*lpetag"]); default all.
prim_type: Keep only prims of this type (glob, e.g. "*Light").
relationships: Include relationships as rows.
time: Time code (frame) to read at; default the current frame.
full: Return array values in full instead of summarised.
traverse_instance_proxies: Let globs match prims inside instances.
limit: Row cap.get_usd_bound_materialtool The material each prim renders with, resolved the way the renderer
The material each prim renders with, resolved the way the renderer
resolves it (ComputeBoundMaterials), and where the binding comes from:
`direct` on the prim, `inherited` from which ancestor, or which
`collection`. A binding to a material prim that does not exist is
reported in `missing_material`, not as unbound.
Batched: pass every prim of interest in one call.
Args:
node_path: LOP node whose stage to read.
prim_paths: Prim paths to resolve.
purpose: "full" (default; what Karma renders, falling back to an
all-purpose binding), "preview", or "all" (all-purpose bindings
only).get_usd_compositiontool Get composition arcs for a USD prim.
Get composition arcs for a USD prim.
Args:
node_path: LOP node path.
prim_path: USD prim path.get_usd_layerstool List all layers in a USD stage.
List all layers in a USD stage.
Args:
node_path: LOP node path.get_usd_materialstool List all USD materials on a stage.
List all USD materials on a stage.
Each material reports surface_shaders keyed by render context: "surface"
is the universal output, a UsdPreviewSurface for viewports and Storm,
and "mtlx" is the MaterialX shader Karma renders. surface_shader is the
mtlx one when present, so it agrees with get_material_info on the same
material.
`bound_to` lists the prims a binding is authored on. `rendered_on` (up
to 50 paths) and `rendered_on_count` are the geometry that resolves to
the material for rendering, including geometry bound through a parent
or a collection; get_usd_bound_material says why for a given prim.
Args:
node_path: LOP node path.get_usd_primtool Get detailed info about a USD prim.
Get detailed info about a USD prim.
Array attributes longer than 16 elements (points, faceVertexIndices,
primvars:st, ...) come back as a summary: size, element_type, the first 8
as `head`, and min/max for numeric data. That is what a mesh question
needs; the full arrays of a building ran to 6.6 million characters. Pass
full=True for every element, or read one array in windows with
get_usd_attribute(offset=, limit=).
Values are read at `time`, or at the current frame when it is not given
-- what a render of that frame sees; the reply names both as `time` and
`time_source`. An attribute with time samples carries `time_samples`:
its value differs at other frames. Relationships (a RenderSettings'
`camera`) are listed with their `targets`. For the same attributes
across many prims, get_usd_attributes reads them in one call.
Args:
node_path: LOP node path.
prim_path: USD prim path.
full: Return array attributes in full instead of summarised.
traverse_instance_proxies: List the children that live on an
instanceable prim's prototype. Without it such a prim answers
`children: []` and is flagged `is_instanceable` with a
`hidden_descendants` count, so the empty list is not read as
"nothing inside".
time: Time code (frame) to read at; default the current frame.
attr_patterns: Glob patterns on attribute and relationship names
(e.g. ["resolution", "karma:global:*"]); default all.get_usd_prim_statstool Get prim counts by USD type under a root path.
Get prim counts by USD type under a root path.
Instanced geometry counts once per prototype, not per instance:
`instanceable_prims` says how many prims were counted without their
contents, and traverse_instance_proxies counts what is under them.
Args:
node_path: LOP node path.
prim_path: Root prim path to gather stats from.
traverse_instance_proxies: Count prims under instanceable prototypes.get_usd_variantstool Get variant sets and selections for a USD prim.
Get variant sets and selections for a USD prim.
Args:
node_path: LOP node path.
prim_path: USD prim path.get_usd_world_transformtool World transform of USD prims at one or more frames.
World transform of USD prims at one or more frames.
get_usd_prim gives local xformOps; this composes every parent, so an
animated parent shows. Per prim and frame: translate, rotate (XYZ
degrees), scale and the row-major matrix. Each frame recooks the stage
there, so LOP-parm animation reads right, and the playbar is restored.
Args:
node_path: LOP node whose stage to read.
prim_paths: Prim paths, e.g. ["/world/cam"].
frames: Frames to read at, at most 500. Default: the current frame.get_viewport_infotool Get viewport settings for a pane tab.
Get viewport settings for a pane tab.
Args:
pane_name: Pane tab name.get_volume_infotool Per-volume name, resolution, active voxels, value range, mean and sum.
Per-volume name, resolution, active voxels, value range, mean and sum.
A primitive count cannot tell a correctly named non-empty density field from
an empty one, which is the question worth asking before wiring a solver's
sourcing. This is the SOP counterpart of get_cop_vdb.
threshold or bins read the voxels (VDB: active ones) for percentiles, a
histogram, the count over threshold and box_above_threshold, the world box
of the voxels over it: where the smoke is, not where the grid is.
voxel_size, first_voxel_center and last_voxel_center place the grid (a
VDB's: its active voxels): two volumes share a grid when all three match,
which their bboxes cannot tell.
Args:
node_path: SOP node path holding volume or VDB primitives.
max_volumes: Cap on volumes reported.
threshold: Split the voxels at this value and box the ones above it.
bins: Histogram bin count, or a list of bin edges.get_work_item_infotool Get detailed information about a specific work item.
Get detailed information about a specific work item.
Args:
ctx: MCP context.
node_path: TOP node path.
work_item_index: Work item index within the node.get_work_item_statestool Get work item state counts for a TOP node.
Get work item state counts for a TOP node.
Args:
ctx: MCP context.
node_path: TOP node path.get_workflow_guidetool The server's written guide for a subject: what to build, in what order,Filesoutside text
The server's written guide for a subject: what to build, in what order,
which mistakes it exists to prevent, and the shipped help pages to read.
Call this BEFORE designing a setup you have not built this session, and
again the moment two attempts at the same symptom have failed. Each guide
is distilled from that subject's SideFX manual.
Args:
topic: Help scope name or common alias: pyro, fluid (flip, water,
whitewater), vellum (cloth), destruction (rbd), mpm (sand, snow),
ocean, solaris, tops, model, copy, render, shade, character,
crowds, heightfields, copernicus, assets, troubleshooting, dyno.
description: What you are trying to build, for the guide's framing.get_wrangle_codetool Read the VEX code from an Attribute Wrangle node.
Read the VEX code from an Attribute Wrangle node.
Args:
node_path: Path to the wrangle node.import_filetool Import a geometry, USD, or Alembic file into the scene.
Import a geometry, USD, or Alembic file into the scene.
Args:
file_path: Path to the file to import; variables ($JOB) are expanded.
parent_path: Network path for the import node.
node_name: Name for the created node.inspect_usd_layertool Inspect a USD layer by index.
Inspect a USD layer by index.
Args:
node_path: LOP node path.
layer_index: Layer index (0 = root layer).install_hdatool Install an HDA file into the current session.
Install an HDA file into the current session.
Args:
ctx: MCP context.
file_path: HDA file path; variables ($JOB) are expanded.
force: Force reinstall even if already loaded.layout_childrentool Auto-layout children of a network node.
Auto-layout children of a network node.
Does nothing when auto-layout is disabled via FXHOUDINIMCP_AUTO_LAYOUT=0.
Args:
ctx: MCP context.
parent_path: Parent network path.
spacing: Spacing multiplier between nodes.link_parameterstool Create a channel reference from one parameter to another.
Create a channel reference from one parameter to another.
The destination gets an HScript expression that reads the source as its
own type: chs() for a String parameter, ch() for numbers, toggles and
menus. The path is relative to the destination node (chs("../CTRL/mat")),
so the link survives moving the pair, collapsing into a subnet or
instancing an HDA. The reply carries the expression, the function used
and the destination's evaluated value.
Two ramps (or two multiparms) are linked entry by entry as well, now and
whenever the source gains or loses keys: the opmultiparm links Promote
Parameter makes. The reply lists `multiparm_links` and `follows_source`.
Inside an asset, update_hda afterwards to keep the link in its contents.
Args:
source_path: Source node path.
source_parm: Source parameter name.
dest_path: Destination node path.
dest_parm: Destination parameter name.
replace_existing: Overwrite a destination that already has keyframes
or an expression. Refused otherwise, so animation is never lost
by accident. A link whose source already reads the destination
through ch() is refused as a cycle in every case.list_cachestool List all cache-type nodes under a root path.
List all cache-type nodes under a root path.
Args:
ctx: MCP context.
root_path: Root path to search from.list_childrentool List children of a network node.
List children of a network node.
Avoid `recursive=True` on large networks — it can return hundreds or
thousands of nodes. Prefer `find_nodes` with a specific pattern instead.
A recursive listing does not enter locked assets (a POP or FLIP solver's
insides): the asset itself is listed, flagged `locked_asset`.
Args:
ctx: MCP context.
parent_path: Parent network path.
recursive: Include all descendants (use sparingly on large scenes).
filter_type: Node type filter (e.g. 'box', 'merge').
include_locked_assets: With recursive, also list what locked assets
contain.list_chop_channelstool List all channels on a CHOP node.
List all channels on a CHOP node.
Args:
node_path: CHOP node path.list_cop_node_typestool List available COP node types.
List available COP node types.
Args:
filter: Substring filter for node type names.list_dop_objectstool List all DOP objects in a simulation.
List all DOP objects in a simulation.
Args:
node_path: DOP network node path.list_hda_versionstool Every installed definition of an HDA node's type: version, file, which is current.
Every installed definition of an HDA node's type: version, file, which is current.
Args:
ctx: MCP context.
node_path: An HDA instance.list_installed_hdastool List installed HDA definitions, grouped by library file.
List installed HDA definitions, grouped by library file.
A stock install loads thousands; pass a filter (namespace, name or path
fragment). `truncated` says when `limit` cut the list.
Args:
ctx: MCP context.
filter: Substring filter for type names or file paths.
limit: Maximum definitions returned.list_lightstool List all USD lights on a LOP stage.
List all USD lights on a LOP stage.
Args:
node_path: LOP node path.list_material_typestool List available VOP/material node types.
List available VOP/material node types.
Args:
ctx: MCP context.
filter: Substring to filter type names and labels by.list_materialstool List all material nodes under a root path.
List all material nodes under a root path.
Args:
ctx: MCP context.
root_path: Root path to search for materials.list_node_typestool List available node types for a context category.
List available node types for a context category.
IMPORTANT: Any context can have hundreds of node types (SOPs alone can
exceed 800 in a production install). Always pass a `filter` keyword
(e.g. 'mountain', 'scatter', 'boolean') instead of dumping the full list
— the unfiltered response is capped at `limit` and may still be large.
Args:
ctx: MCP context.
context: Category name (e.g. 'Sop', 'Lop', 'Dop', 'Top', 'Cop2').
filter: Substring to filter type name or label (case-insensitive).
limit: Max entries to return (default 200, max recommended 200).list_panestool List all visible pane tabs in the Houdini UI.
List all visible pane tabs in the Houdini UI.
list_render_nodestool List all render (ROP/Driver) nodes in the scene.
List all render (ROP/Driver) nodes in the scene.
list_shelf_toolstool Find shelf tools by name, label or keyword.
Find shelf tools by name, label or keyword.
Use this when a setup exists as a shelf tool rather than as a node: oceans,
quick sims, rigging setups. A full install ships around 8,000 of them, so
always filter.
Args:
filter: Substring matched against name, label and keywords.
limit: Maximum tools to return.list_takestool List all takes in the scene with their hierarchy.
List all takes in the scene with their hierarchy.
list_usd_primstool List USD prims on a stage with filtering.
List USD prims on a stage with filtering.
Instanced geometry is invisible to the default walk: an instanceable
prim has no children of its own, they belong to its prototype. Set
traverse_instance_proxies to list the prims under it.
Args:
node_path: LOP node path.
root_path: Root prim path to list from.
prim_type: USD type filter (e.g. "Mesh", "Xform").
kind: Kind filter (e.g. "component", "group").
depth: Max traversal depth.
traverse_instance_proxies: Descend into instanceable prims and list
the prims under their prototypes.load_scenetool Open a Houdini hip file, or merge it — or named nodes from it — into
Open a Houdini hip file, or merge it — or named nodes from it — into
the current scene.
Load warnings (missing assets and the like) come back in `warnings`.
A merge reports what arrived: `merged_nodes`, `conflicts` (a node that
already exists is merged under a new name, or overwritten in place with
overwrite_on_conflict=True) and `not_found_in_file`. node_paths are
absolute (`/obj/building_v3`) and bring their contents. A merge keeps
the scene's `set -g` variables ($JOB, $POSE) the file would overwrite,
named in `globals_restored` with the file's value and the kept one;
variables the file adds are listed in `globals_added`.
Args:
file_path: Path to the hip file to open; $JOB, $HIP and other
variables are expanded.
merge: Merge into the current scene instead of replacing it.
node_paths: With merge, the absolute node paths to merge; default
everything.
overwrite_on_conflict: With merge, overwrite same-named nodes
instead of renaming the merged copy.lock_parametertool Lock or unlock a parameter.
Lock or unlock a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
locked: True to lock, False to unlock.log_statustool Display a status message in Houdini's status bar.
Display a status message in Houdini's status bar.
Call this at the START of every major step so the user can follow
along in real time without having to inspect tool call logs.
Examples: "Creating base geometry...", "Wiring SOP chain...",
"Setting up pyro simulation...", "Assigning materials...".
Args:
message: Status message to display (keep it short and human-readable).
severity: "message" (default), "important", "warning", or "error".move_nodetool Move a node to a different parent network.
Move a node to a different parent network.
Args:
ctx: MCP context.
node_path: Node path.
dest_parent: Destination parent path.new_scenetool Create a new empty Houdini scene.
Create a new empty Houdini scene.
Args:
save_current: Save the current scene before clearing.pause_top_cooktool Pause cooking on a TOP network.
Pause cooking on a TOP network.
Args:
ctx: MCP context.
node_path: TOP node or TOPnet path.playbar_controltool Control playback: play, stop, or reverse.
Control playback: play, stop, or reverse.
Args:
action: One of "play", "stop", or "reverse".
real_time: Enable or disable real-time playback.
fps: Frames per second.press_buttontool Press a button parameter — "Stash Input", "Reload Geometry", an
Press a button parameter — "Stash Input", "Reload Geometry", an
asset's own Build button — and read the node's errors and warnings
afterwards.
The call holds until the callback returns, with no deadline. A callback
that opens a dialog blocks Houdini's main thread and this bridge with it;
read the button's script first if in doubt. A Python callback that
RAISES does not hang anything: the bridge runs it rather than
pressButton(), and its error comes back as this call's error.
`callback_route` says how the press ran: python, hscript or native (a
built-in action). For a Save to Disk or a render use write_cache /
start_render, which report a verdict.
A press usually only dirties the node, so `errors`/`warnings` are from
its last cook unless `cook=True`; without it `needs_cook` says whether
they are stale (a cook that failed leaves it True too). `has_script_callback` is False for built-in buttons that still
do work (File's Reload, Stash's Stash Input).
A parm that is not a button and has no callback is refused: pressing it
does nothing. The small action button beside a field ("Create spare
parameters" on a VEXpression) runs with action=True; an action that
opens a picker holds the bridge like a dialog does.
node_paths presses the same button on each node in turn (results[] per
node), and set_first writes parameters on each node before its press, as
set_parameters does: {"aovs": 0} then Add AOVs on eight File COPs is one
call. Every node, button and parameter is checked before anything is
written; the batch is one undo step and stops at a failing press, naming
the nodes already pressed.
Args:
node_path: Node that owns the button.
parm_name: The button parameter's name.
arguments: Optional kwargs handed to the callback script; values
must be int, bool, float or str.
cook: Cook the node after the press so errors describe the result.
action: Run the parm's action button (script_action) instead of its
callback.
node_paths: Press the same button on each of these nodes instead of
node_path.
set_first: Parameter values written on each node before its press.promote_vop_parameterstool Promote VOP inputs to parameters, as the network editor's Promote Parameter does.
Promote VOP inputs to parameters, as the network editor's Promote Parameter does.
Each input gets a Parameter VOP wired in, and its parm appears on the VOP
network that owns it (POP VOP, Attribute VOP, ...): the owner is compiled
once for the whole batch, and the reply names, per input, the parm and the
node it landed on, with its value. Nothing is promoted if any item is
wrong; an input that is already wired is refused, not rewired.
Args:
promotions: One dict per input: node_path (the VOP node), input (its
input name, e.g. "input2", "destmin"), and optionally name (the
parm name; default the input's), label, kind ("parameter",
"constant" or "subnet_input"; default "parameter") and
use_input_value (start from the input's current value; default True).redotool Redo the last undone change(s) in Houdini.
Redo the last undone change(s) in Houdini.
Args:
ctx: MCP context.
steps: How many steps to redo (default 1).reload_hdatool Reload an HDA file from disk.
Reload an HDA file from disk.
Args:
ctx: MCP context.
file_path: HDA file path; variables ($JOB) are expanded.reload_plugintool Re-import the plugin's Houdini-side code without restarting Houdini.
Re-import the plugin's Houdini-side code without restarting Houdini.
For developing this server: after editing its handlers, this picks the
edit up in the running session. The MCP server's own tool definitions are
not reloaded; the client has to reconnect for those.rename_nodetool Rename a node.
Rename a node.
Args:
ctx: MCP context.
node_path: Node path.
new_name: New node name.render_node_networktool Capture a screenshot of a node's network editor view.
Capture a screenshot of a node's network editor view.
Args:
node_path: Node path to focus on.
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.render_quad_viewtool Capture all four viewport panes to separate images.
Capture all four viewport panes to separate images.
Args:
output_path: Base image path; viewport names are appended, variables
($JOB) are expanded.
Default: a new PNG in the temp dir.
resolution: [width, height] in pixels. Default: the viewport's own size.render_sheettool Render frames start..end with the OpenGL ROP and tile them into one image.Env vars
Render frames start..end with the OpenGL ROP and tile them into one image.
One image shows motion a single frame cannot: a sim's spread, a camera
move. Needs no viewport, so it works in a headless session too. A snapshot
of the scene as it is now (unsaved edits included, the session untouched)
renders in a separate hython, since a second OpenGL render in one hython
crashes on Houdini 22; that hython takes a license seat while it runs.
Frames are labelled. Objects (/obj) only, not a LOP stage.
Args:
start: First frame.
end: Last frame.
step: Frame step; at most 64 frames in all.
camera: Camera object path. Default: the scene's only camera.
resolution: [width, height] of each tile. Default [320, 240].
columns: Tiles per row. Default: about square.
output_path: Sheet image path. Default: a new PNG in the temp dir.render_viewporttool Capture the current 3D viewport to an image file.
Capture the current 3D viewport to an image file.
Args:
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.
resolution: [width, height] in pixels. Default: the viewport's own size.
camera: Camera node path.
settle_seconds: Wait this long before capturing, without blocking
Houdini, so a Karma viewport can converge after a change. Use
this instead of a shell sleep between calls. Capped at 120.reorder_inputstool Reorder the input connections of a node.
Reorder the input connections of a node.
Args:
ctx: MCP context.
node_path: Node path.
new_order: New input ordering (e.g. [1, 0] swaps first two).reset_simulationtool Reset the simulation to its initial state.
Reset the simulation to its initial state.
Args:
node_path: DOP network node path.revert_parametertool Revert a parameter to its default value.
Revert a parameter to its default value.
A default that is itself an expression comes back, named in
`default_expression` with its `default_expression_language`;
`expression_error` says when it does not evaluate.
A locked parameter cannot be reverted; the error names what sets the lock.
Args:
node_path: Node path.
parm_name: Parameter name.run_shelf_tooltool Run a shelf tool and report the nodes it created.
Run a shelf tool and report the nodes it created.
A tool that asks for objects takes `selection`, or the objects already
selected, as in Houdini. A tool that asks for anything else is retried
once as a Ctrl+click, Houdini's "place immediately" (`ran_as_ctrl_click`):
the Crowds Simulate tool then builds its whole default crowd. A tool that
still asks (the FLIP ocean layer, collide-with) is refused, since through
the bridge it would block Houdini until someone clicks: read the recipe
with get_shelf_tool_script and build the nodes with build_network.
Nodes the tool added inside networks that already existed (a FLIP tool
into the current POP network) are listed in `created_in_existing`;
`current_dop_network` says where DOP tools put theirs, before and after.
A tool that creates a DOP network (model_popnet) does not make it the
current one, so the next DOP tool would build into the previous network:
pass that network as `dop_network`.
A tool whose script fails has what it built removed, and the error names
it. A dialog tool refused for its question names, when there is one, a
tool that builds the same branch without asking.
Args:
tool_name: Internal tool name, from list_shelf_tools.
kwargs: Overrides merged into the synthetic kwargs the script reads.
parent_path: An extra network to watch for new nodes. /obj, /stage,
/out, /mat and /img are always watched, because a shelf tool is
free to build in more than one of them: largeOcean creates both
a geo in /obj and a LOP in /stage. A SOP network given here is
also where a SOP tool places its nodes (`placed_in`).
selection: Object paths the tool takes as its object selection. The
scene's selection is left as it was, whatever the tool selects.
dop_network: DOP network to make current before the run
(hou.setCurrentDopNet), where DOP tools build. It stays current
afterwards, as when an artist picks it.sample_geometrytool Sample evenly distributed points from a SOP node's geometry.
Sample evenly distributed points from a SOP node's geometry.
Args:
node_path: Node path.
sample_count: Number of points to sample.
seed: Random seed.sample_volumetool Read named volume fields at world positions, or at another SOP's points.
Read named volume fields at world positions, or at another SOP's points.
"What does the collision SDF read where the particles are" is one call
with from_node, and adds no node to the scene. A VDB SDF reads its
background (the band width) outside its narrow band, not the distance.
Args:
node_path: SOP holding the volumes.
fields: Volume names (the name attribute), e.g. ["density"].
positions: [[x, y, z], ...] in world space.
from_node: SOP whose points are the positions, instead of positions.
limit: Values are returned up to this many positions; the summary always is.
bins: Histogram bin count, or a list of bin edges, for the summary.
threshold: Count the samples above this value.save_scenetool Save the current Houdini scene to disk.
Save the current Houdini scene to disk.
Args:
file_path: Destination path; defaults to the current hip file. $JOB,
$HIP and other variables are expanded.search_helptool Search the running Houdini's own documentation — concepts,
Search the running Houdini's own documentation — concepts,
workflows, VEX functions, expression functions, HOM API, and every
effects manual SideFX ships. Version-exact, straight from the install.
Use this BEFORE improvising: when unsure how a workflow is meant to
be done ("pyro shaping", "vellum constraints"), what a VEX or
expression function does, or what a Solaris/TOPs concept means.
Follow up with get_help_page on a result path.
Args:
query: Search words (all must match a page).
scope: Optional corpus, named after the archive. Every help
archive in the install is searchable, which on a full 22.0 is
47 of them. The ones worth knowing by name: "nodes", "vex",
"expressions", "hom", "solaris", "tops", plus the workflow
manuals "pyro", "fluid", "vellum", "destruction", "grains",
"crowds", "model", "copy", "assets", "render", "shade",
"anim", "character", "ref", "shelf". Omit to search all.
limit: Max results.set_cop_flagstool Set flags on a COP node.
Set flags on a COP node.
Args:
node_path: Path to the COP node.
display: Display flag state.
export_flag: Render/export flag state.
compress: Compress flag state.set_current_networktool Navigate the network editor to a network; the viewer follows it in.
Navigate the network editor to a network; the viewer follows it in.
Call it on the network you build in. By default the viewer then hides
every other object (the viewport's Y hotkey, no display flag touched), so
the work is seen on its own and the rest of the scene does not cook.
A DOP network becomes the current one, where DOP shelf tools build (the
reply names `current_dop_network`), as entering it in Houdini does; with
other_objects=None that is all it changes besides the editor.
A Visible Objects pattern (saved with the hip) that leaves this object
out is set back to "*", named in `visible_objects_reset`.
A node that is not a network (a SOP) is made current in its own network,
named in `entered` and `current_node`.
Args:
network_path: Network path to navigate to.
other_objects: "hide" (default), "ghost", "show", or null to leave
the viewer as it is.set_current_taketool Set the current take by name.
Set the current take by name.
Args:
name: Take name to make current.set_detail_attribtool Set a detail attribute on a SOP node.
Set a detail attribute on a SOP node.
Appends an Attribute Create SOP after the node and moves the display
flag to it; the result includes the new node's path.
Args:
node_path: Node path.
attrib_name: Attribute name.
value: Value to set.set_expressiontool Set an expression on a parameter.
Set an expression on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
expression: Expression string.
language: "hscript" (default) or "python".set_frametool Set the current frame in the timeline.
Set the current frame in the timeline.
Args:
frame: Frame number.set_frame_rangetool Set the global frame range.
Set the global frame range.
Args:
start: Start frame.
end: End frame.set_hda_interfacetool Author an HDA's Type Properties interface in one call.
Author an HDA's Type Properties interface in one call.
Use this for the asset's TYPE interface — tab folders, strict ranges,
ordered menus, Hide/Disable When. `create_spare_parameter` is a different
thing: it adds parameters to one node instance and never reaches the type.
Each entry of `parameters` is a dict:
name, label, type (int|float|vector|color|string|file|oppath|toggle|
menu|button|separator|label|folder|ramp_float|ramp_color),
default, min, max, min_strict, max_strict, components,
menu_items ([value, label] pairs or plain strings),
folder_type (tabs|simple|collapsible|radio) + children for folders,
hide_when / disable_when (Houdini conditionals), help,
callback (+ callback_language, python by default) for a button,
column_labels for a label.
ramp_float / ramp_color types: default is the keys,
[{"pos": 0, "value": 0 (or [r, g, b]), "interp": "linear"}, ...].
look (logarithmic|angle|vector|color|huecircle) for numbers,
label_hidden (or is_label_hidden), hidden, join_with_next, tags; a ramp
refuses label_hidden and join_with_next, which Houdini does not store.
from_parm ("/path/node/parm"): copy that parameter's template under
`name` (label, help, conditionals still apply; the source's own
conditionals and callback are dropped, and type/default/min/max/
components/menu_items are refused). A stock node's ramp comes with
its default keys.
Any other key is refused with a did-you-mean (it used to be dropped).
Example — a Controls tab whose Bevel disappears for a single stud:
[{"name": "controls", "label": "Controls", "type": "folder",
"children": [
{"name": "stud_count", "type": "int", "default": 4,
"min": 1, "max": 8, "min_strict": True, "max_strict": True},
{"name": "bevel", "type": "float", "default": 0.02,
"min": 0.0, "max": 0.1, "hide_when": "{ stud_count == 1 }"},
{"name": "material", "type": "menu",
"menu_items": [["plastic", "Plastic"], ["metal", "Metal"]]}]}]
It is edit_hda_interface with one insert per entry: names already in the
interface are refused before anything is written, and the reply is read
back off the definition — `ops[].stored`, `renamed_by_houdini` (a tab
folder joins the existing tab set's naming series), `not_found_after_write`,
`help_not_stored`, `instance_parms_missing` and `instance_expression_errors`.
Args:
ctx: MCP context.
node_path: An instance of the HDA whose definition is edited.
parameters: Interface spec (see above). create_spare_parameters'
spelling (parm_name, parm_type, default_value) is accepted too.
replace: Start from an empty interface. Built-in parameters of the node
type cannot be removed: Houdini puts them back
(`reinstated_by_houdini`).
dry_run: Validate and report the plan without writing.set_hda_section_contenttool Write content to a specific section in an HDA definition.
Write content to a specific section in an HDA definition.
Event scripts (OnCreated, OnLoaded, OnUpdated, OnDeleted, OnInputChanged,
PreFirstCreate, PostLastDelete, ...) are HScript unless marked Python:
pass language="python" (or "hscript"); left out, code using kwargs,
hou. or import is marked Python. `script_language` reads it back.
Args:
ctx: MCP context.
node_path: Node path.
section_name: Section name.
content: Section content.
language: For an event script, "python" or "hscript".set_keyframetool Set a single keyframe on a parameter.
Set a single keyframe on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
frame: Frame number.
value: Value at this keyframe.
slope: Tangent slope.
accel: Acceleration.set_keyframestool Batch-set multiple keyframes on a parameter.
Batch-set multiple keyframes on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
keyframes: List of dicts with "frame", "value", and optionally "slope"/"accel".set_light_propertiestool Set properties on a USD light prim via an inline Python LOP.
Set properties on a USD light prim via an inline Python LOP.
Args:
node_path: LOP node path to connect after.
prim_path: USD light prim path.
properties: Property name-value pairs to set.set_node_colortool Set a node's color in the network editor.
Set a node's color in the network editor.
Args:
ctx: MCP context.
node_path: Node path.
r: Red (0.0-1.0).
g: Green (0.0-1.0).
b: Blue (0.0-1.0).set_node_flagstool Set flags on a node.
Set flags on a node.
Args:
ctx: MCP context.
node_path: Node path.
display: Display flag.
render: Render flag.
bypass: Bypass flag.
template: Template flag.
lock: Lock flag.set_node_positiontool Set a node's position in the network editor.
Set a node's position in the network editor.
Args:
ctx: MCP context.
node_path: Node path.
x: Horizontal position.
y: Vertical position.set_object_transformtool Set an object's translate, rotate, scale and/or parent in one call.
Set an object's translate, rotate, scale and/or parent in one call.
Only the arguments you pass change. Object-level nodes under /obj only;
SOP transforms are a Transform SOP, not this.
Args:
ctx: MCP context.
node_path: Object node, e.g. "/obj/geo1".
translate: [tx, ty, tz].
rotate: [rx, ry, rz] in degrees.
scale: [sx, sy, sz].
parent: Object to parent under, or "" to unparent.set_parametertool Set a parameter value.
Set a parameter value.
A parameter that holds an expression does NOT take a literal: Houdini
writes the value into a slot the expression keeps overriding. The reply
then carries `expression_kept: true` with the surviving `expression` and
what you `requested` (plus `same_as_evaluated` when the expression happens
to evaluate to that value right now) — read those before calling the write
done. Pass override_expression=True to clear the expression first.
A parameter holding a BARE ch() reference is the opposite trap: Houdini
writes THROUGH it into the parameter it reads, so the value lands on
another node. The reply names that parameter in `written_through`.
Inside a DOP network a write does not reset frames already simulated:
`simulation_cache` names the network to pass to reset_simulation.
A String parameter echoes `raw_value` (the unexpanded text, `$JOB/...`)
next to the expanded `new_value`.
A list with {"expr": ...} components ("t": [{"expr": "$F"}, 0, 0]) and
a whole ramp ({"keys", "values", "basis"}) go through set_parameters:
this tool's `value` takes plain values only.
A LOCKED parameter (karmarendersettings resolutiony under res_mode
autoheight) takes nothing at all; the error names the menu whose callback
sets the lock. Houdini runs such callbacks only from the UI: set that menu
with run_callbacks=True first, then the locked parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
value: New value (int, float, string, bool, or list).
override_expression: Remove an expression standing in the way,
instead of reporting that the write did not take.
run_callbacks: Run the parameter's callback script after the write,
as editing it in the UI does (`callback_run` in the reply, and
`callback_error` when the callback raised).set_parameterstool Batch-set multiple parameters on a node, in the order given.
Batch-set multiple parameters on a node, in the order given.
Expressions go in the same call: {"tx": {"expr": "ch('../size')"}} sets
an expression, so no set_expression per parameter is needed.
Inside a DOP network a write does not reset frames already simulated:
`simulation_cache` names the network to pass to reset_simulation.
Parameters that held an expression and therefore ignored the literal are
listed in `expressions_kept`, with a top-level `warning`: a batch whose
`errors` is empty can still contain a write that did not take. Values that
landed on ANOTHER node, because the parameter is a bare ch() reference
Houdini writes through, are in `written_through`. Each entry in `set`
carries the same keys as set_parameter's reply. Pass
override_expression=True to clear those expressions and links instead.
Locked parameters are in `errors` with `locked: true` and listed in
`locked_parms`; the error names the menu whose callback sets the lock.
With run_callbacks=True each parameter's callback runs after its write, so
`{"res_mode": "manual", "resolutiony": 1080}` unlocks and then writes; a
callback that raised is listed in `callbacks_not_run`.
Args:
node_path: Node path.
params: Mapping of parameter names to values, written in this order.
A value written {"expr": "...", "language": "hscript" | "python"}
is set as an expression, as in build_network, also as one
component of a list ("t": [{"expr": "$F"}, 0, 0]). A ramp takes the
whole ramp at once: {"keys": [0, 1], "values": [[1, 0, 0],
[0, 0, 1]], "basis": "linear"} (one basis or one per key; a
float ramp takes numbers), the shape get_parameter reads it in.
A ramp's `new_value` is what it holds once the whole call is
through, so a key added by count and then set reads as set.
override_expression: Remove expressions standing in the way.
run_callbacks: Run each parameter's callback script after its write,
as the UI does.set_playback_rangetool Set the playback range (green bar in the timeline).
Set the playback range (green bar in the timeline).
A range past the global frame range widens the global range to hold it
(a graphical Houdini would clamp the playback range silently); the reply
then has `frame_range_widened` with the global range before and after.
That moves $FSTART/$FEND, so ROPs and caches left at their default range
follow it.
Args:
start: Start frame.
end: End frame.set_render_settingstool Set render parameters on a ROP node.
Set render parameters on a ROP node.
Args:
node_path: ROP node path.
settings: Parameter name-value pairs.set_selectiontool Set the node selection.
Set the node selection.
Args:
node_paths: Node paths to select.set_update_modetool Set Houdini's cook update mode, or read it when called with no mode.
Set Houdini's cook update mode, or read it when called with no mode.
"manual" before a long build stops every parameter change from re-cooking;
set "auto" back afterwards.
Args:
ctx: MCP context.
mode: "auto", "on_mouse_up" or "manual". Omit to read.set_usd_attributetool Set a USD attribute value via an inline Python LOP.
Set a USD attribute value via an inline Python LOP.
Args:
node_path: LOP node path to connect after.
prim_path: USD prim path.
attr_name: Attribute name.
value: Value to set.set_viewer_contexttool Point the Scene Viewer at a network, and optionally a node inside it.
Point the Scene Viewer at a network, and optionally a node inside it.
set_current_network moves the network EDITOR; this moves the VIEWER. That is
what decides whether a scene graph view exists, so it is the prerequisite for
previewing a USD stage or setting a Hydra delegate: call this with "/stage"
before set_viewport_renderer or before binding a USD camera prim.
The result reports is_scene_graph_view, which is the question you are usually
really asking.
Args:
network_path: Network for the viewer to display, e.g. "/stage".
current_node: Node inside it to make current, which selects the stage a
Solaris viewport shows.
pane_name: Pane tab name.set_viewport_cameratool Set the viewport to look through a specific camera.
Set the viewport to look through a specific camera.
Args:
camera_path: Camera node path, or a USD camera prim path for a
Solaris viewport. The result reports the camera the viewport is
actually looking through, and fails if it did not take.
pane_name: Pane tab name.set_viewport_directiontool Set the viewport to a standard viewing direction, or place the free view.
Set the viewport to a standard viewing direction, or place the free view.
rotation/pivot/distance orbit the viewport's own (non-camera) view:
rotation [rx, ry, rz] in degrees about the pivot, distance from it. The
reply reads the view back. Looking through a camera, move the camera.
Args:
direction: "front", "back", "top", "bottom", "left", "right", or "perspective".
pane_name: Pane tab name.
rotation: [rx, ry, rz] degrees for the free view.
pivot: [x, y, z] the free view orbits.
distance: Distance of the free view from its pivot along its view
axis (the dolly); a sideways pan is not counted in it.set_viewport_displaytool Set how the viewport draws: shading, environment background, grid,
Set how the viewport draws: shading, environment background, grid,
particle point size, colour scheme. Any of them in one call; each is read
back in the reply.
Args:
display_mode: One of 'wireframe', 'shaded', 'smooth', 'smooth_wire',
'hidden_line', 'flat', 'flat_wire', 'matcap', 'matcap_wire'.
pane_name: Pane tab name.
environment_background: False hides an environment (dome) light's
map behind the scene, True shows it. Set on every view of the
viewer; the reply reads it back per view.
reference_plane: False hides the reference plane (the grid), True
shows it.
point_size: Diameter in pixels of particles drawn as points, on every
view of the viewer.
color_scheme: 'dark', 'darkgrey', 'grey' or 'light', on every view.set_viewport_renderertool Set the viewport's Hydra rendering delegate for live preview.
Set the viewport's Hydra rendering delegate for live preview.
Use this during lookdev to preview materials and lighting directly in the
viewport instead of writing full renders to disk.
Args:
renderer: Renderer name. The result reports the delegate that is
actually active afterwards, read back from Houdini rather than
inferred from a setter not raising.
renderer: Renderer name — "GL", "Storm", "Karma CPU", "Karma XPU", etc. Case-insensitive partial match.
pane_name: Pane tab name.set_wrangle_codetool Set VEX code on an existing Attribute Wrangle node, whole or in part.
Set VEX code on an existing Attribute Wrangle node, whole or in part.
For one block of a long snippet, pass `edits` instead of `vex_code`:
[{"old": "<exact text now in the snippet>", "new": "<its replacement>"}],
applied in order; each `old` must occur exactly once (add a neighbouring
line to make it unique), and one bad edit writes nothing. The reply then
gives `edits_applied` (line range and new text of each) instead of the
whole code.
Args:
node_path: Path to the wrangle node.
vex_code: VEX snippet to set.
edits: Exact replacements in the current snippet, instead of vex_code.setup_flip_simtool Build a FLIP fluid simulation network from source geometry.
Build a FLIP fluid simulation network from source geometry.
Preferred over manual wiring — builds SideFX's SOP FLIP chain in one call:
FLIP Container sized around the source, FLIP Boundary emitting from it,
FLIP Solver with a ground plane at y=0, and a File Cache on the particles.
Args:
source_geo: Source SOP path.
domain: Domain type.
particle_sep: Particle separation distance.
name: Top-level geo node name.setup_pyro_simtool Build a Pyro smoke/fire simulation network from source geometry.
Build a Pyro smoke/fire simulation network from source geometry.
Preferred over manual DOP wiring — builds the entire pyro network in one call:
Pyro Source (density, temperature, burn), Volume Rasterize Attributes, Pyro
Solver and a File Cache.
For custom setups beyond what this provides, use create_node with DOP nodes
(pyrosolver, smokeobject, volumesource, etc.).
Args:
source_geo: Source SOP path.
container: Container type.
res_scale: Resolution scale multiplier.
substeps: DOP substeps.
name: Top-level geo node name.setup_rbd_simtool Build an RBD rigid-body simulation network with fracture and solver.
Build an RBD rigid-body simulation network with fracture and solver.
Preferred over manual DOP wiring — builds the entire RBD network in one call.
For source geometry, build SOP chains with native nodes (voronoifracture,
booleanfracture, rbdmaterialfracture) instead of VEX.
Args:
geo_path: Source geometry object path.
ground: Add a ground plane.
pieces_type: Fracture method ("voronoi").
name: Top-level geo node name.setup_rendertool Set up a render configuration with camera and ROP node.
Set up a render configuration with camera and ROP node.
Args:
renderer: Renderer type ("karma", "mantra").
camera: Camera node path; creates one if omitted.
output_path: Output image path (supports Houdini variables).
resolution: [width, height] resolution.
samples: Render sample count.
name: ROP node name in /out.setup_vellum_simtool Build a Vellum simulation network with configure node and solver.
Build a Vellum simulation network with configure node and solver.
Preferred over manual DOP wiring — builds the entire Vellum network in one call:
the shelf's Configure recipe for the type, the Vellum Solver, and a Vellum I/O
cache that keeps constraints and collisions with the geometry.
Use Vellum Drape SOP to let cloth settle before the main simulation.
Args:
geo_path: Source geometry object path.
sim_type: Simulation type ("cloth", "hair", "grain", "softbody").
substeps: Solver substeps.
name: Top-level geo node name.
ground: Turn on the solver's ground plane at y=0.start_houdinitool Start a Houdini of this server's own and connect to it.Filesoutside text
Start a Houdini of this server's own and connect to it.
Headless (hython) by default: no window, no viewport, so the capture tools
refuse there. gui=True starts the full application, which serves only if
the plugin's package is installed (fxhoudinimcp install). Either takes a
license seat until stop_houdini. Set HYTHON to choose the build.
Args:
gui: Start the Houdini application instead of headless hython.
hip_file: Scene to open.
wait_seconds: How long to wait for it to serve.start_rendertool Execute any node that renders or writes files.
Execute any node that renders or writes files.
Foreground by default: Houdini shows its own progress dialog and the
user can cancel. The call holds until the render finishes, however
long that is; a client that hands a long call to a background task
notifies you with the verdict. Do nothing else in Houdini meanwhile and never poll
the disk.
Not just /out ROPs: a LOP usdrender_rop (which is how Solaris renders), a
SOP ROP Geometry, or a File Cache's Save to Disk all work, because what
matters is whether the node can be executed rather than its category.
The result reports the output path it wrote to and whether anything is
actually on disk there, so a render that succeeds and writes nowhere is
visible instead of silent.
Args:
node_path: Any node with a render() or an 'execute' button.
frame_range: [start, end] or [start, end, increment].
background: Render in a separate hython on the saved hip and return
at once with status "launched"; get_render_progress reports the
process, its log tail and the files. The user sees no progress
in Houdini, so use it only when asked to keep working while a
render runs.
overrides: {parm_name: value} for this render only, e.g. a draft
{"resolutionx": 640, "resolutiony": 360}; a parm tuple takes a
list. Put back afterwards, expressions and keyframes included,
even if the render fails (`overrides_applied`,
`overrides_restored`). Foreground only. A Karma LOP's "Wait for
Render to Complete" is switched on for the call when it is off
(`foreground_forced`).step_simulationtool Advance the simulation by a number of frames.
Advance the simulation by a number of frames.
Args:
node_path: DOP network node path.
steps: Number of frames to advance.stop_houdinitool Stop a Houdini that start_houdini started, and go back to the previous session.
Stop a Houdini that start_houdini started, and go back to the previous session.
Only sessions started by this server can be stopped: anything else may be
someone's unsaved work.
Args:
pid: Session to stop. Default: the current one, if this server started it.undotool Undo the last change(s) made in Houdini.
Undo the last change(s) made in Houdini.
Every tool call is one undo step, however many nodes it touched, so one
undo reverses one build_network or set_parameters call. Needs a graphical
Houdini: hython keeps no undo history.
Args:
ctx: MCP context.
steps: How many steps to undo (default 1).uninstall_hdatool Uninstall an HDA file from the current session.
Uninstall an HDA file from the current session.
Args:
ctx: MCP context.
file_path: HDA file path; variables ($JOB) are expanded.update_hdatool Save the current node contents back to its HDA definition.
Save the current node contents back to its HDA definition.
The definition's library file is written by this call: `saved_to_disk`
and `library_file_mtime` say so, so no separate save is needed. An
embedded definition lives in the hip file and is kept when the scene is
saved.
Args:
ctx: MCP context.
node_path: Node path.validate_vextool Validate VEX code by cooking the node and checking for errors.
Validate VEX code by cooking the node and checking for errors.
Args:
node_path: Path to the wrangle node.verify_networktool Inspect every node in a network at once — errors, warnings, flags,
Inspect every node in a network at once — errors, warnings, flags,
and the display node's cooked geometry counts.
Call this after building or modifying a network, the way an artist
middle-clicks nodes: if `healthy` is false or `error_nodes` is
non-empty, fix those nodes before telling the user anything is done.
Each node lists `errors`, `warnings`, `bypassed` and `display` only when
it has them; absent means none. For a LOP network the evidence is the
stage (prims, cameras, lights, gprims without a material), for a COP
network the image layer (resolution, channel ranges).
A node's errors are its LAST cook's verdict. A node that nothing has
cooked since its cause was fixed is reported `stale` and listed in
`stale_error_nodes`; pass force_cook=True to recook before judging.
The default cooks only the display node, so a heavy scene is left alone.
Args:
parent_path: Network to verify (e.g. "/obj/geo1").
force_cook: Cook the display node with force and recook every node
that has errors, so the verdict is about the network as it is now.write_cachetool Execute a cache node, and report whether a cache actually appeared.
Execute a cache node, and report whether a cache actually appeared.
Foreground by default: Houdini shows its own progress dialog and the
user can cancel. The call holds until the write finishes, however long
that is; a client that hands a long call to a background task notifies
you with the verdict when it lands. Do nothing else in Houdini meanwhile (every
other call queues behind the write) and never poll the disk.
`success` and `wrote_files` reflect the files on disk and the errors of the
node that did the writing -- a filecache delegates to an internal ROP and
stays silent itself, so a failed write used to be reported as success.
Errors are named with the node they came from.
Args:
ctx: MCP context.
node_path: Path to the cache node.
frame_range: [start, end] frame range to render. Overrides the
node's $FSTART/$FEND expressions for this and later writes.
background: Save from a separate Houdini process (File Cache's own
"Save to Disk in Background") so Houdini stays usable, at the
cost of the user seeing no progress there. Saves the hip first,
returns at once with status "launched"; follow it with
get_cache_status. Use it only when asked to keep working while
a cache writes. A verified foreground write turns the node's
Load from Disk on.Text the model reads (233)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_usd_prim tool
Get detailed info about a USD prim.
Array attributes longer than 16 elements (points, faceVertexIndices,
primvars:st, ...) come back as a summary: size, element_type, the first 8
as `head`, and min/max for numeric data. That is what a mesh question
needs; the full arrays of a building ran to 6.6 million characters. Pass
full=True for every element, or read one array in windows with
get_usd_attribute(offset=, limit=).
Values are read at `time`, or at the current frame when it is not given
-- what a render of that frame sees; the reply names both as `time` and
`time_source`. An attribute with time samples carries `time_samples`:
its value differs at other frames. Relationships (a RenderSettings'
`camera`) are listed with their `targets`. For the same attributes
across many prims, get_usd_attributes reads them in one call.
Args:
node_path: LOP node path.
prim_path: USD prim path.
full: Return array attributes in full instead of summarised.
traverse_instance_proxies: List the children that live on an
instanceable prim's prototype. Without it such a prim answers
`children: []` and is flagged `is_instanceable` with a
`hidden_descendants` count, so the empty list is not read as
"nothing inside".
time: Time code (frame) to read at; default the current frame.
attr_patterns: Glob patterns on attribute and relationship names
(e.g. ["resolution", "karma:global:*"]); default all.list_children tool
List children of a network node.
Avoid `recursive=True` on large networks — it can return hundreds or
thousands of nodes. Prefer `find_nodes` with a specific pattern instead.
A recursive listing does not enter locked assets (a POP or FLIP solver's
insides): the asset itself is listed, flagged `locked_asset`.
Args:
ctx: MCP context.
parent_path: Parent network path.
recursive: Include all descendants (use sparingly on large scenes).
filter_type: Node type filter (e.g. 'box', 'merge').
include_locked_assets: With recursive, also list what locked assets
contain.set_keyframe tool
Set a single keyframe on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
frame: Frame number.
value: Value at this keyframe.
slope: Tangent slope.
accel: Acceleration.set_keyframes tool
Batch-set multiple keyframes on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
keyframes: List of dicts with "frame", "value", and optionally "slope"/"accel".delete_keyframe tool
Delete a keyframe at a specific frame.
Args:
node_path: Node path.
parm_name: Parameter name.
frame: Frame number to delete.get_keyframes tool
Get all keyframes on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.set_frame tool
Set the current frame in the timeline.
Args:
frame: Frame number.get_frame tool
Get the current frame and FPS.
set_frame_range tool
Set the global frame range.
Args:
start: Start frame.
end: End frame.set_playback_range tool
Set the playback range (green bar in the timeline).
A range past the global frame range widens the global range to hold it
(a graphical Houdini would clamp the playback range silently); the reply
then has `frame_range_widened` with the global range before and after.
That moves $FSTART/$FEND, so ROPs and caches left at their default range
follow it.
Args:
start: Start frame.
end: End frame.playbar_control tool
Control playback: play, stop, or reverse.
Args:
action: One of "play", "stop", or "reverse".
real_time: Enable or disable real-time playback.
fps: Frames per second.list_caches tool
List all cache-type nodes under a root path.
Args:
ctx: MCP context.
root_path: Root path to search from.get_cache_status tool
Frames on disk for a cache node, against the range it is set to write.
This is what to poll after a background write_cache: `complete` is true
when every frame of `expected_range` is on disk, `missing_frames` lists
the rest, `writing` is true while files are still arriving, and `hint`
tells you when the finished cache is not yet loaded from disk. Never
wait for a cache with a shell loop; call this between other work.
Args:
ctx: MCP context.
node_path: Path to the cache node.clear_cache tool
Delete cached files on disk for a cache node.
Args:
ctx: MCP context.
node_path: Path to the cache node.
frame_range: [start, end] frame range to limit deletion.write_cache tool
Execute a cache node, and report whether a cache actually appeared.
Foreground by default: Houdini shows its own progress dialog and the
user can cancel. The call holds until the write finishes, however long
that is; a client that hands a long call to a background task notifies
you with the verdict when it lands. Do nothing else in Houdini meanwhile (every
other call queues behind the write) and never poll the disk.
`success` and `wrote_files` reflect the files on disk and the errors of the
node that did the writing -- a filecache delegates to an internal ROP and
stays silent itself, so a failed write used to be reported as success.
Errors are named with the node they came from.
Args:
ctx: MCP context.
node_path: Path to the cache node.
frame_range: [start, end] frame range to render. Overrides the
node's $FSTART/$FEND expressions for this and later writes.
background: Save from a separate Houdini process (File Cache's own
"Save to Disk in Background") so Houdini stays usable, at the
cost of the user seeing no progress there. Saves the hip first,
returns at once with status "launched"; follow it with
get_cache_status. Use it only when asked to keep working while
a cache writes. A verified foreground write turns the node's
Load from Disk on.get_chop_data tool
Get CHOP node track data.
Args:
node_path: CHOP node path.
channel_name: Specific channel to retrieve.
start: Start sample index.
end: End sample index.create_chop_node tool
Create a new CHOP node.
Before using this, call list_node_types(context='Chop', filter='<keyword>')
to verify the correct node type. CHOPs has many dedicated nodes for motion
and timing — noise, wave, spring, jiggle, lag, limit, filter, math,
function, blend, shift, stretch, trim, cycle, speed, constraintlookatat,
constraintpath — that may already do what you need.
Args:
parent_path: Parent network path.
chop_type: CHOP node type to create.
name: Node name override.list_chop_channels tool
List all channels on a CHOP node.
Args:
node_path: CHOP node path.export_chop_to_parm tool
Export a CHOP channel to a parameter via a chop() expression.
Args:
chop_path: CHOP node path.
channel_name: Channel to export.
target_node_path: Target node path.
target_parm_name: Parameter to receive the export.execute_python tool
Execute arbitrary Python code inside Houdini. LAST RESORT only.
DO NOT use this to:
- Create nodes or networks → use build_network or create_node
- Set parameters → use set_parameter or set_parameters
- Create wrangles or write Python SOPs → use create_wrangle
- Connect nodes → use connect_nodes or connect_nodes_batch
- Read geometry → use get_geometry_info, get_points, sample_geometry
ONLY use this when no dedicated tool exists for the operation — i.e.
hou.* API calls or Python-level state that no other tool exposes.
The justification parameter is mandatory: name the dedicated tools
you considered and why none covers this operation.
Args:
code: Python source code to execute.
justification: Which dedicated tools you considered and why none
covers this operation.
return_expression: Python expression to evaluate after execution.reload_plugin tool
Re-import the plugin's Houdini-side code without restarting Houdini.
For developing this server: after editing its handlers, this picks the
edit up in the running session. The MCP server's own tool definitions are
not reloaded; the client has to reconnect for those.execute_hscript tool
Execute an HScript command in Houdini.
Args:
command: HScript command string to execute.evaluate_expression tool
Evaluate an expression in Houdini and return its result.
Args:
expression: Expression string to evaluate.
language: Expression language, "hscript" or "python".get_env_variable tool
Get a Houdini environment variable value.
Args:
var_name: Name of the environment variable.get_file_references tool
Every file path the scene references, with the parameter holding it and whether it exists.
Args:
ctx: MCP context.
include_missing_only: Only report paths that are missing on disk.set_update_mode tool
Set Houdini's cook update mode, or read it when called with no mode.
"manual" before a long build stops every parameter change from re-cooking;
set "auto" back afterwards.
Args:
ctx: MCP context.
mode: "auto", "on_mouse_up" or "manual". Omit to read.get_network_overview tool
Get a compact overview of a network.
Keep `depth` low (1–2). Larger values on complex scenes return thousands
of nodes and can overflow the context window.
Args:
path: Network path.
depth: Recursion depth (default 2, keep ≤ 3).get_cook_chain tool
Trace the cook dependency chain for a node.
Args:
node_path: Node path.explain_node tool
Explain a node in human-readable form.
Args:
node_path: Node path.get_selection tool
Get the current node selection.
set_selection tool
Set the node selection.
Args:
node_paths: Node paths to select.get_scene_summary tool
Get a high-level summary of the scene.
compare_snapshots tool
Take or compare scene state snapshots.
Args:
action: "take" or "compare".
snapshot_name: Snapshot name.get_node_errors_detailed tool
Get detailed error analysis for nodes.
Args:
node_path: Node to analyze, or scan from root_path if omitted.
root_path: Root path to scan.get_cop_info tool
Get information about a COP node.
Args:
node_path: Path to the COP node.get_cop_geometry tool
Get geometry representation from a COP node.
Args:
node_path: Path to the COP node.
output_index: Output connector index.get_cop_layer tool
Get image layer data from a COP node.
A cable output (more than one wire) answers `is_cable` and `wires` (name,
data type and each wire's layer summary); `copernicus_layer` is the wire
named by `wire` (index or name, default the first), see `layer_read`.
`wire_sum=True` adds min/max/average of the per-pixel sum of the
one-channel wires, e.g. to check that blend weights sum to 1.
Args:
node_path: Path to the COP node.
output_index: Output connector index.
wire: On a cable output, the wire to read (index or name).
wire_sum: On a cable output, stats of the per-pixel sum of its wires.create_cop_node tool
Create a COP node in the specified network.
Before using this, call list_node_types(context='Cop', filter='<keyword>')
for Copernicus nodes (Houdini 20+), or context='Cop2' for legacy COPs.
Copernicus is the modern image processing system and is preferred over COP2
(deprecated as of Houdini 20.5). COPs has many dedicated image-processing
nodes — blur, sharpen, levels, contrast, over, multiply, luminance,
premultiply, channelcopy, noise, ramp, fractalnoise, worleynoise,
rasterizegeo, heighttonormal, sdfshape — that may cover the operation
without needing a VEX COP or Python.
Args:
parent_path: Path to the parent COP network.
cop_type: COP node type to create.
name: Override node name.set_cop_flags tool
Set flags on a COP node.
Args:
node_path: Path to the COP node.
display: Display flag state.
export_flag: Render/export flag state.
compress: Compress flag state.list_cop_node_types tool
List available COP node types.
Args:
filter: Substring filter for node type names.get_cop_vdb tool
Get VDB volumetric data from a COP node.
Args:
node_path: Path to the COP node.
output_index: Output connector index.get_simulation_info tool
Get DOP network simulation state, cooked at the current frame.
`simulation_frame` is the frame the simulation actually holds. Going
back to a frame the memory cache no longer keeps, Houdini gives the
frame it kept instead of simulating again; `note` then says so, and what
the nodes reading the network get: that frame's state, or no geometry
when the simulation holds no objects. Check this before measuring or
rendering a frame reached backwards. A scene ahead of the
simulation is simulated up to its frame first, under Houdini's
interrupt dialog and with no deadline: wait for the reply. Stopped
there, it says so (`interrupted`) with the frame reached.
Args:
node_path: DOP network node path.list_dop_objects tool
List all DOP objects in a simulation.
Args:
node_path: DOP network node path.get_dop_object tool
Get detailed data for a specific DOP object.
Args:
node_path: DOP network node path.
object_name: DOP object name.get_dop_field tool
Read a specific field value from a DOP record.
Args:
node_path: DOP network node path.
object_name: DOP object name.
data_path: Dot-separated subdata path (e.g. "Geometry", "Forces/Gravity").
field_name: Field name to read.get_dop_relationships tool
List all relationships between DOP objects.
Args:
node_path: DOP network node path.step_simulation tool
Advance the simulation by a number of frames.
Args:
node_path: DOP network node path.
steps: Number of frames to advance.reset_simulation tool
Reset the simulation to its initial state.
Args:
node_path: DOP network node path.get_sim_memory_usage tool
Get detailed memory breakdown for the simulation.
Args:
node_path: DOP network node path.get_geometry_info tool
Get geometry summary for a SOP node.
Args:
node_path: Node path.
output_index: Which output to read, for nodes with several (FLIP
compress, Vellum solver, whitewater source): 0 is the first.get_points tool
Read point positions and attributes with pagination.
Args:
node_path: Node path.
attributes: Attribute names to read.
start: Start index.
count: Max points per page (200 by default, about 14 KB; page on with
start while has_more is true).
group: Point group filter.get_prims tool
Read primitive data and attributes with pagination.
Args:
node_path: Node path.
attributes: Attribute names to read.
start: Start index.
count: Max prims per page (200 by default; page on with start while
has_more is true).
group: Prim group filter.get_attrib_values tool
Read attribute values as a flat array with pagination.
For spot-checking a few values prefer sample_geometry — it returns a
representative spread of points with all their attributes in one call.
Use get_attrib_values when you need a specific slice of one attribute.
Values are element-major: for a float3 attribute every 3 consecutive
values belong to one element. Check has_more and increment start to
read subsequent pages.
Args:
node_path: Node path.
attrib_name: Attribute name.
attrib_class: "point", "prim" (or "primitive"), "vertex", or "detail".
start: First element index to return.
count: Max elements per page (default 200).set_detail_attrib tool
Set a detail attribute on a SOP node.
Appends an Attribute Create SOP after the node and moves the display
flag to it; the result includes the new node's path.
Args:
node_path: Node path.
attrib_name: Attribute name.
value: Value to set.get_groups tool
List all geometry groups on a SOP node.
Args:
node_path: Node path.get_group_members tool
Get element indices in a geometry group, with pagination.
Check has_more and increment start to read subsequent pages.
Args:
node_path: Node path.
group_name: Group name.
group_type: "point", "prim" (or "primitive"), or "edge".
start: First element index to return.
count: Max elements per page (default 5 000).get_bounding_box tool
Get the bounding box of a SOP node's geometry.
Args:
node_path: Node path.get_attribute_info tool
Get metadata for a geometry attribute.
Args:
node_path: Node path.
attrib_name: Attribute name.
attrib_class: "point", "prim" (or "primitive"), "vertex", or "detail".sample_geometry tool
Sample evenly distributed points from a SOP node's geometry.
Args:
node_path: Node path.
sample_count: Number of points to sample.
seed: Random seed.get_prim_intrinsics tool
Get intrinsic values for primitives: one, many, or all of them.
Read many prims in one call rather than one call per prim. `intrinsics`
alone sweeps every prim for those intrinsics and answers with a `prims`
table plus `stats` (min/max/avg and the prim index each extreme belongs
to, per component for a vector such as `bounds`); `prim_indices` or
`prim_range` narrow it to the prims you care about. Up to 2000 rows per
call; beyond that the reply says `truncated` and `requested_count`, and
`stats` cover only the rows returned: page with `prim_range`.
Args:
node_path: Node path.
prim_index: One primitive index, or None for a summary.
prim_indices: Several primitive indices, read in one call.
prim_range: [start, end] (end inclusive) instead of a list.
intrinsics: Only these intrinsics, e.g. ["bounds", "packedfulltransform"].
With none of the index arguments, they are read for every prim.find_nearest_point tool
Find the nearest point(s) to a given position.
Args:
node_path: Node path.
position: Query position as [x, y, z].
max_results: Max nearest points to return.get_attrib_stats tool
Aggregate statistics for numeric attributes: min, max, mean, sum.
Use this to prove something is happening, rather than reading values.
get_geometry_info names the attributes; get_attrib_values returns every
value, which on a 60k-point cache tells you nothing you can read. Vector
attributes also report per-component ranges, so a velocity field's per-axis
extremes come back in the same call.
Args:
node_path: SOP node path.
attribs: Attribute names. Omit for every attribute of the class. A
name written "age/life" is the ratio of two attributes, per
element (elements dividing by zero are counted, not used).
attrib_class: "point", "prim" (or "primitive"), "vertex" (uv and N
usually live there) or "detail".
frames: Measure at each of these frames: a row per node per frame,
frames cooked in increasing order, the current frame put back.
element_count is the point count and P's per-component min/max
the bounds, so a sim's count and spread over time is ONE call.
node_paths: Several nodes (variants) in the same call, instead of
node_path.
percentiles: e.g. [5, 50, 95] for the distribution (50 = median).
group: Only the elements in this group pattern, as a SOP group field
takes it: "grp", "@id>=0", "0-99"; space-separated parts add up.
Point and prim classes.
unique: Count distinct values of integer and string attributes
(`unique_count`, `most_common`); for the prim class also
`vertices_per_prim`, a trail's length and its distribution.
distance_to: A SOP whose surface each point's distance is measured
to (`distance_to` in the reply: min / max / mean, percentiles):
particles crawling on or hovering over a mesh. Point class; the
scene is not changed. Both are taken in their own SOP space:
object transforms are not applied, so use it within one object.get_volume_info tool
Per-volume name, resolution, active voxels, value range, mean and sum.
A primitive count cannot tell a correctly named non-empty density field from
an empty one, which is the question worth asking before wiring a solver's
sourcing. This is the SOP counterpart of get_cop_vdb.
threshold or bins read the voxels (VDB: active ones) for percentiles, a
histogram, the count over threshold and box_above_threshold, the world box
of the voxels over it: where the smoke is, not where the grid is.
voxel_size, first_voxel_center and last_voxel_center place the grid (a
VDB's: its active voxels): two volumes share a grid when all three match,
which their bboxes cannot tell.
Args:
node_path: SOP node path holding volume or VDB primitives.
max_volumes: Cap on volumes reported.
threshold: Split the voxels at this value and box the ones above it.
bins: Histogram bin count, or a list of bin edges.sample_volume tool
Read named volume fields at world positions, or at another SOP's points.
"What does the collision SDF read where the particles are" is one call
with from_node, and adds no node to the scene. A VDB SDF reads its
background (the band width) outside its narrow band, not the distance.
Args:
node_path: SOP holding the volumes.
fields: Volume names (the name attribute), e.g. ["density"].
positions: [[x, y, z], ...] in world space.
from_node: SOP whose points are the positions, instead of positions.
limit: Values are returned up to this many positions; the summary always is.
bins: Histogram bin count, or a list of bin edges, for the summary.
threshold: Count the samples above this value.compare_volumes tool
How much of one field sits in each band of another field.
"How much density is inside the collider" is field="density",
against="surface" (an SDF), bands=[-1000, 0, 1000]: the first band's
field_total is what is inside. Both are sampled on a grid over field's box.
Args:
node_path: SOP holding field.
field: Volume to total, e.g. "density".
against: Volume whose value picks the band, e.g. a collider SDF.
against_node: SOP holding against, when not node_path.
bands: Band count, or a list of band edges.build_network tool
Build a whole node network in ONE atomic call — the PREFERRED way
to construct anything of 3+ nodes (massively faster than node-by-node
calls, and either the whole network builds or nothing does).
Every node type, parameter name, and input reference is validated
against the running Houdini BEFORE anything is created; errors come
back with did-you-mean suggestions. Use dry_run=True to prove a plan
when using unfamiliar node types. The result includes cooked
evidence: per-node errors and the display node's geometry counts —
read them instead of assuming success.
Each node spec dict supports exactly these keys; an unknown one (in a
spec or in an input entry) is a validation error with a did-you-mean,
never a silently dropped request:
type (required), name, parms (lists set whole parm tuples; a value
written {"expr": "ch('../x')"} is set as an expression, with an
optional "language": "hscript" | "python", also as one component
of a list: "t": [{"expr": "$F"}, 0, 0]; a ramp takes the whole
ramp as {"keys", "values", "basis"}), expressions (or its
alias exprs: a block of parm name -> expression), inputs (list of
source names — earlier spec names, existing children, or absolute
paths; or dicts with index or input_name / source / source_output,
where input_name is a connector name or label as get_node_card
lists them and source_output an output index or name ("v", "P";
names are checked on the source with its parms set, so a Bind
VOP with parmname "orient" is wired from "orient");
or {"indirect_input": n} to wire from connector n of
the parent subnet itself), flags (display/render/bypass/template),
color [r,g,b], comment, position [x, y] (network units; the node is
then not auto-placed, unless layout=True with auto-layout on),
override_expression, run_callbacks. Parms
are written in the order given.
A string aimed at a numeric parameter is caught during validation and
answered with the {"expr": ...} spelling, instead of failing mid-build
and rolling the whole graph back.
A literal in parms does not replace an expression the parm already
holds (a Ray SOP ships dir = @N.x): the dry run lists such parms in
`expressions_in_the_way`, the build reports `expressions_kept` and a
`warning`. "override_expression": true on the spec clears them first.
Display: in a network that was empty, the last node gets the display
flag unless a spec sets one. A display flag asked of a node that has
none (a usdrender_rop) goes to its nearest input that has one, listed in
`display_set_upstream`.
A LOCKED parm (karmarendersettings resolutiony while res_mode is
autoheight) takes nothing; such a spec is refused at validation, nothing
built, with `locked_parms` naming the menu whose callback sets the lock.
Houdini runs callbacks only from the UI: "run_callbacks": true on the spec
runs each parm's callback after its write, so {"res_mode": "manual",
"resolution": [1920, 1080]} builds. Validation replays a spec on a probe,
its callbacks included, only when it writes a parm a fresh node locks.
There is no "children" key: build the subnet, then call build_network
again with the subnet as parent_path.
Nodes built inside a DOP network come with `simulation_cache`: the
network to pass to reset_simulation before reading a frame it cooked.
Args:
parent_path: Network to build inside (e.g. "/obj/geo1"). A missing
parent directly under /obj is created, as the container the
specs' context needs (geo for SOPs, lopnet for LOPs), and
removed again if the build fails; a dry run reports it as
`would_create_parent`.
nodes: Ordered node specs (see above).
dry_run: Validate the whole spec without creating anything.
layout: Also lay out the parent network afterwards (default True;
honoured only when auto-layout is enabled). The nodes this call
creates are always positioned, each relative to its inputs,
regardless of this flag; nodes that already existed keep their
exact positions, so building into a hand-arranged network is safe.verify_network tool
Inspect every node in a network at once — errors, warnings, flags,
and the display node's cooked geometry counts.
Call this after building or modifying a network, the way an artist
middle-clicks nodes: if `healthy` is false or `error_nodes` is
non-empty, fix those nodes before telling the user anything is done.
Each node lists `errors`, `warnings`, `bypassed` and `display` only when
it has them; absent means none. For a LOP network the evidence is the
stage (prims, cameras, lights, gprims without a material), for a COP
network the image layer (resolution, channel ranges).
A node's errors are its LAST cook's verdict. A node that nothing has
cooked since its cause was fixed is reported `stale` and listed in
`stale_error_nodes`; pass force_cook=True to recook before judging.
The default cooks only the display node, so a heavy scene is left alone.
Args:
parent_path: Network to verify (e.g. "/obj/geo1").
force_cook: Cook the display node with force and recook every node
that has errors, so the verdict is about the network as it is now.get_node_card tool
Get the authoritative documentation card for a node type, straight
from the running Houdini: connectors in order (`inputs` / `outputs`
with index, name and label — the index of `texcoord` on mtlximage
lives here), real parameter names/defaults/menus, and the node's own
shipped help text. Connectors are read off a probe node the first time
a type is asked for in a session (no undo entry, creation scripts not
run); `connectors_probed: false` with `connectors_note` means they could
not be read, not that the type has none. A menu whose items a script
computes (`loadtype` on filemerge::2.0) is read off the same probe and
marked `menu_source: "generator"`, with the script in `menu_generator`.
A radio folder set (`switcher1` on an Add SOP: By Pattern / By Group)
is listed as a `FolderSet` parm whose menu is its folders; a default
that is an expression (`$F` on timeshift's `frame`) is in
`default_expression`; a VOP's outputs carry their `data_type`, and an
output named after a parm's value carries `named_by_parm` (a Bind VOP's
`parm` output is called whatever its `parmname` is). Parms the type's
OnCreated script adds (Solaris edit-properties nodes: "Render Points As"
on rendergeometrysettings is `xn__primvarskarmaobjectpoint_style_zpbfg`)
are read off a second probe that runs it, listed with `added_on_create`
and counted in `parms_added_on_create`. A VOP with several signatures
lists them all in `signatures` (token, label, input types), and its
`signature` menu is those tokens (`menu_source: "signatures"`), not only
the one a fresh node's menu offers.
Use this BEFORE setting parameters on a node type you have not used
in this session — never guess parameter names. Unversioned names
resolve to the newest version.
A menu carries `menu_labels` (same order as `menu`) whenever its labels
differ from its tokens: "0"/"1"/"2" = Surface Scatter/Keep Input/Volume Scatter.
`default` is a list per component; a toggle's is true/false and a menu's
the index of its item. A ramp gives `ramp_default` (its keys) instead.
Args:
node_type: Type name (e.g. "scatter", "rbdbulletsolver").
context: Category — "Sop", "Lop", "Vop" (MaterialX and other shader
nodes inside a material network), "Dop", "Cop", "Chop", "Top",
"Object", "Driver"; also "Cop2", "Shop", "VopNet".
parm_filter: Substring filter for the parameter list.
include_help: The node's help text (about 4 KB). Default: included
for a whole card, left out when parm_filter asks for specific
parameters. Pass True or False to decide.find_expensive_nodes tool
Profile cooking and rank the most expensive nodes — how a senior
artist finds the slow node instead of guessing.
Records a performance-monitor profile while force-cooking the
display outputs under root_path. cook_ms is cumulative (parents
include their children), so compare siblings to locate the hotspot.
Args:
root_path: Network to profile (a geo container, or "/" broadly).
frame: Optionally jump to this frame before cooking.
limit: Max nodes to return.cook_frame_range tool
Cook a node frame by frame and report what changed on each frame.
This is how you advance a sequential solver and how you prove a simulation
is doing something. Frames are cooked in order, so a SOP solver, a DOP
network or an animated chain all accumulate correctly, and per-frame cook
time, errors, counts, bounding box and attribute aggregates come back in
ONE round trip instead of one per frame. `static: true` means counts and
bounds never changed over the range: the node cooks but does nothing.
Past 25 frames the rows are 25 evenly spaced frames plus every frame with
an error or warning (`frames_shown`); totals, `static` and
`slowest_frame` still cover every frame.
Prefer this over set_frame in a loop, and over stepping by hand: a 100-frame
check is one call rather than 100. The frame is left where the cook ended,
ready to screenshot.
No deadline: a heavy sim runs under Houdini's progress bar for as long as it
takes; wait for the verdict and call nothing else meanwhile. Stopped from
that bar, it answers `interrupted: true` with the frames cooked so far. A
node that keeps a cache across frames (Trail, SOP Solver) starts from what it
holds: press_button its reset (Trail: `clear`) or reset_simulation first.
Args:
node_path: Node to cook; its output is what gets measured.
start: First frame. Defaults to the playbar start.
end: Last frame, inclusive. Defaults to the playbar end.
step: Frame increment. Keep at 1.0 for any solver, since skipping frames
gives it a discontinuous time step and invalid results.
attribs: Point attributes to aggregate per frame (min/max/mean/sum).
volumes: Also report per-volume name, resolution and value range.get_cook_status tool
Whether a node has cooked, how often, and whether it is time dependent.
`cook_count` is the node's cook counter and `needs_to_cook` whether it is
dirty (its next read cooks it): compare them around a parameter change.
Nodes that never cook (/obj, OBJ containers, VOPs) always report
needs_to_cook True; a generator TOP reports False with no cooks.
Note the shape of the limitation: every command runs on Houdini's main
thread, so a long cook blocks the bridge and cannot be polled while it runs.
This answers the after-the-fact question instead -- did it really recook, is
it time dependent, did it end in error -- plus whether the hip has unsaved
changes. For asynchronous work use a ROP's background execution and
get_render_progress.
Args:
node_path: Node to report on.list_installed_hdas tool
List installed HDA definitions, grouped by library file.
A stock install loads thousands; pass a filter (namespace, name or path
fragment). `truncated` says when `limit` cut the list.
Args:
ctx: MCP context.
filter: Substring filter for type names or file paths.
limit: Maximum definitions returned.get_hda_info tool
Get detailed information about an HDA definition.
Args:
ctx: MCP context.
node_path: Node path.
hda_file: HDA file path; variables ($JOB) are expanded.
type_name: HDA type name.install_hda tool
Install an HDA file into the current session.
Args:
ctx: MCP context.
file_path: HDA file path; variables ($JOB) are expanded.
force: Force reinstall even if already loaded.uninstall_hda tool
Uninstall an HDA file from the current session.
Args:
ctx: MCP context.
file_path: HDA file path; variables ($JOB) are expanded.reload_hda tool
Reload an HDA file from disk.
Args:
ctx: MCP context.
file_path: HDA file path; variables ($JOB) are expanded.create_hda tool
Create a new HDA from an existing subnet node.
A Copernicus subnet's connectors are signed from its own Input/Output
parms (inputtype#/outputtype#, labels): a cable output stays Cable.
`connectors` reads them back.
Args:
ctx: MCP context.
node_path: Subnet node path.
hda_file: Destination HDA file path; variables ($JOB) are expanded.
type_name: Operator type name.
label: Human-readable label.
version: Version string.update_hda tool
Save the current node contents back to its HDA definition.
The definition's library file is written by this call: `saved_to_disk`
and `library_file_mtime` say so, so no separate save is needed. An
embedded definition lives in the hip file and is kept when the scene is
saved.
Args:
ctx: MCP context.
node_path: Node path.get_hda_sections tool
List all sections in an HDA definition.
Args:
ctx: MCP context.
node_path: Node path.get_hda_section_content tool
Read the content of a specific section in an HDA definition.
Args:
ctx: MCP context.
node_path: Node path.
section_name: Section name.set_hda_section_content tool
Write content to a specific section in an HDA definition.
Event scripts (OnCreated, OnLoaded, OnUpdated, OnDeleted, OnInputChanged,
PreFirstCreate, PostLastDelete, ...) are HScript unless marked Python:
pass language="python" (or "hscript"); left out, code using kwargs,
hou. or import is marked Python. `script_language` reads it back.
Args:
ctx: MCP context.
node_path: Node path.
section_name: Section name.
content: Section content.
language: For an event script, "python" or "hscript".list_hda_versions tool
Every installed definition of an HDA node's type: version, file, which is current.
Args:
ctx: MCP context.
node_path: An HDA instance.set_hda_interface tool
Author an HDA's Type Properties interface in one call.
Use this for the asset's TYPE interface — tab folders, strict ranges,
ordered menus, Hide/Disable When. `create_spare_parameter` is a different
thing: it adds parameters to one node instance and never reaches the type.
Each entry of `parameters` is a dict:
name, label, type (int|float|vector|color|string|file|oppath|toggle|
menu|button|separator|label|folder|ramp_float|ramp_color),
default, min, max, min_strict, max_strict, components,
menu_items ([value, label] pairs or plain strings),
folder_type (tabs|simple|collapsible|radio) + children for folders,
hide_when / disable_when (Houdini conditionals), help,
callback (+ callback_language, python by default) for a button,
column_labels for a label.
ramp_float / ramp_color types: default is the keys,
[{"pos": 0, "value": 0 (or [r, g, b]), "interp": "linear"}, ...].
look (logarithmic|angle|vector|color|huecircle) for numbers,
label_hidden (or is_label_hidden), hidden, join_with_next, tags; a ramp
refuses label_hidden and join_with_next, which Houdini does not store.
from_parm ("/path/node/parm"): copy that parameter's template under
`name` (label, help, conditionals still apply; the source's own
conditionals and callback are dropped, and type/default/min/max/
components/menu_items are refused). A stock node's ramp comes with
its default keys.
Any other key is refused with a did-you-mean (it used to be dropped).
Example — a Controls tab whose Bevel disappears for a single stud:
[{"name": "controls", "label": "Controls", "type": "folder",
"children": [
{"name": "stud_count", "type": "int", "default": 4,
"min": 1, "max": 8, "min_strict": True, "max_strict": True},
{"name": "bevel", "type": "float", "default": 0.02,
"min": 0.0, "max": 0.1, "hide_when": "{ stud_count == 1 }"},
{"name": "material", "type": "menu",
"menu_items": [["plastic", "Plastic"], ["metal", "Metal"]]}]}]
It is edit_hda_interface with one insert per entry: names already in the
interface are refused before anything is written, and the reply is read
back off the definition — `ops[].stored`, `renamed_by_houdini` (a tab
folder joins the existing tab set's naming series), `not_found_after_write`,
`help_not_stored`, `instance_parms_missing` and `instance_expression_errors`.
Args:
ctx: MCP context.
node_path: An instance of the HDA whose definition is edited.
parameters: Interface spec (see above). create_spare_parameters'
spelling (parm_name, parm_type, default_value) is accepted too.
replace: Start from an empty interface. Built-in parameters of the node
type cannot be removed: Houdini puts them back
(`reinstated_by_houdini`).
dry_run: Validate and report the plan without writing.edit_hda_interface tool
Edit an HDA's EXISTING Type Properties interface in one atomic call:
insert at a position, remove, hide/show, replace, modify, move.
set_hda_interface only appends. Every op here works on the definition's
parameter group; all ops are applied to a copy, the result is checked
for component-name collisions, and it is written once — a failing op
changes nothing. Read the interface first with get_parm_template_tree.
Ops (dicts, applied in order):
{"op": "insert", "spec": {...}, "after": name | "before": name |
"in_folder": label or [labels]} — omit the position to append.
spec is a set_hda_interface spec, plus types button (with
"callback", Python by default), separator, label, vector, color,
file, oppath; and fields naming_scheme (base1|xyzw|rgba|minmax|
startend|uvw), default_expression (+ default_expression_language),
hidden, join_with_next, callback, tags; folder_type "multiparm"
for a multiparm block (children named "item#").
{"op": "remove", "name": name_or_folder_label}
{"op": "hide" | "show", "name": ...}
{"op": "replace", "name": ..., "spec": {...}}
{"op": "modify", "name": ..., <label | help | default |
default_expression | default_expression_language | min | max |
min_strict | max_strict | hide_when | disable_when ("" clears) |
hidden | join_with_next | menu_items | callback | naming_scheme |
new_name | tags>}
("rename", "set_conditional", "set_default" are aliases)
{"op": "move", "name": ..., "after" | "before" | "in_folder": ...}
Names are template names (`t`, not `tx`; `stud_count`); folders are
addressed by label ("Controls"). Built-in parameters of the node type
(an Object's Transform) cannot be removed — Houdini re-adds them at the
top level and the reply says so in `reinstated_by_houdini`; hide them.
`default_expression_language` is "hscript" (Houdini's default) or
"python"; given alone in a modify, it changes the language of the
expression already there. `stored` reads both back, and
`instance_expression_errors` names a default expression that does not
evaluate on the instance. `stored` carries each template's help, a
button's `callback` and a label's `column_labels`, and `help_not_stored`
names one whose help the definition did not keep.
Args:
ctx: MCP context.
node_path: An instance of the HDA whose definition is edited.
ops: Operations, in order.
dry_run: Validate and report the plan without writing.search_help tool
Search the running Houdini's own documentation — concepts,
workflows, VEX functions, expression functions, HOM API, and every
effects manual SideFX ships. Version-exact, straight from the install.
Use this BEFORE improvising: when unsure how a workflow is meant to
be done ("pyro shaping", "vellum constraints"), what a VEX or
expression function does, or what a Solaris/TOPs concept means.
Follow up with get_help_page on a result path.
Args:
query: Search words (all must match a page).
scope: Optional corpus, named after the archive. Every help
archive in the install is searchable, which on a full 22.0 is
47 of them. The ones worth knowing by name: "nodes", "vex",
"expressions", "hom", "solaris", "tops", plus the workflow
manuals "pyro", "fluid", "vellum", "destruction", "grains",
"crowds", "model", "copy", "assets", "render", "shade",
"anim", "character", "ref", "shelf". Omit to search all.
limit: Max results.get_help_page tool
Fetch one page of Houdini's shipped documentation by path.
Read the real reference instead of writing from memory — especially
the VEX function pages (vex/functions/...) before any justified
wrangle, and expression pages (expressions/...) before channel
expressions.
A page comes 20,000 characters at a time. A longer one is `truncated`
and names `next_offset` and its `sections` with their offsets: read on
with offset, or jump to a section by its title.
Args:
path: As returned by search_help — e.g. "nodes/sop/scatter",
"vex/functions/noise", "expressions/ch".
offset: Character offset to start from (a `next_offset`).
section: Section title to start at, e.g. "Shape"; overrides offset.get_workflow_guide tool
The server's written guide for a subject: what to build, in what order,
which mistakes it exists to prevent, and the shipped help pages to read.
Call this BEFORE designing a setup you have not built this session, and
again the moment two attempts at the same symptom have failed. Each guide
is distilled from that subject's SideFX manual.
Args:
topic: Help scope name or common alias: pyro, fluid (flip, water,
whitewater), vellum (cloth), destruction (rbd), mpm (sand, snow),
ocean, solaris, tops, model, copy, render, shade, character,
crowds, heightfields, copernicus, assets, troubleshooting, dyno.
description: What you are trying to build, for the guide's framing.get_stage_info tool
Get USD stage info from a LOP node, or from a LOP network.
Given a network such as "/stage", the answer is about what that network
displays: `display_node` (and `render_node`) name it, `resolved_from` is
"display_node", `viewport_delegate` names the Hydra delegate the Scene
Viewer draws with, and `frame` is the current frame.
Args:
node_path: LOP node or LOP network path (default "/stage").list_usd_prims tool
List USD prims on a stage with filtering.
Instanced geometry is invisible to the default walk: an instanceable
prim has no children of its own, they belong to its prototype. Set
traverse_instance_proxies to list the prims under it.
Args:
node_path: LOP node path.
root_path: Root prim path to list from.
prim_type: USD type filter (e.g. "Mesh", "Xform").
kind: Kind filter (e.g. "component", "group").
depth: Max traversal depth.
traverse_instance_proxies: Descend into instanceable prims and list
the prims under their prototypes.get_usd_attribute tool
Read a USD attribute value from a prim.
A long array (over 16 elements) answers with `value` as a summary (size,
element_type, head, min/max) plus `slice`: the elements from `offset`,
at most `limit` of them (default the first 64), with `has_more`. Walk a
big array by raising offset; pass full=True to get every element in
`value` at once.
A time-sampled attribute (a PointInstancer's `positions`, `protoIndices`)
has nothing in its default slot: read with no time it answers null. With
no `time` given, the current frame is read instead, and the reply carries
`time`, `time_source`, `time_samples` and `time_range`, so `value: null`
never stands unexplained next to `is_authored: true`. A time-sampled
attribute also lists its `sample_times` (motion blur's subframes
included): up to 64, past that `sample_times_truncated` and the 64 around
the time read, from index `sample_times_start`. all_samples=True adds the
value at each of them.
Args:
node_path: LOP node path.
prim_path: USD prim path.
attr_name: Attribute name.
time: Time code (frame number). Omitted on a time-sampled attribute,
the current frame is used (the first sample outside the range).
full: Return the whole array as `value`.
offset: First element of the window for a long array.
limit: Window size for a long array.
all_samples: Also return `samples`: [{time, value}] for each listed
sample time, a long array summarised. Refused with full=True.get_usd_attributes tool
Read the same attributes across many prims as one table.
One row per prim and attribute: {prim, prim_type, name, type, value,
time_samples?} or, for a relationship, {prim, prim_type, name,
relationship: true, targets}. The call for "sourceName of every
RenderVar", "lpetag of every light", "the camera of the render
settings" -- instead of one get_usd_prim per prim. `matched` counts every
row found; `truncated` says the `limit` cut some off.
Args:
node_path: LOP node path.
prims: Prim paths or globs: `*` stays within one path element,
`**` crosses them (["/Render/Vars/*"], ["/lights/**"]).
attr_patterns: Glob patterns on attribute and relationship names
(["sourceName"], ["*lpetag"]); default all.
prim_type: Keep only prims of this type (glob, e.g. "*Light").
relationships: Include relationships as rows.
time: Time code (frame) to read at; default the current frame.
full: Return array values in full instead of summarised.
traverse_instance_proxies: Let globs match prims inside instances.
limit: Row cap.get_usd_world_transform tool
World transform of USD prims at one or more frames.
get_usd_prim gives local xformOps; this composes every parent, so an
animated parent shows. Per prim and frame: translate, rotate (XYZ
degrees), scale and the row-major matrix. Each frame recooks the stage
there, so LOP-parm animation reads right, and the playbar is restored.
Args:
node_path: LOP node whose stage to read.
prim_paths: Prim paths, e.g. ["/world/cam"].
frames: Frames to read at, at most 500. Default: the current frame.get_usd_layers tool
List all layers in a USD stage.
Args:
node_path: LOP node path.get_usd_prim_stats tool
Get prim counts by USD type under a root path.
Instanced geometry counts once per prototype, not per instance:
`instanceable_prims` says how many prims were counted without their
contents, and traverse_instance_proxies counts what is under them.
Args:
node_path: LOP node path.
prim_path: Root prim path to gather stats from.
traverse_instance_proxies: Count prims under instanceable prototypes.get_last_modified_prims tool
Get prims modified by the last LOP node cook.
Args:
node_path: LOP node path.create_lop_node tool
Create a new LOP node.
Before using this, call list_node_types(context='Lop', filter='<keyword>')
to verify the correct node type. Solaris ships many specialized LOPs —
sublayer, reference, materiallibrary, assignmaterial, karmarendersettings,
editproperties, xform, prune, configurelayer, collection, addvariant —
that may not be obvious from their names.
Args:
parent_path: Parent node path.
lop_type: LOP node type (e.g. "sphere", "sublayer", "merge").
name: Node name.
prim_path: USD prim path to set on the node.set_usd_attribute tool
Set a USD attribute value via an inline Python LOP.
Args:
node_path: LOP node path to connect after.
prim_path: USD prim path.
attr_name: Attribute name.
value: Value to set.get_usd_bound_material tool
The material each prim renders with, resolved the way the renderer
resolves it (ComputeBoundMaterials), and where the binding comes from:
`direct` on the prim, `inherited` from which ancestor, or which
`collection`. A binding to a material prim that does not exist is
reported in `missing_material`, not as unbound.
Batched: pass every prim of interest in one call.
Args:
node_path: LOP node whose stage to read.
prim_paths: Prim paths to resolve.
purpose: "full" (default; what Karma renders, falling back to an
all-purpose binding), "preview", or "all" (all-purpose bindings
only).get_usd_materials tool
List all USD materials on a stage.
Each material reports surface_shaders keyed by render context: "surface"
is the universal output, a UsdPreviewSurface for viewports and Storm,
and "mtlx" is the MaterialX shader Karma renders. surface_shader is the
mtlx one when present, so it agrees with get_material_info on the same
material.
`bound_to` lists the prims a binding is authored on. `rendered_on` (up
to 50 paths) and `rendered_on_count` are the geometry that resolves to
the material for rendering, including geometry bound through a parent
or a collection; get_usd_bound_material says why for a given prim.
Args:
node_path: LOP node path.find_usd_prims tool
Search USD prims by path pattern.
Args:
node_path: LOP node path.
pattern: Glob pattern (supports *, **) or substring.
traverse_instance_proxies: Search prims under instanceable
prototypes too; the default walk never visits them.get_usd_composition tool
Get composition arcs for a USD prim.
Args:
node_path: LOP node path.
prim_path: USD prim path.get_usd_variants tool
Get variant sets and selections for a USD prim.
Args:
node_path: LOP node path.
prim_path: USD prim path.inspect_usd_layer tool
Inspect a USD layer by index.
Args:
node_path: LOP node path.
layer_index: Layer index (0 = root layer).create_light tool
Create a USD light in a LOP network.
Args:
parent_path: Parent LOP network path.
light_type: "dome", "distant", "rect", "sphere", "disk", or "cylinder".
name: Light node name.
intensity: Light intensity.
color: [r, g, b] color values.
position: [x, y, z] world position.list_lights tool
List all USD lights on a LOP stage.
Args:
node_path: LOP node path.set_light_properties tool
Set properties on a USD light prim via an inline Python LOP.
Args:
node_path: LOP node path to connect after.
prim_path: USD light prim path.
properties: Property name-value pairs to set.create_light_rig tool
Create a preset lighting rig in a LOP network.
Args:
parent_path: Parent LOP network path.
preset: "three_point", "studio", "outdoor", or "hdri".
intensity_mult: Multiplier for all light intensities.list_materials tool
List all material nodes under a root path.
Args:
ctx: MCP context.
root_path: Root path to search for materials.get_material_info tool
Get detailed information about a material node.
assignments lists the nodes under /obj and /stage whose material-path
parameters name this material; only those parameters are read, so the call
costs the same on a 4,000-node scene as on an empty one (assignment_scan
reports how many nodes were visited).
Args:
ctx: MCP context.
node_path: Absolute path to the material node.create_material_network tool
Create a new material network in /mat.
The keys base_color ([r, g, b]), roughness, metalness and opacity are
accepted on both shader types and mapped to the shader's own parameter
names (base_colorr/g/b and specular_roughness on MaterialX, basecolor,
rough, metallic and opac on Principled). Any other key must be the
shader's real parameter name; a list sets the whole parm tuple. The
reply lists what was applied and, under "skipped", every key that
matched no parameter, with the reason.
Args:
ctx: MCP context.
name: Name for the new material node.
shader_type: "principled" (principledshader::2.0), "materialx"
(mtlxstandard_surface), or any material node type name.
params: Parameter name-value pairs to set on the shader.list_material_types tool
List available VOP/material node types.
Args:
ctx: MCP context.
filter: Substring to filter type names and labels by.create_node tool
Create a node inside a parent network.
Before using this, call list_node_types(context='<context>', filter='<keyword>')
to verify a dedicated node exists for the operation. Houdini has thousands of
nodes — many common operations (boolean, scatter, copy to points, fracture,
ocean, hair, vellum, pyro, etc.) have dedicated nodes that are better than
writing VEX or Python.
Args:
ctx: MCP context.
parent_path: Parent network path.
node_type: Node type (e.g. 'geo', 'box', 'grid').
name: Node name.
position: [x, y] network editor position.delete_node tool
Delete a node, or several in one call.
Pass node_path or node_paths, not both.
Args:
ctx: MCP context.
node_path: Node path.
node_paths: Several nodes at once, one undo step. Every path is
checked first: a missing one deletes nothing. A node inside
another listed one goes with it (`deleted_with_parent`).rename_node tool
Rename a node.
Args:
ctx: MCP context.
node_path: Node path.
new_name: New node name.copy_node tool
Copy a node, optionally into a different parent network.
In the same network the copy lands one node width to the right of its
original instead of on top of it; in another network it keeps the
original's position. `offset` overrides both, and `position` in the reply
says where the copy is. `inputs` lists the wires the copy kept
({index, from}, or {index, indirect_input} for a subnet's own input
connector); `inputs_not_copied` the original's wires it could not keep,
as in a copy into another network.
Args:
ctx: MCP context.
node_path: Source node path.
dest_parent: Destination parent path.
new_name: Name for the copy.
offset: [dx, dy] from the original's position.move_node tool
Move a node to a different parent network.
Args:
ctx: MCP context.
node_path: Node path.
dest_parent: Destination parent path.get_node_info tool
Get type, connections, flags, errors, cook time, and non-default parameters for a node.
A parameter whose expression uses a SOP local variable ($CEX, $BBX, $PT, @N.x)
is not evaluated outside a cook: it comes with `value: null`, its `expression`
and `local_variable: true`.
Returns only parameters that differ from their defaults (non_default_parameters)
plus a total_param_count. Use get_parameter_schema to inspect the full parameter list.
A VOP node also gets `connector_types`: the data type each input and output
carries now (a variadic input is "undef" on the type until it is wired).
Args:
ctx: MCP context.
node_path: Node path.find_nodes tool
Search for nodes by name pattern, type, or context.
Narrow the search: use `inside` to limit to a specific sub-network and
supply at least one of `pattern`, `node_type`, or `context`. Searching
from `inside="/"` with no filters scans the entire scene and can return
hundreds of nodes.
Args:
ctx: MCP context.
pattern: Glob pattern for node names (e.g. 'box*').
node_type: Node type filter (e.g. 'box', 'null').
context: Category filter (e.g. 'Sop', 'Object').
inside: Root path to search within (default '/').list_node_types tool
List available node types for a context category.
IMPORTANT: Any context can have hundreds of node types (SOPs alone can
exceed 800 in a production install). Always pass a `filter` keyword
(e.g. 'mountain', 'scatter', 'boolean') instead of dumping the full list
— the unfiltered response is capped at `limit` and may still be large.
Args:
ctx: MCP context.
context: Category name (e.g. 'Sop', 'Lop', 'Dop', 'Top', 'Cop2').
filter: Substring to filter type name or label (case-insensitive).
limit: Max entries to return (default 200, max recommended 200).change_node_type tool
Change a node's type in place, keeping wires, name, position, flags,
parameter values and (for subnets/assets) network contents.
This is how an HDA instance is moved to an installed newer version
(`building::2.0`) without losing its edits, and how a placeholder is
swapped for the real node. Every value set before the swap and not after
it is named in `parms_dropped` (no such parameter on the new type) or
`parms_reset` (back at its default). Unversioned names map to the
preferred version, as create_node does.
Args:
node_path: Node to change.
new_type: Type name in the node's own category.
keep_name: Keep the node's name.
keep_parms: Carry parameter values over by name.
keep_network_contents: Keep a subnet's/asset's children (False resets
an asset to its definition's contents, also on a node that is
already of new_type).press_button tool
Press a button parameter — "Stash Input", "Reload Geometry", an
asset's own Build button — and read the node's errors and warnings
afterwards.
The call holds until the callback returns, with no deadline. A callback
that opens a dialog blocks Houdini's main thread and this bridge with it;
read the button's script first if in doubt. A Python callback that
RAISES does not hang anything: the bridge runs it rather than
pressButton(), and its error comes back as this call's error.
`callback_route` says how the press ran: python, hscript or native (a
built-in action). For a Save to Disk or a render use write_cache /
start_render, which report a verdict.
A press usually only dirties the node, so `errors`/`warnings` are from
its last cook unless `cook=True`; without it `needs_cook` says whether
they are stale (a cook that failed leaves it True too). `has_script_callback` is False for built-in buttons that still
do work (File's Reload, Stash's Stash Input).
A parm that is not a button and has no callback is refused: pressing it
does nothing. The small action button beside a field ("Create spare
parameters" on a VEXpression) runs with action=True; an action that
opens a picker holds the bridge like a dialog does.
node_paths presses the same button on each node in turn (results[] per
node), and set_first writes parameters on each node before its press, as
set_parameters does: {"aovs": 0} then Add AOVs on eight File COPs is one
call. Every node, button and parameter is checked before anything is
written; the batch is one undo step and stops at a failing press, naming
the nodes already pressed.
Args:
node_path: Node that owns the button.
parm_name: The button parameter's name.
arguments: Optional kwargs handed to the callback script; values
must be int, bool, float or str.
cook: Cook the node after the press so errors describe the result.
action: Run the parm's action button (script_action) instead of its
callback.
node_paths: Press the same button on each of these nodes instead of
node_path.
set_first: Parameter values written on each node before its press.connect_nodes tool
Connect two nodes together.
To feed a node INSIDE a subnet from one of the subnet's own input
connectors (a SubnetIndirectInput — not a node, it has no path), pass
the subnet as source_path and the connector index as indirect_input.
Args:
ctx: MCP context.
source_path: Upstream node path; with indirect_input, the subnet
whose input connector is the source.
dest_path: Downstream node path.
output_index: Source output index.
input_index: Destination input index.
input_name: Destination connector name or label (e.g. "base_color"
on a VOP shader); wins over input_index.
indirect_input: Index of the subnet input connector at source_path
to wire from (dest_path must live inside that subnet).connect_nodes_batch tool
Connect multiple node pairs in a single call.
Args:
connections: List of connections. Each dict has keys:
source_path (str), dest_path (str),
output_index (int, default 0), input_index (int, default 0),
input_name (str, optional: connector name or label, wins over input_index),
indirect_input (int, optional: source_path is then a subnet and this is
the index of its input connector to wire from — for the first node of
a chain built inside that subnet).disconnect_node tool
Disconnect one or all inputs of a node.
Args:
ctx: MCP context.
node_path: Node path.
input_index: Input index to disconnect.
disconnect_all: Disconnect all inputs.reorder_inputs tool
Reorder the input connections of a node.
Args:
ctx: MCP context.
node_path: Node path.
new_order: New input ordering (e.g. [1, 0] swaps first two).set_node_flags tool
Set flags on a node.
Args:
ctx: MCP context.
node_path: Node path.
display: Display flag.
render: Render flag.
bypass: Bypass flag.
template: Template flag.
lock: Lock flag.layout_children tool
Auto-layout children of a network node.
Does nothing when auto-layout is disabled via FXHOUDINIMCP_AUTO_LAYOUT=0.
Args:
ctx: MCP context.
parent_path: Parent network path.
spacing: Spacing multiplier between nodes.set_node_position tool
Set a node's position in the network editor.
Args:
ctx: MCP context.
node_path: Node path.
x: Horizontal position.
y: Vertical position.set_node_color tool
Set a node's color in the network editor.
Args:
ctx: MCP context.
node_path: Node path.
r: Red (0.0-1.0).
g: Green (0.0-1.0).
b: Blue (0.0-1.0).create_network_box tool
Draw a titled network box around nodes, to document a graph you built.
Args:
ctx: MCP context.
parent_path: Network the box lives in.
node_paths: Sibling nodes to enclose; the box fits around them.
comment: Title shown on the box.
color: RGB in 0..1.create_sticky_note tool
Leave a sticky note in a network.
Args:
ctx: MCP context.
parent_path: Network the note lives in.
text: Note text.
position: [x, y] in network editor units.
size: [width, height] in network editor units.
color: RGB in 0..1.set_object_transform tool
Set an object's translate, rotate, scale and/or parent in one call.
Only the arguments you pass change. Object-level nodes under /obj only;
SOP transforms are a Transform SOP, not this.
Args:
ctx: MCP context.
node_path: Object node, e.g. "/obj/geo1".
translate: [tx, ty, tz].
rotate: [rx, ry, rz] in degrees.
scale: [sx, sy, sz].
parent: Object to parent under, or "" to unparent.get_parameter tool
Get the value and metadata of a parameter.
A ramp reads as {"type": "Ramp", "basis", "keys", "values", "is_color"},
which set_parameters and build_network take back as it is.
Args:
node_path: Node path.
parm_name: Parameter name.set_parameter tool
Set a parameter value.
A parameter that holds an expression does NOT take a literal: Houdini
writes the value into a slot the expression keeps overriding. The reply
then carries `expression_kept: true` with the surviving `expression` and
what you `requested` (plus `same_as_evaluated` when the expression happens
to evaluate to that value right now) — read those before calling the write
done. Pass override_expression=True to clear the expression first.
A parameter holding a BARE ch() reference is the opposite trap: Houdini
writes THROUGH it into the parameter it reads, so the value lands on
another node. The reply names that parameter in `written_through`.
Inside a DOP network a write does not reset frames already simulated:
`simulation_cache` names the network to pass to reset_simulation.
A String parameter echoes `raw_value` (the unexpanded text, `$JOB/...`)
next to the expanded `new_value`.
A list with {"expr": ...} components ("t": [{"expr": "$F"}, 0, 0]) and
a whole ramp ({"keys", "values", "basis"}) go through set_parameters:
this tool's `value` takes plain values only.
A LOCKED parameter (karmarendersettings resolutiony under res_mode
autoheight) takes nothing at all; the error names the menu whose callback
sets the lock. Houdini runs such callbacks only from the UI: set that menu
with run_callbacks=True first, then the locked parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
value: New value (int, float, string, bool, or list).
override_expression: Remove an expression standing in the way,
instead of reporting that the write did not take.
run_callbacks: Run the parameter's callback script after the write,
as editing it in the UI does (`callback_run` in the reply, and
`callback_error` when the callback raised).set_parameters tool
Batch-set multiple parameters on a node, in the order given.
Expressions go in the same call: {"tx": {"expr": "ch('../size')"}} sets
an expression, so no set_expression per parameter is needed.
Inside a DOP network a write does not reset frames already simulated:
`simulation_cache` names the network to pass to reset_simulation.
Parameters that held an expression and therefore ignored the literal are
listed in `expressions_kept`, with a top-level `warning`: a batch whose
`errors` is empty can still contain a write that did not take. Values that
landed on ANOTHER node, because the parameter is a bare ch() reference
Houdini writes through, are in `written_through`. Each entry in `set`
carries the same keys as set_parameter's reply. Pass
override_expression=True to clear those expressions and links instead.
Locked parameters are in `errors` with `locked: true` and listed in
`locked_parms`; the error names the menu whose callback sets the lock.
With run_callbacks=True each parameter's callback runs after its write, so
`{"res_mode": "manual", "resolutiony": 1080}` unlocks and then writes; a
callback that raised is listed in `callbacks_not_run`.
Args:
node_path: Node path.
params: Mapping of parameter names to values, written in this order.
A value written {"expr": "...", "language": "hscript" | "python"}
is set as an expression, as in build_network, also as one
component of a list ("t": [{"expr": "$F"}, 0, 0]). A ramp takes the
whole ramp at once: {"keys": [0, 1], "values": [[1, 0, 0],
[0, 0, 1]], "basis": "linear"} (one basis or one per key; a
float ramp takes numbers), the shape get_parameter reads it in.
A ramp's `new_value` is what it holds once the whole call is
through, so a key added by count and then set reads as set.
override_expression: Remove expressions standing in the way.
run_callbacks: Run each parameter's callback script after its write,
as the UI does.get_parameter_schema tool
Get the template schema for parameter(s) on a node.
Most nodes have dozens of parameters; many have 100+. Always use
`parm_name` or `filter` unless you genuinely need the full list.
Args:
node_path: Node path.
parm_name: Exact parameter name for a single-parameter lookup.
filter: Substring to match against parameter name or label
(case-insensitive). Use instead of dumping all params.get_parm_references tool
Who references a parameter, and what it references — in one call.
`incoming`: for each parameter of the node (or just parm_name), the
parameters elsewhere whose expressions read it — what breaks if this
control is renamed. `outgoing`: what this node's expressions and
backtick strings read, resolved to parameter paths (pure ch() links and
richer expressions alike; `unresolved` names a written target that no
longer exists). `node_dependents` / `node_references` give the
node-level view for this node only; `include_node_level` in the reply
says whether they were included.
Args:
node_path: Node to inspect.
parm_name: One parameter instead of all of them.
direction: "both", "incoming" or "outgoing".
limit: Cap on reported entries.
include_node_level: Include node_dependents / node_references. Default:
on for a whole-node query, off when parm_name names one parameter;
on an asset with hundreds of children those lists run to about
100 KB and answer a question about the node, not the parameter.get_parm_template_tree tool
The whole parameter interface as a tree, the way Type Properties shows
it: folders (with folder_type — tabs, collapsible, multiparm), every
parameter in order with defaults, default expressions, ranges, menu
items, Hide/Disable When conditionals, callbacks, naming scheme; a
multiparm's `default_instances`. Each entry uses get_parameter_schema's
keys (`default_value`, `is_hidden`, `menu_items`...).
get_hda_info shows only the top folders and get_parameter_schema
flattens the structure away; read this before editing an interface.
Give node_path for a node (its instance interface, spares included) or
type_name + context for a type.
Args:
node_path: Node whose interface to read.
type_name: Node type instead (with context).
context: Category of type_name — "Sop", "Object", "Lop", ...
folder: Narrow to one folder by label, or a list of nested labels.
max_entries: Cap on entries (depth-first); the reply says when it cut.
include_tags: Also return each template's tags (needed to preserve
them when editing an interface; about a quarter of the size).set_expression tool
Set an expression on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
expression: Expression string.
language: "hscript" (default) or "python".get_expression tool
Get the expression on a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.revert_parameter tool
Revert a parameter to its default value.
A default that is itself an expression comes back, named in
`default_expression` with its `default_expression_language`;
`expression_error` says when it does not evaluate.
A locked parameter cannot be reverted; the error names what sets the lock.
Args:
node_path: Node path.
parm_name: Parameter name.link_parameters tool
Create a channel reference from one parameter to another.
The destination gets an HScript expression that reads the source as its
own type: chs() for a String parameter, ch() for numbers, toggles and
menus. The path is relative to the destination node (chs("../CTRL/mat")),
so the link survives moving the pair, collapsing into a subnet or
instancing an HDA. The reply carries the expression, the function used
and the destination's evaluated value.
Two ramps (or two multiparms) are linked entry by entry as well, now and
whenever the source gains or loses keys: the opmultiparm links Promote
Parameter makes. The reply lists `multiparm_links` and `follows_source`.
Inside an asset, update_hda afterwards to keep the link in its contents.
Args:
source_path: Source node path.
source_parm: Source parameter name.
dest_path: Destination node path.
dest_parm: Destination parameter name.
replace_existing: Overwrite a destination that already has keyframes
or an expression. Refused otherwise, so animation is never lost
by accident. A link whose source already reads the destination
through ch() is refused as a cycle in every case.lock_parameter tool
Lock or unlock a parameter.
Args:
node_path: Node path.
parm_name: Parameter name.
locked: True to lock, False to unlock.create_spare_parameter tool
Add a spare parameter to a node.
A menu needs its items: a menu without any is refused, not created with
Houdini's "none" placeholder. The reply reads the menu back from the node
(`menu_items` as [value, label] pairs, `default_value` as a value).
Args:
node_path: Node path.
parm_name: Internal parameter name.
parm_type: "float", "int", "string", "toggle", "menu", "vector",
"color", "ramp_float" or "ramp_color". vector and color are three
floats with the Vector / color look, as set_hda_interface makes
them; a float with a list default_value is a plain float tuple.
label: UI label.
default_value: Default value. For a menu, the default item by value
or index. For a ramp, its keys: [{"pos": 0, "value": 0,
"interp": "linear"}, ...] (a color key's value is [r, g, b]).
min_val: Minimum value (float/int only).
max_val: Maximum value (float/int only).
menu_items: A menu's items, as set_hda_interface takes them: plain
strings, or [value, label] pairs such as
[["0", "Uniform"], ["1", "By Attribute"]].create_spare_parameters tool
Batch-create multiple spare parameters in one call, optionally in a folder tab.
A name that already exists as a spare parameter is updated in place
(label, default, range); its current value and keyframes are kept.
A type change on an existing parameter is refused.
Args:
node_path: Node path.
parameters: List of parameter specs. Each dict has keys:
parm_name (str), parm_type (str: "float"/"int"/"string"/"toggle"/"menu"/
"vector"/"color"/"ramp_float"/"ramp_color", as in create_spare_parameter),
label (str), default_value (optional; a ramp's keys), min_val (optional), max_val (optional),
menu_items (a menu's items: strings or [value, label] pairs, as
in create_spare_parameter; default_value then picks one).
folder_name: If provided, wraps all parameters in a named folder tab.
folder_type: Folder style: "Tabs", "Collapsible", or "Simple".promote_vop_parameters tool
Promote VOP inputs to parameters, as the network editor's Promote Parameter does.
Each input gets a Parameter VOP wired in, and its parm appears on the VOP
network that owns it (POP VOP, Attribute VOP, ...): the owner is compiled
once for the whole batch, and the reply names, per input, the parm and the
node it landed on, with its value. Nothing is promoted if any item is
wrong; an input that is already wired is refused, not rewired.
Args:
promotions: One dict per input: node_path (the VOP node), input (its
input name, e.g. "input2", "destmin"), and optionally name (the
parm name; default the input's), label, kind ("parameter",
"constant" or "subnet_input"; default "parameter") and
use_input_value (start from the input's current value; default True).get_parameters tool
Read many parameter values at once, matched by name or label substring.
The batch counterpart of set_parameters. Several unrelated groups of
settings ("flame", "wind", "buoy") come back in one call instead of one call
each, and unlike get_node_card these are the live values on this node rather
than the defaults for its type.
Pass `inside` instead of `node_path` to read the same patterns across a
whole network in one call: "every file parm of this material library,
unexpanded" comes back as `rows` of {node, parm, value, raw_value}, up to
2000 rows. `raw_value` is the unexpanded text ($JOB/...), shown when it
differs from the value, exactly as for a single node.
Args:
node_path: Node to read.
patterns: Substrings matched against parameter name and label. Omit for
everything, up to the cap. Required with `inside`, unless
non_default_only or value_contains.
include_defaults: Also report whether each value is still the default,
and, where it differs, the default (`default`, `default_expression`).
inside: Network to read instead of a single node.
recursive: With `inside`, include every descendant, not only children.
Nodes inside locked HDAs (a solver's own internals) are skipped
and counted in `skipped_inside_locked_assets`.
node_type: With `inside`, only nodes of this type (e.g. "mtlximage").
include_locked_assets: With `recursive`, read inside locked HDAs too.
value_contains: Only parameters whose raw text or expression holds
this substring (case-insensitive), e.g. inside="/",
recursive=True, value_contains="/obj/X": every parameter that
still names that node by its absolute path, a deleted one
included. A relative "../X" is not "/obj/X": search "X" to catch
those. No patterns needed.
non_default_only: Only parameters changed from their defaults, each
with its default: "what was changed on every node of this network"
in one call (with `inside`, no patterns needed). A changed ramp is
one entry holding all its keys; its key parms (`ramp2pos`...) are
listed only when a pattern names them and not the ramp.render_viewport tool
Capture the current 3D viewport to an image file.
Args:
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.
resolution: [width, height] in pixels. Default: the viewport's own size.
camera: Camera node path.
settle_seconds: Wait this long before capturing, without blocking
Houdini, so a Karma viewport can converge after a change. Use
this instead of a shell sleep between calls. Capped at 120.render_quad_view tool
Capture all four viewport panes to separate images.
Args:
output_path: Base image path; viewport names are appended, variables
($JOB) are expanded.
Default: a new PNG in the temp dir.
resolution: [width, height] in pixels. Default: the viewport's own size.list_render_nodes tool
List all render (ROP/Driver) nodes in the scene.
get_render_settings tool
Get render settings from a ROP node.
Args:
node_path: ROP node path.set_render_settings tool
Set render parameters on a ROP node.
Args:
node_path: ROP node path.
settings: Parameter name-value pairs.create_render_node tool
Create a new render (ROP) node in /out.
Args:
renderer: Renderer type ('karma', 'opengl', 'mantra', 'rop_geometry', 'rop_alembic', 'usdrender', 'fetch', 'merge', 'rop_fbx', 'rop_gltf').
name: Node name.
camera: Camera node path.
output_path: Output file path.start_render tool
Execute any node that renders or writes files.
Foreground by default: Houdini shows its own progress dialog and the
user can cancel. The call holds until the render finishes, however
long that is; a client that hands a long call to a background task
notifies you with the verdict. Do nothing else in Houdini meanwhile and never poll
the disk.
Not just /out ROPs: a LOP usdrender_rop (which is how Solaris renders), a
SOP ROP Geometry, or a File Cache's Save to Disk all work, because what
matters is whether the node can be executed rather than its category.
The result reports the output path it wrote to and whether anything is
actually on disk there, so a render that succeeds and writes nowhere is
visible instead of silent.
Args:
node_path: Any node with a render() or an 'execute' button.
frame_range: [start, end] or [start, end, increment].
background: Render in a separate hython on the saved hip and return
at once with status "launched"; get_render_progress reports the
process, its log tail and the files. The user sees no progress
in Houdini, so use it only when asked to keep working while a
render runs.
overrides: {parm_name: value} for this render only, e.g. a draft
{"resolutionx": 640, "resolutiony": 360}; a parm tuple takes a
list. Put back afterwards, expressions and keyframes included,
even if the render fails (`overrides_applied`,
`overrides_restored`). Foreground only. A Karma LOP's "Wait for
Render to Complete" is switched on for the call when it is off
(`foreground_forced`).render_node_network tool
Capture a screenshot of a node's network editor view.
Args:
node_path: Node path to focus on.
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.get_render_progress tool
Progress of a render or write started with start_render.
Accepts every node start_render accepts (a LOP usdrender_rop or Karma
LOP, a SOP ROP, a File Cache), not only /out ROPs. Reports the node's
errors with `license_error` singled out, the output files on disk, and
for a background render the process state and the tail of its log.
`done` is true when there is nothing left to wait for.
Args:
node_path: The node given to start_render.render_sheet tool
Render frames start..end with the OpenGL ROP and tile them into one image.
One image shows motion a single frame cannot: a sim's spread, a camera
move. Needs no viewport, so it works in a headless session too. A snapshot
of the scene as it is now (unsaved edits included, the session untouched)
renders in a separate hython, since a second OpenGL render in one hython
crashes on Houdini 22; that hython takes a license seat while it runs.
Frames are labelled. Objects (/obj) only, not a LOP stage.
Args:
start: First frame.
end: Last frame.
step: Frame step; at most 64 frames in all.
camera: Camera object path. Default: the scene's only camera.
resolution: [width, height] of each tile. Default [320, 240].
columns: Tiles per row. Default: about square.
output_path: Sheet image path. Default: a new PNG in the temp dir.get_houdini_connection_status tool
Check the MCP-to-Houdini bridge without raising on disconnect.
Returns structured connection diagnostics, including the configured bridge
URL and Houdini health payload when reachable, and `sessions`: every
Houdini serving the plugin (port, pid, version), the one in use marked
current. connect_houdini switches; start_houdini starts one. Use this
before live viewport workflows when Houdini may have restarted.get_scene_info tool
Get information about the current Houdini scene.
new_scene tool
Create a new empty Houdini scene.
Args:
save_current: Save the current scene before clearing.save_scene tool
Save the current Houdini scene to disk.
Args:
file_path: Destination path; defaults to the current hip file. $JOB,
$HIP and other variables are expanded.load_scene tool
Open a Houdini hip file, or merge it — or named nodes from it — into
the current scene.
Load warnings (missing assets and the like) come back in `warnings`.
A merge reports what arrived: `merged_nodes`, `conflicts` (a node that
already exists is merged under a new name, or overwritten in place with
overwrite_on_conflict=True) and `not_found_in_file`. node_paths are
absolute (`/obj/building_v3`) and bring their contents. A merge keeps
the scene's `set -g` variables ($JOB, $POSE) the file would overwrite,
named in `globals_restored` with the file's value and the kept one;
variables the file adds are listed in `globals_added`.
Args:
file_path: Path to the hip file to open; $JOB, $HIP and other
variables are expanded.
merge: Merge into the current scene instead of replacing it.
node_paths: With merge, the absolute node paths to merge; default
everything.
overwrite_on_conflict: With merge, overwrite same-named nodes
instead of renaming the merged copy.import_file tool
Import a geometry, USD, or Alembic file into the scene.
Args:
file_path: Path to the file to import; variables ($JOB) are expanded.
parent_path: Network path for the import node.
node_name: Name for the created node.export_file tool
Export a node's output to a file on disk, and report whether it landed.
SOPs are saved directly, LOPs export their USD stage, and a /out ROP is
pointed at file_path and executed (its own output path is restored
afterwards). Reports `wrote_files`, so `success: True` means a file appeared
or changed -- not merely that the call returned. A frame_range writes
`name.0001.ext` per frame and leaves the playbar where it was. A missing
directory is created, as a ROP or a USD export does.
Args:
node_path: Path to the node to export.
file_path: Destination file path; variables ($JOB) are expanded. For a
ROP this overrides its output parameter for the duration of the
export.
frame_range: Frame range as [start, end] or [start, end, step].get_context_info tool
Get information about a Houdini network context.
Args:
context: Context path, e.g. "/obj", "/stage", "/out".undo tool
Undo the last change(s) made in Houdini.
Every tool call is one undo step, however many nodes it touched, so one
undo reverses one build_network or set_parameters call. Needs a graphical
Houdini: hython keeps no undo history.
Args:
ctx: MCP context.
steps: How many steps to undo (default 1).redo tool
Redo the last undone change(s) in Houdini.
Args:
ctx: MCP context.
steps: How many steps to redo (default 1).connect_houdini tool
Talk to the Houdini serving on ``port`` from now on.
get_houdini_connection_status lists the sessions and their ports.
Args:
port: Port of a Houdini serving the plugin.start_houdini tool
Start a Houdini of this server's own and connect to it.
Headless (hython) by default: no window, no viewport, so the capture tools
refuse there. gui=True starts the full application, which serves only if
the plugin's package is installed (fxhoudinimcp install). Either takes a
license seat until stop_houdini. Set HYTHON to choose the build.
Args:
gui: Start the Houdini application instead of headless hython.
hip_file: Scene to open.
wait_seconds: How long to wait for it to serve.stop_houdini tool
Stop a Houdini that start_houdini started, and go back to the previous session.
Only sessions started by this server can be stopped: anything else may be
someone's unsaved work.
Args:
pid: Session to stop. Default: the current one, if this server started it.list_shelf_tools tool
Find shelf tools by name, label or keyword.
Use this when a setup exists as a shelf tool rather than as a node: oceans,
quick sims, rigging setups. A full install ships around 8,000 of them, so
always filter.
Args:
filter: Substring matched against name, label and keywords.
limit: Maximum tools to return.get_shelf_tool_script tool
Read the script a shelf tool runs, plus its help and imports.
This is how you learn SideFX's own recipe instead of reinventing it. Most
scripts are two or three lines calling a worker in a toolutils module, and the
reported imports name exactly what to read next.
Args:
tool_name: Internal tool name, from list_shelf_tools.run_shelf_tool tool
Run a shelf tool and report the nodes it created.
A tool that asks for objects takes `selection`, or the objects already
selected, as in Houdini. A tool that asks for anything else is retried
once as a Ctrl+click, Houdini's "place immediately" (`ran_as_ctrl_click`):
the Crowds Simulate tool then builds its whole default crowd. A tool that
still asks (the FLIP ocean layer, collide-with) is refused, since through
the bridge it would block Houdini until someone clicks: read the recipe
with get_shelf_tool_script and build the nodes with build_network.
Nodes the tool added inside networks that already existed (a FLIP tool
into the current POP network) are listed in `created_in_existing`;
`current_dop_network` says where DOP tools put theirs, before and after.
A tool that creates a DOP network (model_popnet) does not make it the
current one, so the next DOP tool would build into the previous network:
pass that network as `dop_network`.
A tool whose script fails has what it built removed, and the error names
it. A dialog tool refused for its question names, when there is one, a
tool that builds the same branch without asking.
Args:
tool_name: Internal tool name, from list_shelf_tools.
kwargs: Overrides merged into the synthetic kwargs the script reads.
parent_path: An extra network to watch for new nodes. /obj, /stage,
/out, /mat and /img are always watched, because a shelf tool is
free to build in more than one of them: largeOcean creates both
a geo in /obj and a LOP in /stage. A SOP network given here is
also where a SOP tool places its nodes (`placed_in`).
selection: Object paths the tool takes as its object selection. The
scene's selection is left as it was, whatever the tool selects.
dop_network: DOP network to make current before the run
(hou.setCurrentDopNet), where DOP tools build. It stays current
afterwards, as when an artist picks it.list_takes tool
List all takes in the scene with their hierarchy.
get_current_take tool
Get the current take and its overridden parameters.
set_current_take tool
Set the current take by name.
Args:
name: Take name to make current.create_take tool
Create a new take, optionally under a parent take.
Args:
name: Name for the new take.
parent_name: Parent take name (defaults to current take).get_top_network_info tool
Get an overview of a TOP network.
Args:
ctx: MCP context.
node_path: TOPnet or TOP node path.cook_top_node tool
Cook a TOP node to execute its work items.
Args:
ctx: MCP context.
node_path: TOP node path.
block: Wait for cooking to complete.
generate_only: Only generate work items, do not cook.cancel_top_cook tool
Cancel active cooking on a TOP network.
Args:
ctx: MCP context.
node_path: TOP node or TOPnet path.pause_top_cook tool
Pause cooking on a TOP network.
Args:
ctx: MCP context.
node_path: TOP node or TOPnet path.dirty_work_items tool
Dirty work items on a TOP node so they can be regenerated.
Args:
ctx: MCP context.
node_path: TOP node path.
remove_outputs: Also remove output files from disk.get_work_item_states tool
Get work item state counts for a TOP node.
Args:
ctx: MCP context.
node_path: TOP node path.get_work_item_info tool
Get detailed information about a specific work item.
Args:
ctx: MCP context.
node_path: TOP node path.
work_item_index: Work item index within the node.get_pdg_graph tool
Get the PDG dependency graph structure for a TOP network.
Args:
ctx: MCP context.
node_path: TOPnet or TOP node path.generate_static_items tool
Generate static work items on a TOP node without cooking.
Args:
ctx: MCP context.
node_path: TOP node path.get_top_scheduler_info tool
Get information about TOP scheduler nodes in a network.
Args:
ctx: MCP context.
node_path: TOP scheduler or TOPnet path.get_failed_work_items tool
List the work items that failed on a TOP node, with the tail of each log.
Args:
ctx: MCP context.
node_path: TOP node path.
limit: Maximum items returned.get_top_logs tool
Cook logs for a TOP node, or the scheduler log of one work item.
Args:
ctx: MCP context.
node_path: TOP node path.
work_item_index: Work item index; omit for the node's own errors and warnings.
tail: Maximum characters of log text, taken from the end.create_wrangle tool
Create an Attribute Wrangle node with VEX code.
LAST RESORT. VEX is for attribute math that no node expresses —
NEVER for modeling, scattering, copying, deforming, grouping, or
randomizing, which all have dedicated nodes. Building geometry in a
wrangle when a native node exists is a failure, not a shortcut.
The justification parameter is mandatory: state which
list_node_types searches you ran and why none of the results can do
this. If you cannot write that sentence honestly, you have not
checked — check first.
Args:
parent_path: Parent SOP network path.
vex_code: VEX snippet to set.
justification: Which native nodes you checked (the actual
list_node_types filters used) and why none can express this
logic.
run_over: Element to run over ("Points", "Vertices", "Primitives", "Detail", "Numbers").
name: Node name.set_wrangle_code tool
Set VEX code on an existing Attribute Wrangle node, whole or in part.
For one block of a long snippet, pass `edits` instead of `vex_code`:
[{"old": "<exact text now in the snippet>", "new": "<its replacement>"}],
applied in order; each `old` must occur exactly once (add a neighbouring
line to make it unique), and one bad edit writes nothing. The reply then
gives `edits_applied` (line range and new text of each) instead of the
whole code.
Args:
node_path: Path to the wrangle node.
vex_code: VEX snippet to set.
edits: Exact replacements in the current snippet, instead of vex_code.get_wrangle_code tool
Read the VEX code from an Attribute Wrangle node.
Args:
node_path: Path to the wrangle node.create_vex_expression tool
Set an HScript expression on a parameter, evaluated before it is kept.
Parameters cannot run VEX: attribute @ syntax is refused with a pointer to
create_wrangle. An expression that does not evaluate is not kept.
Args:
node_path: Path to the node.
parm_name: Parameter name.
vex_code: Expression code, in HScript syntax.validate_vex tool
Validate VEX code by cooking the node and checking for errors.
Args:
node_path: Path to the wrangle node.list_panes tool
List all visible pane tabs in the Houdini UI.
get_viewport_info tool
Get viewport settings for a pane tab.
Args:
pane_name: Pane tab name.set_viewport_camera tool
Set the viewport to look through a specific camera.
Args:
camera_path: Camera node path, or a USD camera prim path for a
Solaris viewport. The result reports the camera the viewport is
actually looking through, and fails if it did not take.
pane_name: Pane tab name.set_viewport_display tool
Set how the viewport draws: shading, environment background, grid,
particle point size, colour scheme. Any of them in one call; each is read
back in the reply.
Args:
display_mode: One of 'wireframe', 'shaded', 'smooth', 'smooth_wire',
'hidden_line', 'flat', 'flat_wire', 'matcap', 'matcap_wire'.
pane_name: Pane tab name.
environment_background: False hides an environment (dome) light's
map behind the scene, True shows it. Set on every view of the
viewer; the reply reads it back per view.
reference_plane: False hides the reference plane (the grid), True
shows it.
point_size: Diameter in pixels of particles drawn as points, on every
view of the viewer.
color_scheme: 'dark', 'darkgrey', 'grey' or 'light', on every view.set_viewport_renderer tool
Set the viewport's Hydra rendering delegate for live preview.
Use this during lookdev to preview materials and lighting directly in the
viewport instead of writing full renders to disk.
Args:
renderer: Renderer name. The result reports the delegate that is
actually active afterwards, read back from Houdini rather than
inferred from a setter not raising.
renderer: Renderer name — "GL", "Storm", "Karma CPU", "Karma XPU", etc. Case-insensitive partial match.
pane_name: Pane tab name.frame_selection tool
Frame the current selection in the viewport.
Args:
pane_name: Pane tab name.frame_all tool
Frame all geometry in the viewport, or only some nodes or a box.
Args:
pane_name: Pane tab name.
node_paths: Frame just these objects or SOPs (their world bounds),
not the spread of everything in the scene. An object frames what
it draws: a null its marker, a camera or a light its icon.
bounds: Frame [xmin, ymin, zmin, xmax, ymax, zmax], world space. A
point is framed as a 1-unit cube around it (`padded` in the reply).set_viewport_direction tool
Set the viewport to a standard viewing direction, or place the free view.
rotation/pivot/distance orbit the viewport's own (non-camera) view:
rotation [rx, ry, rz] in degrees about the pivot, distance from it. The
reply reads the view back. Looking through a camera, move the camera.
Args:
direction: "front", "back", "top", "bottom", "left", "right", or "perspective".
pane_name: Pane tab name.
rotation: [rx, ry, rz] degrees for the free view.
pivot: [x, y, z] the free view orbits.
distance: Distance of the free view from its pivot along its view
axis (the dolly); a sideways pan is not counted in it.capture_screenshot tool
Capture a screenshot of the viewport or a specific pane tab.
The image is written to disk only; open ``output_path`` with your file
reader to look at it. Prefer get_geometry_info, get_node_info or
get_scene_summary unless visual confirmation is genuinely needed.
The frame is the viewport's own size and view. For a set size,
render_viewport(resolution=...); to frame one object first,
frame_all(node_paths=...), and for frames of one scale across a
comparison sheet, frame_all(bounds=...) with the same box before each
capture.
A Scene Viewer capture names the network it shows (`viewer_network`);
`viewer_note` says when that is a DOP network, drawn as the simulation's
objects rather than the SOP display, or a SOP subnet, drawn as its own
display node rather than the object's output; `visible_objects_note`,
when the viewport's Visible Objects pattern leaves out the object the
viewer is in, so the frame shows none of it.
Args:
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.
pane_name: Pane tab name.
settle_seconds: Wait this long before capturing, without blocking
Houdini, so a Karma viewport can converge after a change. Use
this instead of a shell sleep between calls. Capped at 120.capture_network_editor tool
Capture a screenshot of the network editor.
With node_path the view is put on that node at once (no animated flight),
and the reply says what the frame shows: visible_bounds, node_bounds and
node_in_view, all in network space.
The image is written to disk only; open ``output_path`` with your file
reader to look at it. Prefer get_node_info or list_children for inspecting
node connections unless visual confirmation of wiring is genuinely needed.
Args:
output_path: Image file path; variables ($JOB) are expanded. Default: a
new PNG in the temp dir.
node_path: Node path to frame before capture.set_current_network tool
Navigate the network editor to a network; the viewer follows it in.
Call it on the network you build in. By default the viewer then hides
every other object (the viewport's Y hotkey, no display flag touched), so
the work is seen on its own and the rest of the scene does not cook.
A DOP network becomes the current one, where DOP shelf tools build (the
reply names `current_dop_network`), as entering it in Houdini does; with
other_objects=None that is all it changes besides the editor.
A Visible Objects pattern (saved with the hip) that leaves this object
out is set back to "*", named in `visible_objects_reset`.
A node that is not a network (a SOP) is made current in its own network,
named in `entered` and `current_node`.
Args:
network_path: Network path to navigate to.
other_objects: "hide" (default), "ghost", "show", or null to leave
the viewer as it is.find_error_nodes tool
Find all nodes with errors or warnings in the scene.
Args:
root_path: Root node path to search from.log_status tool
Display a status message in Houdini's status bar.
Call this at the START of every major step so the user can follow
along in real time without having to inspect tool call logs.
Examples: "Creating base geometry...", "Wiring SOP chain...",
"Setting up pyro simulation...", "Assigning materials...".
Args:
message: Status message to display (keep it short and human-readable).
severity: "message" (default), "important", "warning", or "error".set_viewer_context tool
Point the Scene Viewer at a network, and optionally a node inside it.
set_current_network moves the network EDITOR; this moves the VIEWER. That is
what decides whether a scene graph view exists, so it is the prerequisite for
previewing a USD stage or setting a Hydra delegate: call this with "/stage"
before set_viewport_renderer or before binding a USD camera prim.
The result reports is_scene_graph_view, which is the question you are usually
really asking.
Args:
network_path: Network for the viewer to display, e.g. "/stage".
current_node: Node inside it to make current, which selects the stage a
Solaris viewport shows.
pane_name: Pane tab name.setup_pyro_sim tool
Build a Pyro smoke/fire simulation network from source geometry.
Preferred over manual DOP wiring — builds the entire pyro network in one call:
Pyro Source (density, temperature, burn), Volume Rasterize Attributes, Pyro
Solver and a File Cache.
For custom setups beyond what this provides, use create_node with DOP nodes
(pyrosolver, smokeobject, volumesource, etc.).
Args:
source_geo: Source SOP path.
container: Container type.
res_scale: Resolution scale multiplier.
substeps: DOP substeps.
name: Top-level geo node name.setup_rbd_sim tool
Build an RBD rigid-body simulation network with fracture and solver.
Preferred over manual DOP wiring — builds the entire RBD network in one call.
For source geometry, build SOP chains with native nodes (voronoifracture,
booleanfracture, rbdmaterialfracture) instead of VEX.
Args:
geo_path: Source geometry object path.
ground: Add a ground plane.
pieces_type: Fracture method ("voronoi").
name: Top-level geo node name.setup_flip_sim tool
Build a FLIP fluid simulation network from source geometry.
Preferred over manual wiring — builds SideFX's SOP FLIP chain in one call:
FLIP Container sized around the source, FLIP Boundary emitting from it,
FLIP Solver with a ground plane at y=0, and a File Cache on the particles.
Args:
source_geo: Source SOP path.
domain: Domain type.
particle_sep: Particle separation distance.
name: Top-level geo node name.setup_vellum_sim tool
Build a Vellum simulation network with configure node and solver.
Preferred over manual DOP wiring — builds the entire Vellum network in one call:
the shelf's Configure recipe for the type, the Vellum Solver, and a Vellum I/O
cache that keeps constraints and collisions with the geometry.
Use Vellum Drape SOP to let cloth settle before the main simulation.
Args:
geo_path: Source geometry object path.
sim_type: Simulation type ("cloth", "hair", "grain", "softbody").
substeps: Solver substeps.
name: Top-level geo node name.
ground: Turn on the solver's ground plane at y=0.create_material tool
Create a material in /mat with configurable surface properties.
Args:
name: Material node name; refused if taken. Default: material1,
numbered up when that exists.
mat_type: Material type ("principled", "materialx").
base_color: [R, G, B] base color, 0-1 per channel.
roughness: Surface roughness, 0-1.
metallic: Metallic factor, 0-1.
opacity: Opacity, 0-1.assign_material tool
Assign a material to a geometry node via a Material SOP.
Args:
geo_path: Target geometry node path.
material_path: Material to assign.build_sop_chain tool
Build a sequential chain of SOP nodes wired together in a single call.
PREFERRED over individual create_node calls for linear SOP chains — builds
and wires the entire chain in one round-trip, which is significantly faster.
Each step dict: {"type": str, "name": str (optional), "params": dict (optional)}.
Nodes are created in order and each is automatically connected to the previous.
Example:
steps=[
{"type": "box"},
{"type": "polybevel", "params": {"offset": 0.05}},
{"type": "scatter", "params": {"npts": 200}},
{"type": "copy_to_points", "name": "copy1"},
]
Args:
parent_path: Parent SOP network path.
steps: List of step dicts defining the chain.setup_render tool
Set up a render configuration with camera and ROP node.
Args:
renderer: Renderer type ("karma", "mantra").
camera: Camera node path; creates one if omitted.
output_path: Output image path (supports Houdini variables).
resolution: [width, height] resolution.
samples: Render sample count.
name: ROP node name in /out.procedural_modeling_workflow prompt
Guide for building a procedural modeling network in SOPs.
Args:
description: What geometry to create (e.g. "a rocky terrain with scattered trees")
output_context: Where to create the geo containerusd_scene_assembly prompt
Guide for building a USD scene in Houdini's LOPs/Solaris.
Args:
scene_description: Description of the USD scene to buildsimulation_setup prompt
Guide for setting up a dynamics simulation.
Dispatches to the solver-specific guide when one exists, because a single
generic file had to cover pyro, FLIP, Vellum, RBD and MPM at once and so
could not say more than a table row about any of them. Houdini ships a
separate manual per solver, and these files mirror that split. Anything
without its own guide falls back to dyno.md, the general dynamics one.
Args:
sim_type: Type of simulation (pyro, flip, rbd, vellum, mpm, pop)
description: Additional context about the simulationpdg_pipeline prompt
Guide for building a PDG/TOPs pipeline.
Args:
task_description: What the pipeline should accomplishhda_development prompt
Guide for creating a Houdini Digital Asset.
Args:
asset_description: What the HDA should do
context: Node context for the HDA (Sop, Lop, Object, etc.)copernicus_workflow prompt
Guide for image work in Copernicus (COPs).
Args:
description: What to build (e.g. "a tileable rust texture")heightfield_terrain prompt
Guide for building terrain with heightfields.
Args:
description: The terrain to build (e.g. "an eroded desert mesa")houdini_workflow prompt
Guide for any Houdini subject the shipped manual documents.
One entry point rather than a function per subject, so a new corpus needs a
markdown file and nothing else. `topic` is the SideFX help scope name, which
is also the markdown filename: character, render, shade, crowds, copy, props,
dopparticles, io, anim, ocean, grains, muscles, finiteelements, feathers,
fur, ml, composite, heightfields_cop, plus every subject that has its own
named prompt (pyro, fluid, vellum, destruction, mpm, solaris, tops, model,
assets, copernicus, heightfields, dyno, troubleshooting).
Args:
topic: Help scope name for the subject, e.g. "character" or "render"
description: What you are trying to builddebug_scene prompt
Systematic approach to debugging a Houdini scene.
Args:
problem_description: What problem the user is experiencinggeo_summary resource
Geometry summary for a SOP node: point/prim counts, attributes, bounding box.
scene_info resource
Current Houdini scene information including hip file, version, frame range, and node counts.
node_info resource
Information about a specific node at the given path.
scene_tree resource
Top-level node tree of the current scene.
scene_errors resource
All nodes with errors or warnings in the scene.
node_types resource
Available node types for a given context (Sop, Lop, Dop, Top, Cop2, Object, Driver).
installed_hdas resource
List of installed Houdini Digital Assets.
usd_stage resource
USD stage information for a LOP node.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 233 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 233 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 233 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 233 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 233 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 233 capabilities; 233 more call code the scanner could not follow, where it may happen
- Tools that touch files12 of 233 capabilities touch files; 221 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 233 capabilities; 233 more call code the scanner could not follow, where it may happen
Where the code is: 233 handlers in 28 files at commit 6112a04c3ef5
python/fxhoudinimcp/prompts/workflows.pyprocedural_modeling_workflow, usd_scene_assembly, simulation_setup, pdg_pipeline, hda_development, copernicus_workflow, heightfield_terrain, houdini_workflow, debug_scenepython/fxhoudinimcp/resources/geo_resources.pygeo_summarypython/fxhoudinimcp/resources/scene_resources.pyscene_info, node_info, scene_tree, scene_errors, node_types, installed_hdaspython/fxhoudinimcp/resources/usd_resources.pyusd_stagepython/fxhoudinimcp/tools/animation.pyset_keyframe, set_keyframes, delete_keyframe, get_keyframes, set_frame, get_frame, set_frame_range, set_playback_range, playbar_controlpython/fxhoudinimcp/tools/cache.pylist_caches, get_cache_status, clear_cache, write_cachepython/fxhoudinimcp/tools/chops.pyget_chop_data, create_chop_node, list_chop_channels, export_chop_to_parmpython/fxhoudinimcp/tools/code.pyexecute_python, reload_plugin, execute_hscript, evaluate_expression, get_env_variable, get_file_references, set_update_modepython/fxhoudinimcp/tools/context.pyget_network_overview, get_cook_chain, explain_node, get_selection, set_selection, get_scene_summary, compare_snapshots, get_node_errors_detailedpython/fxhoudinimcp/tools/cops.pyget_cop_info, get_cop_geometry, get_cop_layer, create_cop_node, set_cop_flags, list_cop_node_types, get_cop_vdbpython/fxhoudinimcp/tools/dops.pyget_simulation_info, list_dop_objects, get_dop_object, get_dop_field, get_dop_relationships, step_simulation, reset_simulation, get_sim_memory_usagepython/fxhoudinimcp/tools/geometry.pyget_geometry_info, get_points, get_prims, get_attrib_values, set_detail_attrib, get_groups, get_group_members, get_bounding_box, get_attribute_info, sample_geometry, get_prim_intrinsics, find_nearest_point +4python/fxhoudinimcp/tools/graph.pybuild_network, verify_network, get_node_card, find_expensive_nodes, cook_frame_range, get_cook_statuspython/fxhoudinimcp/tools/hda.pylist_installed_hdas, get_hda_info, install_hda, uninstall_hda, reload_hda, create_hda, update_hda, get_hda_sections, get_hda_section_content, set_hda_section_content, list_hda_versions, set_hda_interface +1python/fxhoudinimcp/tools/help.pysearch_help, get_help_page, get_workflow_guidepython/fxhoudinimcp/tools/lops.pyget_stage_info, get_usd_prim, list_usd_prims, get_usd_attribute, get_usd_attributes, get_usd_world_transform, get_usd_layers, get_usd_prim_stats, get_last_modified_prims, create_lop_node, set_usd_attribute, get_usd_bound_material +9python/fxhoudinimcp/tools/materials.pylist_materials, get_material_info, create_material_network, list_material_typespython/fxhoudinimcp/tools/nodes.pycreate_node, delete_node, rename_node, copy_node, move_node, get_node_info, list_children, find_nodes, list_node_types, change_node_type, press_button, connect_nodes +10python/fxhoudinimcp/tools/parameters.pyget_parameter, set_parameter, set_parameters, get_parameter_schema, get_parm_references, get_parm_template_tree, set_expression, get_expression, revert_parameter, link_parameters, lock_parameter, create_spare_parameter +3python/fxhoudinimcp/tools/rendering.pyrender_viewport, render_quad_view, list_render_nodes, get_render_settings, set_render_settings, create_render_node, start_render, render_node_network, get_render_progress, render_sheetpython/fxhoudinimcp/tools/scene.pyget_houdini_connection_status, get_scene_info, new_scene, save_scene, load_scene, import_file, export_file, get_context_info, undo, redopython/fxhoudinimcp/tools/session.pyconnect_houdini, start_houdini, stop_houdinipython/fxhoudinimcp/tools/shelf.pylist_shelf_tools, get_shelf_tool_script, run_shelf_toolpython/fxhoudinimcp/tools/takes.pylist_takes, get_current_take, set_current_take, create_takepython/fxhoudinimcp/tools/tops.pyget_top_network_info, cook_top_node, cancel_top_cook, pause_top_cook, dirty_work_items, get_work_item_states, get_work_item_info, get_pdg_graph, generate_static_items, get_top_scheduler_info, get_failed_work_items, get_top_logspython/fxhoudinimcp/tools/vex.pycreate_wrangle, set_wrangle_code, get_wrangle_code, create_vex_expression, validate_vexpython/fxhoudinimcp/tools/viewport.pylist_panes, get_viewport_info, set_viewport_camera, set_viewport_display, set_viewport_renderer, frame_selection, frame_all, set_viewport_direction, capture_screenshot, capture_network_editor, set_current_network, find_error_nodes +2python/fxhoudinimcp/tools/workflows.pysetup_pyro_sim, setup_rbd_sim, setup_flip_sim, setup_vellum_sim, create_material, assign_material, build_sop_chain, setup_render
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: package.json, pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 2 not resolved: package.json: dependency ranges declared here were not resolved against a lockfile and were not checked; pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionmcp >=1.21.1,<3
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 233 capabilities; 233 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.21.1,<3 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-11 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2026-02-22 |
| Topics | ai houdini mcp |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.