Skip to main content
Glama

houdini-mcp

Drive a live Houdini session from an MCP client (Claude, Grok, Codex, …).

Houdini 22-first. Pipeline-safe by design: this is hands in houdini-bin, not a shot database — it does not talk to any asset-management or production-tracking API, and it does not ship HDAs.

Backlog: issues

Upstream seed: kleer001/houdini-mcp (MCP bridge + TCP plugin). This fork changed the contract.

What it is

AI client  --stdio MCP-->  houdini_mcp_server.py  --TCP :9876-->  plugin in houdini-bin  -->  hou

The plugin is per Houdini process. The MCP client config is per user. Ship it as its own package if you vendor it into a facility environment — it is not meant to live inside a shared HDA library.

Related MCP server: Houdini MCP Server

H22 contract

  • Start hook: $HOUDINI_USER_PREF_DIR/python3.13libs/uiready.py (not scripts/pythonrc.py)

  • Houdini package JSON: PYTHONPATH only — never path: onto HOUDINI_PATH

  • No hou.ui.desktops() / shelf UI from MCP (H22 plus a site 123.py has crashed houdini-bin)

  • LOP nodes have no setRenderFlag

  • execute_code returns {executed, stdout, stderr, error, traceback} — never drops TCP

  • Viewport capture = Scene Viewer flipbook. OpenGL ROP is OBJ-only. Desktop grab runs outside houdini-bin.

  • Solaris viewport: set_hydra_renderer("xpu"|"cpu"|"vk"|"storm"). Do not restartRenderer + sleep + viewwrite on the MCP thread. USD look-through is set_viewport_camera("/world/cam").

Install

git clone https://github.com/tmdag/houdini-mcp
cd houdini-mcp
uv sync
python scripts/install.py --houdini-version 22.0

install.py copies the plugin into your Houdini preferences directory and writes the package JSON that auto-starts it. It honours HOUDINI_USER_PREF_DIR; pass --prefs-dir if you keep prefs somewhere unusual, and --dry-run to see what it would touch first.

Claude Code / Claude Desktop:

{
  "mcpServers": {
    "houdini": {
      "command": "/path/to/houdini-mcp/.venv/bin/python",
      "args": ["/path/to/houdini-mcp/houdini_mcp_server.py"]
    }
  }
}

Grok:

[mcp_servers.houdini]
command = "/path/to/houdini-mcp/.venv/bin/python"
args = ["/path/to/houdini-mcp/houdini_mcp_server.py"]
enabled = true

[mcp_servers.houdini.env]
HOUDINIMCP_NO_HEADLESS = "1"
HOUDINIMCP_PROFILE = "stage"

In Houdini, Python Shell if uiready missed this session:

import houdinimcp
houdinimcp.start_server()

Profiles

191 tools is ~17k tokens of schema before any work starts, so the advertised surface is trimmed by default. Everything still exists — the profile only changes what is listed, and the server tells the client how many tools it is hiding and how to get them back.

HOUDINIMCP_PROFILE:

  • stage (default) — 82 tools: Solaris/LOP + inspect + cook + screenshot + execute_code + everything the server instructions reference

  • sop — /obj modeling extras too

  • all — all 191

Anything named in the server's own instructions is guaranteed to survive stage; tests/test_tool_surface.py fails the build otherwise.

Platform support

plugin

bridge

capture_desktop

notes

Linux

tested

tested

grim / import / gnome-screenshot / spectacle

primary target

Windows

untested

untested

PowerShell

see TROUBLESHOOTING § Windows — read it before the first install

macOS

untested

untested

screencapture

needs Screen Recording permission

Windows and macOS paths are implemented and unit-tested, but nobody has run them end to end yet.

Tuning

env var

default

what it does

HOUDINIMCP_PORT

9876

plugin TCP port

HOUDINIMCP_PROFILE

stage

advertised tool surface

HOUDINIMCP_TIMEOUT

60

bridge deadline for ordinary commands

HOUDINIMCP_LONG_TIMEOUT

900

deadline for renders, sims, cooks, I/O

HOUDINIMCP_POLL_MS

20

plugin socket poll interval

HOUDINIMCP_SEND_TIMEOUT

60

plugin deadline for writing one response

HOUDINIMCP_NO_HEADLESS

unset

1 disables hython auto-launch

HOUDINIMCP_LOG

quiet

verbose for per-command console output

Offline Houdini docs

Index your Houdini's help (not a random GitHub dump):

python scripts/index_hfs_help.py

Uses $HFS/houdini/help (hom.zip, nodes.zip, loose .txt). Output is gitignored.

Reload handlers (H22 stays up)

python scripts/install.py --houdini-version 22.0

Then reload_plugin. Do not restart houdini-bin for handler changes. Do not importlib.reload the TCP server module (QTimer).

TCP frames are HMC1 + length + JSON. The bridge still speaks bare JSON until the plugin answers in HMC1, so an older houdini-bin keeps working. A second MCP client does not steal the first session; ping.clients / peer_warning say so.

Live smoke (H22 already running)

Does not boot Houdini. Against a GUI houdini-bin with the plugin on :9876:

HOUDINIMCP_LIVE=1 pytest tests/test_live_hydra_smoke.py -q

Fails if list_hydra_renderers 404s, set_hydra_renderer current ≠ requested, USD look-through isn't /world/cam, or the flipbook isn't tagged Karma XPU.

License

MIT (upstream). Not affiliated with SideFX.

Available Tools

82 tools
attach_kinefx_deformA

Skin + capture pose + clip → kinefx::jointdeform under mcp_*.

source='capybara' uses testgeometry_capybara (outputclip + motionclipevaluate).
source='nodes' wires rest_path / capture_path / anim_path.
map_joints remaps Mixamo-like clip names onto the capture skeleton.
proof hashes deform geo at clip start vs end — must differ (not T-pose).

Inputs: clip, name, proof, source, +5 more. Returns: result

batchA

Execute multiple operations in one undo group.

Each operation: {"type": "create_node", "params": {...}}.

Not a transaction. Unknown command types are rejected before anything
runs, but if an operation raises, the ones before it stay applied and
the error reports `completed` and `failed_index`. Check those before
retrying.

Inputs: operations. Returns: result

capture_desktopB

Grab the Houdini window from the OS — does not run inside houdini-bin.

Use this to verify network editor / UI. Viewport beauty should use
capture_screenshot instead.

Inputs: output_path. Returns: result

capture_screenshotA

Capture the current Scene Viewer and return the pixels in-band.

source='viewport' is a flipbook snapshot of the current Hydra buffer
(does not wait for Karma XPU to converge; restores renderer pause).
source='opengl' uses an OpenGL ROP (OBJ-centric beauty).
For a full desktop/UI grab, use capture_desktop (runs outside houdini-bin).

Returns JSON metadata plus an MCP image of the PNG. Path is still in the JSON.

Inputs: source, viewer, output_path.

connect_nodesC

Connect two nodes: src output -> dst input.

Inputs: dst_path (required), src_path (required), dst_input_index, src_output_index. Returns: result

create_lop_nodeD

Create a LOP node.

Inputs: node_type (required), parent_path (required), name. Returns: result

create_nodeC

Create a new node in Houdini.

Inputs: node_type (required), name, parent_path. Returns: result

delete_nodeC

Delete a node from the Houdini scene by path.

Inputs: path (required). Returns: result

disconnect_node_inputC

Disconnect a specific input on a node.

Inputs: node_path (required), input_index. Returns: result

evaluate_expressionC

Evaluate a Houdini expression and return the result.

Inputs: expression (required), language. Returns: result

execute_houdini_codeA
Execute arbitrary Python code in Houdini's environment.
Returns status and any stdout/stderr generated by the code.
Blocks dangerous patterns (hou.exit, os.remove, subprocess, etc.) unless allow_dangerous=True.

Inputs: code (required), allow_dangerous. Returns: result

execute_hscriptC

Execute an HScript command and return stdout/stderr.

Inputs: command (required). Returns: result

explain_nodeB

Get a human-readable explanation of a node: type, non-default parms, connections.

Inputs: path (required). Returns: result

find_error_nodesC

Scan the node hierarchy for cook errors and warnings.

Inputs: root_path. Returns: result

find_nodesC

Find nodes matching a name pattern, optionally filtered by type.

Inputs: pattern (required), node_type, root_path. Returns: result

frame_allA

Frame the viewport on all geometry.

Refuses if isolate matches no OBJ (that framed the infinite grid).
Use frame_bbox for a character/hero.

Inputs: no named parameters. Returns: result

frame_bboxC

Frame a world-space bbox or a node's geometry. Does not home the grid.

Inputs: viewer, max_vec, min_vec, node_path. Returns: result

frame_selectionB

Frame the viewport on the current selection.

Inputs: no named parameters. Returns: result

frame_usd_primC

Frame the LOP viewer on a USD prim bbox (hero, not the infinite grid).

Inputs: path (required), prim_path (required), viewer. Returns: result

get_connection_statusA

Returns the current connection status to Houdini, including whether connected, port, command count, and timing info.

Inputs: no named parameters. Returns: result

get_cook_chainB

Get the cook dependency chain for a node (inputs all the way up).

Inputs: path (required). Returns: result

get_docA

Get the full content of a Houdini documentation page by its relative path (as returned by search_docs). Does NOT require a Houdini connection.

Inputs: path (required). Returns: result

get_last_logC

Last execute_code payload stored in the Houdini session (errors included).

Inputs: no named parameters. Returns: result

get_last_modified_primsC

Get recently modified prims from the edit target layer.

Inputs: path (required), count. Returns: result

get_network_overviewC

Get an overview of all nodes in a network with their connections.

Inputs: path. Returns: result

get_node_infoB

Get detailed info about a node: type, parameters, inputs, outputs.

Inputs: path (required). Returns: result

get_parameterB

Get a single parameter's value, type, expression, and metadata.

Inputs: node_path (required), parm_name (required). Returns: result

get_parameter_schemaB

Get the full parameter schema (all parm templates) for a node.

Inputs: node_path (required). Returns: result

get_scene_infoB

Ask Houdini for scene info. Returns JSON as a string.

Inputs: no named parameters. Returns: result

get_selectionB

Get the currently selected nodes in Houdini.

Inputs: no named parameters. Returns: result

get_usd_attributeC

Get a specific USD attribute value.

Inputs: path (required), attr_name (required), prim_path (required). Returns: result

get_usd_compositionB

Get composition arcs (references, payloads, inherits, specializes) for a prim.

Inputs: path (required), prim_path (required). Returns: result

get_usd_prim_statsC

Get stats about a USD prim: child count, attr count, active, payload.

Inputs: path (required), prim_path (required). Returns: result

get_usd_variantsC

Get variant sets and selections for a USD prim.

Inputs: path (required), prim_path (required). Returns: result

get_viewport_infoC

Viewport camera, shading, Hydra delegate. viewer= pane name (optional).

Inputs: viewer. Returns: result

import_fbx_animationC

kinefx::fbxanimimport — Mixamo clip. Attach to a character SOP geo.

Inputs: file_path (required), name, parent_path. Returns: result

import_fbx_characterC

kinefx::fbxcharacterimport under mcp_* geo. Mixamo/character rest pose.

Inputs: file_path (required), name, parent_path. Returns: result

inspect_usd_layerC

Inspect a specific USD layer by index in the stack.

Inputs: path (required), layer_index. Returns: result

layout_childrenD

Auto-layout child nodes in the network editor.

Inputs: node_path. Returns: result

list_childrenC

List all children of a node, optionally recursive.

Inputs: path (required), recursive. Returns: result

list_file_parmsC

File/path parms on a node (alembic, usd, texture, fbx, vdb). No new importer.

Inputs: node_path (required). Returns: result

list_hydra_renderersC

List Hydra delegates on the LOP Scene Viewer and the current one.

Inputs: viewer. Returns: result

list_jointsC

KineFX skeleton joints (point name + P) on a SOP. Mixamo/character inspect.

Inputs: node_path (required), max_joints. Returns: result

list_lightsC

List all light prims in a USD stage.

Inputs: path (required). Returns: result

list_node_typesB

List node types. category e.g. 'Sop'/'Lop'/'Object'; pattern is a glob matched against the type name or label, e.g. 'intersect'.

Inputs: limit, pattern, category. Returns: result

list_panesA

List all pane tabs in the Houdini desktop.

Inputs: no named parameters. Returns: result

list_usd_primsC

List USD prims up to a given depth.

Inputs: path (required), max_depth, root_prim. Returns: result

load_sceneC

Load a .hip file into Houdini.

Inputs: file_path. Returns: result

lookdev_cameraC

Place a LOP Camera looking at a prim bbox. Look through the USD prim string.

Inputs: name, look_at, lop_path, input_path, +2 more. Returns: result

lookdev_display_colorB

Set primvars:displayColor on a USD mesh (not a full material).

Inputs: path (required), color (required), prim_path (required). Returns: result

lookdev_domeC

Create/edit a Dome Light LOP under mcp_* isolation.

Inputs: name, color, texture, exposure, +3 more. Returns: result

lookdev_preview_surfaceD

USD Preview Surface + assignmaterial under mcp_*.

Inputs: name, color, metallic, roughness, +3 more. Returns: result

lop_importC

Import a USD file via reference or sublayer.

Inputs: file (required), path (required), method, prim_path. Returns: result

lop_layer_infoC

Get USD layer stack info from a LOP node.

Inputs: path (required). Returns: result

lop_prim_getC

Get details of a specific USD prim.

Inputs: path (required), prim_path (required), include_attrs. Returns: result

lop_stage_infoB

Get USD stage info from a LOP node: prims, layers, time codes.

Inputs: path (required). Returns: result

map_kinefx_jointsB

Map Mixamo-like clip joint names onto a rest skeleton. Unmapped names error.

Inputs: clip_path (required), rest_path (required), max_joints. Returns: result

modify_nodeC

Modify an existing node — rename, reposition, or change parameters.

Inputs: path (required), name, position, parameters. Returns: result

monitor_renderA

Check if a Karma (husk) or Mantra (mantra-bin) render is still running. Optionally pass output_path to also report file existence and size. No Houdini connection needed — runs on the bridge side.

Inputs: output_path. Returns: result

pingA

Health check to verify Houdini is connected and responsive. Returns server status info or an error if Houdini is unreachable.

Inputs: no named parameters. Returns: result

reload_pluginA

Reload houdinimcp handler modules in the live houdini-bin.

After `scripts/install.py --houdini-version 22.0`, call this so new
command keys exist without restarting H22. Does not restart the TCP
listener. If this 404s, the process still has the old table — run
execute_code: `from houdinimcp.handlers.plugin import bootstrap_reload; bootstrap_reload()`
once, then this tool works.

Inputs: no named parameters. Returns: result

restart_rendererB

Rebuild the active LOP Hydra delegate. Can stall the UI; prefer not to.

Inputs: viewer. Returns: result

save_sceneB

Save the current Houdini scene, optionally to a new file path.

Inputs: file_path. Returns: result

search_docsB

Search Houdini documentation offline using BM25. Returns ranked results with path, title, preview, and relevance score. Does NOT require a Houdini connection.

Inputs: query (required), top_k. Returns: result

set_current_networkC

Set the current network path in the network editor.

Inputs: path (required). Returns: result

set_fileB

Set a node's file parm. create_node + set_file — not import_alembic/import_volume.

Inputs: file_path (required), node_path (required), parm_name. Returns: result

set_frameC

Set the current frame in Houdini's playbar.

Inputs: frame. Returns: result

set_hydra_displayD

USD purpose vis on the LOP viewer: proxy/guide/render/materials/procedurals.

Inputs: guide, proxy, render, viewer, +2 more. Returns: result

set_hydra_rendererA

Set LOP viewport renderer: 'xpu', 'cpu', 'vk', 'storm', or exact name.

Does not restart or wait — XPU converges asynchronously. Poll
list_hydra_renderers, then capture_screenshot later.

Inputs: renderer (required), viewer. Returns: result

set_karma_qualityC

Karma viewport quality. H22 has no pixel-sample HOM; LOP settings are the knob.

Reports viewport sample API as unavailable instead of pretending.
paused goes through setRendererPaused and returns pause_honored.

Inputs: paused, viewer, preview, samples, +2 more. Returns: result

set_log_levelA

Houdini Python-shell noise. quiet (default) hides per-command connect/execute/disconnect. verbose restores it. HOUDINIMCP_LOG=verbose also works. Does not restart the TCP listener.

Inputs: level. Returns: result

set_node_flagsC

Set display, render, and/or bypass flags on a node.

Inputs: node_path (required), bypass, render, display. Returns: result

set_parameterC

Set a single parameter value on a node.

Inputs: value (required), node_path (required), parm_name (required). Returns: result

set_parametersC

Set multiple parameters at once on a node.

Inputs: node_path (required), parameters (required). Returns: result

set_renderer_pausedC

Pause or resume the active LOP Hydra delegate.

Inputs: paused, viewer. Returns: result

set_selectionC

Set the node selection to the given list of node paths.

Inputs: paths (required). Returns: result

set_usd_attributeC

Set a USD attribute value.

Inputs: path (required), value (required), attr_name (required), prim_path (required). Returns: result

set_viewport_cameraC

Look through an OBJ camera or a USD prim (e.g. /world/cam).

Inputs: camera_path (required), viewer, camera_prim. Returns: result

set_viewport_directionA

Set viewport direction: front, back, left, right, top, bottom, persp.

Inputs: direction (required). Returns: result

set_viewport_displayC

Set viewport display options (shading, guides, grid, isolate).

Inputs: grid, guide, viewer, isolate, +1 more. Returns: result

set_viewport_rendererC

LOP Hydra delegate (xpu, cpu, vk, storm) or OBJ view type (persp/top).

Inputs: renderer (required), viewer. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.5/5.0

    Scored across 82 tools

    Disambiguation3/5

    Many tools have clearly distinct purposes (node CRUD, USD inspection, docs search), but there are overlapping clusters: set_viewport_renderer vs set_hydra_renderer vs set_hydra_display vs set_viewport_display, four frame_* variants, and lop_prim_get vs get_usd_attribute. Descriptions mitigate most confusion, but an agent could easily misselect within these clusters.

    Naming Consistency4/5

    Names overwhelmingly follow snake_case verb_noun (get_parameter, create_node, list_children, set_viewport_camera), with domain prefixes like lop_*, lookdev_*, frame_*, and import_*/attach_* used fairly predictably. A few single-word tools (batch, ping) and mixed prefixes are minor deviations from an otherwise consistent scheme.

    Tool Count1/5

    82 tools is far beyond what an agent can reliably navigate for a single application-control server; the description even admits overlap (e.g. viz/flipbook variants, parameter get/set families). This forces the agent to choose among many near-siblings rather than a coherent, curated surface.

    Completeness4/5

    The surface covers an impressive breadth: node lifecycle, parameter access, USD/LOP inspection and editing, viewport/render control, KineFX character workflows, lookdev, scene persistence, and offline docs. Only minor gaps remain (e.g. no explicit undo/redo, limited PR-like review of scene changes), which agents can work around.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to control Houdini by executing Python code, querying scene information, and creating nodes via the Model Context Protocol.
      2
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server for SideFX Houdini that enables AI assistants to interactively control, construct, inspect, and visually verify 3D procedural scenes through tools like node creation, parameter editing, viewport capture, and rendering.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables language models to inspect the current Houdini scene, create and modify nodes, and run VEX/Python code in the running Houdini session via MCP.
      1
      MIT