houdini-mcp
Lets an AI agent work inside a live, open SideFX Houdini session: inspecting the scene (node networks, parameters, geometry stats, attributes), force-cooking and checking for errors, capturing viewport snapshots and contact sheets, doing quick Karma renders and viewport/sweep videos and GIFs, creating and framing cameras, building and wiring nodes, setting parameter values or expressions, switching lighting looks, and managing history/backups/undo with dry-run and audit safeguards.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
houdini-mcp
Let an AI agent work inside your open Houdini session, while you watch.
houdini-mcp is an MCP server. It gives an agent such as Claude Code a set of tools for a live Houdini scene: read the network, change parameters, build and wire nodes, cook and check for errors, and render a preview it can actually look at. It was built for working on a real production scene, not a sandbox, so every edit is backed up, every edit is one undo step, and the agent can't undo anything you did by hand.
Claude Code ──MCP (stdio)──▶ server.py normal Python 3.10+, outside Houdini
│ JSON over a localhost socket (127.0.0.1:9876)
▼
houdini_listener.py inside your open Houdini (Apprentice works)
│ hou.* calls, run on Houdini's main thread
▼
your scene changes appear live in the viewportIt was built for, and used on, a procedural San Francisco Victorian street:
sf-victorian-procedural · write-up. Nothing in the tool depends on that
project; its settings live in one config file (examples/sf_victorian_house.json).
What it can do
Look at a scene
scene_info: file, Houdini version, unsaved state, top-level nodes, the Solaris cameras, and any parameters you ask it to keep an eye on.list_nodes,get_parms: browse the network (with each node's inputs, so the agent can follow the wiring); read values and expressions.geometry_stats: point/prim counts, bounding box, groups, attributes, detail values, counts by name/material.dump_attribute: the actual values of one attribute, so the agent checks real geometry instead of guessing.cook_and_check: force-cook and report every node with an error, plus anything slow to cook.viewport_snapshot: grab the Scene Viewer (fast OpenGL flipbook) in/objor/stage, optionally through a camera, framed on everything, or in wireframe/hidden-line. Give itframes=[1, 48]and it flipbooks the range and returns a labelled contact sheet, so the agent can check playback. Your viewport is put back exactly as it was.quick_render: a small Karma render through any camera, returned to the agent as an image.
Make videos and GIFs (.mp4 or .gif, saved where you say)
viewport_video: flipbook a frame range from the viewport (playback, turntables).sweep_video: a parameter changing over time, e.g. row count 1 → 7 or a seed sweep, labelled "Row Count = 3" on each frame. Framing is held fixed;displayshows a chosen node,also_setflips other parameters for the duration (a mode toggle, a lighting look), and everything is restored afterwards.renderer='karma'renders each step in Karma through a camera for final-quality sweeps.
Cameras (read the houdini://camera-guide resource first)
frame_camera: create or update a camera that frames a target by its bounding box. Front view keeps the camera level and shifts the lens so walls stay vertical; angle view gives a three-quarter shot. Sets the aspect ratio to the frame size, ray-tests the line of sight and puts the near clip in open space past anything in the way.look_through: point your viewport at a camera.
Change a scene (every edit has a dry_run mode that reports what would change)
set_parms: values or expressions ("=ch('../seed') * 2"), including your VEX snippets.create_node,connect: build and wire networks.set_look: flip a lighting-setup switch by name ("golden", "night"), including any parameters that go with it.
Stay safe and recover
history: the undo stack (agent edits are labelledMCP: ...), recent backups, unsaved state.undo,redo: step through the agent's own edits; refuses to touch anything you did by hand.save_backup,save_scene,restore_backup: numbered backups, saving, re-opening an older version.reload_listener: reload the listener's code after you edit it. Off unless the config allows it.run_python: arbitraryhoucode for anything the tools don't cover. Off unless you turn it on.
Read your project's rules
resource
houdini://project-guide: serves theCLAUDE.mdfrom the folder you started the agent in, so you can write down your conventions (naming, what not to touch, how you like changes made) and the agent reads them first.
Related MCP server: Houdini MCP Server
Guardrails
Scope | Writes are refused outside |
Backups |
|
Undo | Each agent edit is one undo group: Cmd/Ctrl+Z in Houdini reverts exactly one agent action. |
Your edits | The |
Previews |
|
Python |
|
Audit | Every call is appended to |
No clutter | Viewport captures and preview renders go to the OS temp folder and are deleted as soon as the agent has them, like a browser-automation screenshot. Pass |
Network | Listens on 127.0.0.1 only. |
Try it
You need
Houdini 20.5 or newer, with the GUI open (Apprentice / Indie / FX all work). Tested on 20.5.370, macOS.
Python 3.10+ for the server (separate from Houdini's Python). Check with
python3 --version.An MCP client. These steps use Claude Code; any MCP client works (see Other MCP clients).
1. Install (once)
git clone https://github.com/feliyick/houdini-mcp.git ~/houdini-mcp
cd ~/houdini-mcp
python3 -m venv .venv # or: uv venv --python 3.12 .venv
.venv/bin/pip install -r requirements.txt # or: uv pip install --python .venv/bin/python -r requirements.txt
claude mcp add --scope user houdini -- "$PWD/.venv/bin/python" "$PWD/server.py"--scope user makes the tools available in every folder. Without it they're only registered for the folder you
ran the command in.
On Windows, use .venv\Scripts\python.exe in place of .venv/bin/python (untested so far, reports welcome).
2. Start the listener in Houdini (every session)
Open your scene, then in Windows > Python Shell run:
exec(open('/full/path/to/houdini-mcp/start_listener.py').read())Edit HOUDINI_MCP_DIR at the top of start_listener.py first if you cloned somewhere other than
~/HoudiniProjects/houdini-mcp. Tip: put that line on a shelf tool. You should see:
houdini MCP listener on 127.0.0.1:9876 config: defaults (no $HIP/houdini_mcp_config.json)Running it again restarts the listener, which is how you pick up an update. To stop it:
hou.session.mcp_listener.stop().
Save your scene first: backups and the audit log are written next to the .hip file.
Optional check from a terminal: .venv/bin/python test_connection.py.
3. Ask for something
Start claude in your project folder (restart it if it was already running, so it picks up the new tools) and try:
"Use the houdini tools. Give me scene_info and list what's in /obj."
"Make a geo node in /obj with a box, a polybevel and a mountain SOP, then show me the geometry stats."
"Set the mountain height to 2 with a dry run first, then do it for real, then cook_and_check."
"Undo that last change."
"Take a viewport snapshot of /obj in wireframe, framed on everything."
"Flipbook frames 1 to 24 every 4 frames and tell me if anything pops."
"quick_render through /cameras/camera1 at 640x360."
"Make a GIF of the seed going from 1 to 12 on my asset, framed on its output node."
"frame_camera a front view of /obj/geo1/OUT as a 720x960 portrait, then quick_render it." (needs a Solaris stage with a camera and a Karma LOP)
"What's the history? Restore the backup from before the bevel."
Other MCP clients
Any client that launches stdio MCP servers can use it. Point it at the venv's Python and server.py, for example in
Claude Desktop's claude_desktop_config.json:
{ "mcpServers": { "houdini": { "command": "/full/path/houdini-mcp/.venv/bin/python",
"args": ["/full/path/houdini-mcp/server.py"] } } }Per-project config (optional)
Put a houdini_mcp_config.json next to your .hip. Every key is optional:
Key | Default | Meaning |
|
| the only places the agent may edit |
|
| enable |
| the Karma LOP |
|
|
| SOPs |
|
| the direction facades face (front-view cameras stand out along it) |
|
| enable |
|
| save the |
| displayed | what |
|
| parameters shown in every |
| first Karma LOP in | the node |
| none | a Switch LOP that selects your lighting setup |
|
| names for its inputs, e.g. |
|
| extra values to set per look, e.g. |
See examples/sf_victorian_house.json for a full one.
Good to know
Houdini is busy while a tool runs: a quick render blocks the UI for its duration.
A cook can't be interrupted from outside. The client times out and reports, and the cook finishes in Houdini.
A forced cook (
cook_and_check) marks the file as unsaved even when nothing changed. That's Houdini, not an edit.If code in your scene runs on cook and edits nodes (a Python SOP/LOP setting a comment, say), Houdini records those as undo steps too, and
undowill stop at them. Wrap such edits inhou.undos.disabler().There's no authentication on the socket: anything running on your machine can talk to it while it's on. Keep the listener off when you're not using it.
Troubleshooting
Symptom | Fix |
"Houdini listener not reachable" | run |
"Address already in use" when starting | an old listener is still running: run |
Tools don't appear in Claude Code | restart |
| add a Karma LOP in |
| open |
| the next undo step was made by hand (or by code on cook): use Cmd/Ctrl+Z in Houdini |
Files
File | |
| the MCP server (tool definitions, EXR → PNG for previews) |
| runs inside Houdini: the commands and guardrails |
| paste/shelf snippet that (re)starts the listener |
| terminal check that the listener answers |
| camera rules, served to the agent as |
| project configs |
Licence
MIT, see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
Generate 3D models, worlds, PBR materials, and coordinated asset packs from AI agents.
Generate and edit images, video, voice, lip-sync and 3D models from your AI agent.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants and CLI tools to read and control Houdini scenes with a safety model that separates read and write operations.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Houdini by executing Python code, querying scene information, and creating nodes via the Model Context Protocol.2-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to directly control SideFX Houdini, including creating nodes, setting parameters, executing Python, capturing viewports, and rendering frames, via 57 MCP tools.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control SideFX Houdini 3D software, providing tools for scene management, node operations, rendering, and more through the Model Context Protocol.1MIT