Skip to content
FunCoding

fxhoudinimcp

The most comprehensive MCP server for SideFX Houdini.

Star
451
Category
Other
License
MIT
Last commit
Nov 20, 2026

fxhoudinimcp: the MCP server for SideFX Houdini

   License: MIT   Last Commit      PyPI   PyPI Downloads   GitHub Stars

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.

CategoryToolsDescription
Graph Intelligence6Atomic validated network building, network verification, node doc cards, cook profiling, frame-range cooking with per-frame evidence, cook status
Documentation3Full-text search + page retrieval over Houdini's own shipped manual (version-exact)
Scene Management10Open, save, import/export, scene info, connection status, undo/redo
Sessions3Switch between open Houdini sessions, start a headless or GUI Houdini of the server's own, stop it
Node Operations22Create, delete, copy, connect, layout, flags, network boxes, sticky notes, object transforms
Parameters14Get/set values in bulk, expressions, keyframes, spare parameters
Geometry (SOPs)16Points, prims, attributes, attribute statistics, volume statistics and sampling, groups, sampling, nearest-point search
LOPs/USD21Stage inspection, prims, world transforms over frames, layers, composition, variants, lighting
DOPs8Simulation info, DOP objects, step/reset, memory usage
PDG/TOPs12Cook, work items, failed items and logs, schedulers, dependency graphs
COPs (Copernicus)7Image nodes, layers, VDB data
HDAs13Create, install, manage Digital Assets, their versions and sections
Animation9Keyframes, playbar control, frame range
Rendering10Viewport capture, contact sheets of a frame range without a viewport, render nodes, settings, render launch
VEX5Create/edit wrangles, validate VEX code
Code Execution7Python, HScript, expressions, env variables, file references, update mode
Viewport/UI14Pane management, viewer context, verified camera and renderer state, screenshots, error detection
Scene Context8Network overview, cook chain, selection, scene summary, error analysis
Workflows8One-call Pyro/RBD/FLIP/Vellum setup, SOP chains, render config
Materials4List, inspect, create materials and shader networks
CHOPs4Channel data, CHOP nodes, export channels to parameters
Cache4List, inspect, clear, write file caches
Takes4List, create, switch takes with parameter overrides
Shelf Tools3Find, 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.

FlagWhat it does
--dry-runReport every change, make none
--houdini-dir DIRWrite into this packages directory only
--client-onlyRegister a client, leave Houdini untouched
--client NAMEClient 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
FlagWhat it removes
--dry-runNothing. Lists what it would remove
--houdini-dir DIROnly this packages directory, instead of every one found
--client-onlyOnly the client registration, leaving the package files
--client NAMEWhich client to unregister from, repeatable; same names as install. Default auto takes every one with an entry
--yesSkip 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"]
    }
  }
}
ClientRegister withRemove with
Claude Codeclaude mcp add --scope user fxhoudini -- <python> -m fxhoudinimcpclaude mcp remove fxhoudini -s user
Codexcodex mcp add fxhoudini -- <python> -m fxhoudinimcpcodex mcp remove fxhoudini
Copilot CLIcopilot mcp add fxhoudini -- <python> -m fxhoudinimcpcopilot mcp remove fxhoudini
Gemini CLIgemini mcp add -s user fxhoudini <python> -m fxhoudinimcpgemini mcp remove -s user fxhoudini
Claude Desktopclaude_desktop_config.json in the app-data Claude/ folder, key mcpServers; quit from the tray and relaunchdelete the entry
Cursor~/.cursor/mcp.json, key mcpServersdelete the entry
Windsurf~/.codeium/windsurf/mcp_config.json, key mcpServersdelete the entry
VS Codeuser mcp.json (MCP: Open User Configuration), key servers, entry gets "type": "stdio"delete the entry
Cline~/.cline/data/settings/cline_mcp_settings.json, key mcpServersdelete 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 UTF8 adds one);
  • another fxhoudinimcp.json in a later packages directory overrides it (fxhoudinimcp houdini-package lists them all, uninstall removes 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

VariableDefaultRead byDescription
FXHOUDINIMCP_PORT8100HoudiniPort the plugin listens on; a second Houdini takes the next free one
FXHOUDINIMCP_BIND127.0.0.1HoudiniAddress the plugin binds. See Security before widening it
FXHOUDINIMCP_AUTOSTART1Houdini0 disables auto-start
FXHOUDINIMCP_AUTO_LAYOUT0both1 lets tools re-lay-out a network after changing it. Off, only new nodes are placed
FXHOUDINIMCP_PROJECT_ROOTunsetHoudiniConfine hip, import, export and HDA files to this directory
FXHOUDINIMCP_TIMEOUT120HoudiniSeconds a command may run; write_cache, start_render, cook_frame_range and press_button have no deadline
FXHOUDINIMCP_TIMEOUT_<COMMAND>unsetHoudiniPer-command override: FXHOUDINIMCP_TIMEOUT_TOPS_COOK_TOP_NODE=900
FXHOUDINIMCP_OUTPUT_GRACE2HoudiniSeconds a render or cache may take to show its file before it counts as not written
HOUDINI_HOSTlocalhostclientHoudini host
HOUDINI_PORTscan 8100-8115clientPin one Houdini port; switches off the scan
HOUDINI_TIMEOUTplugin timeout + 15clientSeconds the client waits for a command
MCP_TRANSPORTstdioclientstdio or streamable-http
LOG_LEVELINFOclientLogging 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_BIND says otherwise.
  • Requests with an Origin header (a web page) or a non-loopback Host (DNS rebinding) are refused.
  • FXHOUDINIMCP_PROJECT_ROOT confines the files the tools open, save, import, export or install. It does not check paths written into parameters (a File SOP, a ROP output), and execute_python / execute_hscript are 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

GitHub   LinkedIn   Behance   Twitter   Instagram   Gumroad   Email   Buy Me A Coffee  

License

MIT

Similar MCP servers

Official

Time

Current time lookup and conversion between IANA timezones

MOmodelcontextprotocol/servers92k200 new stars in the last 7 days

Official

Everything

Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more

MOmodelcontextprotocol/servers92k200 new stars in the last 7 days

Official

Context7

Up-to-date docs for AI agents

UPupstash/context766k359 new stars in the last 7 days

Reactive Resume

Free open-source resume builder with remote MCP tools for resumes and job applications.

REreactive-resume/reactive-resume46k219 new stars in the last 7 days

mcp-server

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

HEHeyPuter/puter44k63 new stars in the last 7 days