Table of Contents
About
An MCP server for SideFX Houdini: it lets an AI assistant build networks, set up simulations, inspect USD stages and render, through Houdini's own Python API. It works with any MCP client: Claude, Codex, Copilot, Gemini, Cursor, Windsurf, VS Code, Cline and others.
215 tools, 8 resources, and 9 prompts serving 31 written workflow guides out of the box.
| Category | Tools | Description |
|---|---|---|
| Graph Intelligence | 6 | Atomic validated network building, network verification, node doc cards, cook profiling, frame-range cooking with per-frame evidence, cook status |
| Documentation | 3 | Full-text search + page retrieval over Houdini's own shipped manual (version-exact) |
| Scene Management | 10 | Open, save, import/export, scene info, connection status, undo/redo |
| Sessions | 3 | Switch between open Houdini sessions, start a headless or GUI Houdini of the server's own, stop it |
| Node Operations | 22 | Create, delete, copy, connect, layout, flags, network boxes, sticky notes, object transforms |
| Parameters | 14 | Get/set values in bulk, expressions, keyframes, spare parameters |
| Geometry (SOPs) | 16 | Points, prims, attributes, attribute statistics, volume statistics and sampling, groups, sampling, nearest-point search |
| LOPs/USD | 21 | Stage inspection, prims, world transforms over frames, layers, composition, variants, lighting |
| DOPs | 8 | Simulation info, DOP objects, step/reset, memory usage |
| PDG/TOPs | 12 | Cook, work items, failed items and logs, schedulers, dependency graphs |
| COPs (Copernicus) | 7 | Image nodes, layers, VDB data |
| HDAs | 13 | Create, install, manage Digital Assets, their versions and sections |
| Animation | 9 | Keyframes, playbar control, frame range |
| Rendering | 10 | Viewport capture, contact sheets of a frame range without a viewport, render nodes, settings, render launch |
| VEX | 5 | Create/edit wrangles, validate VEX code |
| Code Execution | 7 | Python, HScript, expressions, env variables, file references, update mode |
| Viewport/UI | 14 | Pane management, viewer context, verified camera and renderer state, screenshots, error detection |
| Scene Context | 8 | Network overview, cook chain, selection, scene summary, error analysis |
| Workflows | 8 | One-call Pyro/RBD/FLIP/Vellum setup, SOP chains, render config |
| Materials | 4 | List, inspect, create materials and shader networks |
| CHOPs | 4 | Channel data, CHOP nodes, export channels to parameters |
| Cache | 4 | List, inspect, clear, write file caches |
| Takes | 4 | List, create, switch takes with parameter overrides |
| Shelf Tools | 3 | Find, read and run Houdini's own shelf tools (setups build_network cannot produce) |
flowchart LR
subgraph Client[" 🤖 AI Client "]
direction TB
A1("Claude · Codex · Copilot · Gemini")
A2("Cursor · Windsurf · VS Code · Cline")
A3("any stdio MCP client")
end
subgraph MCP[" ⚡ FXHoudini MCP Server "]
direction TB
B1("🔧 215 tools")
B2("📦 8 Resources")
B3("💬 9 Prompts")
end
subgraph Houdini[" 🔶 SideFX Houdini "]
direction TB
C1("🌐 hwebserver")
C2("📡 Dispatcher")
C3("🎛️ hou.* Handlers")
C1 --> C2 --> C3
end
Client -. "MCP Protocol · stdio" .-> MCP
MCP -. "HTTP / JSON · port 8100" .-> Houdini
classDef clientBox fill:#f0f4ff,stroke:#b8c9e8,stroke-width:1px,color:#2d3748,rx:12,ry:12
classDef mcpBox fill:#eef6f0,stroke:#a8d5b8,stroke-width:1px,color:#2d3748,rx:12,ry:12
classDef houdiniBox fill:#fff5f0,stroke:#e8c4a8,stroke-width:1px,color:#2d3748,rx:12,ry:12
classDef clientNode fill:#dbe4f8,stroke:#96b0dc,stroke-width:1px,color:#2d3748,rx:8,ry:8
classDef mcpNode fill:#d4edda,stroke:#82c896,stroke-width:1px,color:#2d3748,rx:8,ry:8
classDef houdiniNode fill:#fde4d0,stroke:#e0a87c,stroke-width:1px,color:#2d3748,rx:8,ry:8
class Client clientBox
class MCP mcpBox
class Houdini houdiniBox
class A1,A2,A3 clientNode
class B1,B2,B3 mcpNode
class C1,C2,C3 houdiniNode
The plugin runs on Houdini's built-in hwebserver and executes every hou.* call on the main thread through hdefereval. The MCP server is a separate process your AI client starts; it relays tool calls to the plugin over loopback HTTP.
Installation
Requires Houdini 20.5+ (tested on 20.5, 21.0 and 22.0) and Python 3.10+ outside Houdini.
pip install fxhoudinimcp
python -m fxhoudinimcp install
Restart Houdini and your MCP client. An MCP menu appears in Houdini's menu bar.
install sets up both halves: it writes a Houdini package file into every Houdini packages directory it finds, and registers the server with every MCP client it finds (Claude Code, Claude Desktop, Codex, Copilot CLI, Gemini CLI, Cursor, Windsurf, VS Code, Cline). Use the python -m form: the Python that runs it is the one written into the client config.
| Flag | What it does |
|---|---|
--dry-run |
Report every change, make none |
--houdini-dir DIR |
Write into this packages directory only |
--client-only |
Register a client, leave Houdini untouched |
--client NAME |
Client to register, repeatable: claude-code, claude-desktop, codex, copilot, gemini, cursor, windsurf, vscode, cline. Default auto (every one detected); none to skip |
An existing fxhoudini client entry pointing at another Python is repointed, and the old value printed.
pip install --upgrade fxhoudinimcp upgrades both halves, since the plugin ships inside the wheel. The exception is a plugin loaded from a git clone, which you update with git.
Uninstalling
pip uninstall alone leaves the package file and the client entry behind, and both then fail silently. Remove them first:
python -m fxhoudinimcp uninstall
pip uninstall fxhoudinimcp
| Flag | What it removes |
|---|---|
--dry-run |
Nothing. Lists what it would remove |
--houdini-dir DIR |
Only this packages directory, instead of every one found |
--client-only |
Only the client registration, leaving the package files |
--client NAME |
Which client to unregister from, repeatable; same names as install. Default auto takes every one with an entry |
--yes |
Skip the confirmation. Required when stdin is not a terminal |
Installing by hand
For a clone, a locked-down machine, or untangling a broken setup.
1. Point Houdini at the plugin. Print the package file for this install, then write it:
fxhoudinimcp houdini-package
fxhoudinimcp houdini-package --write "~/Documents/houdini22.0/packages"
Don't type the plugin path by hand: it moves whenever the Python environment does. To load the plugin from a clone instead, write the package file yourself (the path must end in /houdini):
{
"env": [
{
"FXHOUDINIMCP": "C:/Users/you/code/fxhoudinimcp/houdini"
}
],
"path": "$FXHOUDINIMCP"
}
2. Point your MCP client at the server. Every client runs the same command, <python> -m fxhoudinimcp, where <python> is the absolute path of the Python that has fxhoudinimcp (python -c "import sys; print(sys.executable)"). Clients don't inherit your shell's PATH, and a bare python just shows as "disconnected".
CLI clients register it with their own command. File-based clients take this entry in their config file:
{
"mcpServers": {
"fxhoudini": {
"command": "C:\\Program Files\\Python311\\python.exe",
"args": ["-m", "fxhoudinimcp"]
}
}
}
| Client | Register with | Remove with |
|---|---|---|
| Claude Code | claude mcp add --scope user fxhoudini -- <python> -m fxhoudinimcp |
claude mcp remove fxhoudini -s user |
| Codex | codex mcp add fxhoudini -- <python> -m fxhoudinimcp |
codex mcp remove fxhoudini |
| Copilot CLI | copilot mcp add fxhoudini -- <python> -m fxhoudinimcp |
copilot mcp remove fxhoudini |
| Gemini CLI | gemini mcp add -s user fxhoudini <python> -m fxhoudinimcp |
gemini mcp remove -s user fxhoudini |
| Claude Desktop | claude_desktop_config.json in the app-data Claude/ folder, key mcpServers; quit from the tray and relaunch |
delete the entry |
| Cursor | ~/.cursor/mcp.json, key mcpServers |
delete the entry |
| Windsurf | ~/.codeium/windsurf/mcp_config.json, key mcpServers |
delete the entry |
| VS Code | user mcp.json (MCP: Open User Configuration), key servers, entry gets "type": "stdio" |
delete the entry |
| Cline | ~/.cline/data/settings/cline_mcp_settings.json, key mcpServers |
delete the entry |
Any other stdio client takes <python> -m fxhoudinimcp as its command. python -m fxhoudinimcp install --client-only does this step for you.
Troubleshooting
No MCP menu in Houdini. Houdini skipped the package file without saying so. Start it with HOUDINI_PACKAGE_VERBOSE=1 and look for Loading: and Processing: lines for fxhoudinimcp.json. The usual causes:
- the plugin path in the file doesn't exist;
- the file starts with a UTF-8 BOM (PowerShell's
Set-Content -Encoding UTF8adds one); - another
fxhoudinimcp.jsonin a later packages directory overrides it (fxhoudinimcp houdini-packagelists them all,uninstallremoves them); - the Houdini version you launched has no package file (each version reads its own preferences directory).
On Windows, OneDrive can make a desktop-launched and a shell-launched Houdini read different preference directories; the package log shows which one is used.
The client shows "disconnected". Its config names a bare python; use the absolute path.
A documented subcommand seems missing. Check python -m fxhoudinimcp --version: an editable install reports the version it was created at.
The assistant can't reach Houdini. get_houdini_connection_status lists every Houdini serving the plugin and why a connection failed.
Usage
The plugin starts with Houdini's UI (FXHOUDINIMCP_AUTOSTART), and the MCP menu starts, stops and checks it. MCP > Connect a Client... shows the port this session actually got (a second Houdini takes the next free port), copies the command that registers the server with every client found, and lists the manual form for each client.
Then ask for things:
"Create a procedural rock generator with mountain displacement"
"Set up a Pyro simulation with a sphere source"
"Build a USD scene with a camera, dome light, and ground plane"
"Debug why my scene has cooking errors"
Every tool call is one undo step. Tools leave your selection, viewport camera and network editor where they were, so you can keep working in the scene while the assistant does.
Configuration
| Variable | Default | Read by | Description |
|---|---|---|---|
FXHOUDINIMCP_PORT |
8100 |
Houdini | Port the plugin listens on; a second Houdini takes the next free one |
FXHOUDINIMCP_BIND |
127.0.0.1 |
Houdini | Address the plugin binds. See Security before widening it |
FXHOUDINIMCP_AUTOSTART |
1 |
Houdini | 0 disables auto-start |
FXHOUDINIMCP_AUTO_LAYOUT |
0 |
both | 1 lets tools re-lay-out a network after changing it. Off, only new nodes are placed |
FXHOUDINIMCP_PROJECT_ROOT |
unset | Houdini | Confine hip, import, export and HDA files to this directory |
FXHOUDINIMCP_TIMEOUT |
120 |
Houdini | Seconds a command may run; write_cache, start_render, cook_frame_range and press_button have no deadline |
FXHOUDINIMCP_TIMEOUT_<COMMAND> |
unset | Houdini | Per-command override: FXHOUDINIMCP_TIMEOUT_TOPS_COOK_TOP_NODE=900 |
FXHOUDINIMCP_OUTPUT_GRACE |
2 |
Houdini | Seconds a render or cache may take to show its file before it counts as not written |
HOUDINI_HOST |
localhost |
client | Houdini host |
HOUDINI_PORT |
scan 8100-8115 | client | Pin one Houdini port; switches off the scan |
HOUDINI_TIMEOUT |
plugin timeout + 15 | client | Seconds the client waits for a command |
MCP_TRANSPORT |
stdio |
client | stdio or streamable-http |
LOG_LEVEL |
INFO |
client | Logging level |
Houdini-side variables live in the package file install wrote, where every one sits at its default. They win over the same variables in your shell; install keeps your edits when it runs again. Client-side variables go in your MCP client's config.
Security
A connection to this server is a shell inside your Houdini session: execute_python runs arbitrary code, and there is no authentication or per-tool permission. It is built for one artist's workstation and an MCP client they trust.
- The plugin binds to loopback unless
FXHOUDINIMCP_BINDsays otherwise. - Requests with an
Originheader (a web page) or a non-loopbackHost(DNS rebinding) are refused. FXHOUDINIMCP_PROJECT_ROOTconfines the files the tools open, save, import, export or install. It does not check paths written into parameters (a File SOP, a ROP output), andexecute_python/execute_hscriptare not sandboxed.- Recovery from a bad change is undo, one step per tool call.
Development
See CONTRIBUTING.md for what CI checks.
pip install -e ".[dev]"
ruff check . && ruff format --check .
pytest # unit tests, hou mocked
python tests/run_integration.py # live suite in hython; needs a license seat, HYTHON picks the build
python tests/integration/gui_session_check.py # against a running GUI Houdini
python tools/gen_node_versions.py # add this machine's Houdini builds to the node table
python tools/gen_node_domains.py # after gen_node_versions
python tools/gen_required_commands.py
python tools/gen_prompt_vocab.py # node tables in the prompts; edit tools/prompt_vocab.json, not the markdown
With Red Giant / Maxon Universe installed, set HOUDINI_DISABLE_OPENFX_DEFAULT_PATH=1, or its OpenFX plug-in crashes hython on 20.5.487 and later.
Layout: the plugin is in houdini/ (handlers under scripts/python/fxhoudinimcp_server/handlers/), the MCP server in python/fxhoudinimcp/ (tools, bridge, prompts). Prompts are in prompts/markdown/: instructions/ is sent to every client, workflows/ holds one guide per SideFX help scope (pyro.md pairs with pyro/), shared/ holds fragments.
What a call costs. Every command waits for a main-thread tick in Houdini, so call count, not work, sets a session's speed (Houdini 22.0.368, idle scene):
health_check (no main-thread hop) |
0.5 ms |
| any command, even on an empty network | ~50 ms |
| 10 nodes, one call each | ~800 ms |
the same 10 in one build_network |
~66 ms |
Contact
Project Link: fxhoudinimcp
License
MIT
Metadata
Release files for fxhoudinimcp 2.26.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fxhoudinimcp-2.26.0.tar.gz | 12.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fxhoudinimcp-2.26.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 MB
Release files / fxhoudinimcp-2.26.0.tar.gz
| Download URL | fxhoudinimcp-2.26.0.tar.gz |
|---|---|
| Size | 12.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aba6b8e47ebd5e2155dde6ac216290c7e644e2b13ec06b3c8de4399a4619bd0c
|
|
BLAKE2b-256 checksum How to use checksums |
ad28a3a4c00d6ed0bcc2efa075752add7180222cf6c2a5148d4f67637d52072d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / fxhoudinimcp-2.26.0-py3-none-any.whl
| Download URL | fxhoudinimcp-2.26.0-py3-none-any.whl |
|---|---|
| Size | 486.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
365d3d8d3f8d572ce357466802bcd4db0b6ccf0a000724292bb47b854df45a01
|
|
BLAKE2b-256 checksum How to use checksums |
cff6dcca0ce2c6e99849345592e429a06d436e52a7d48215bd7eba6456ee0346
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|