Houdini MCP

Houdini MCP

Enables AI agents to directly control SideFX Houdini, including creating nodes, setting parameters, executing Python, capturing viewports, and rendering frames, via 57 MCP tools.

Category
Visit Server

README

Houdini MCP

MCP server that lets AI agents (Claude Code, Cursor, etc.) directly control SideFX Houdini — create nodes, set parameters, execute Python, capture viewports, render frames, and more.

Built on Model Context Protocol + RPyC. Supports multi-instance, instance pooling, and includes a WebUI dashboard.

Features

  • 57 MCP tools covering scene, nodes, parameters, geometry, rendering, viewport, and more
  • Multi-instance — run multiple Houdini sessions on different ports simultaneously
  • Instance pooling — pre-warm idle Houdini instances, acquire on demand, skip the startup wait
  • Health diagnostics — detect hung/busy/dead Houdini via Win32 API + RPyC ping (never hangs)
  • WebUI dashboard — manage sessions, configuration, startup scripts, and tool toggles from a browser
  • Auto-discovery — MCP server finds running Houdini instances automatically
  • Non-destructive setup — startup hook is a single line in 456.py, fully reversible

Requirements

  • Windows (Win32 APIs used for screen capture and process diagnostics)
  • Python 3.11+
  • SideFX Houdini 20.5+ (tested with 20.5 and 21.0)

Quick Start

1. Install

git clone https://github.com/OtakuSquirrel/houdini-mcp.git
cd houdini-mcp

# Option A: run install.bat (creates venv + installs everything)
install.bat

# Option B: manual
python -m venv .venv
.venv\Scripts\activate
pip install -e ".[webui]"

2. Configure your MCP client

Add to your Claude Code project settings (.claude/settings.local.json):

{
  "mcpServers": {
    "houdini": {
      "command": "D:/path/to/houdini-mcp/.venv/Scripts/python.exe",
      "args": ["-m", "houdini_mcp"],
      "cwd": "D:/path/to/houdini-mcp"
    }
  }
}

3. Start working

The first time an agent calls a Houdini tool, the MCP server will:

  1. Auto-install the startup hook into your Houdini prefs (one-time, non-destructive)
  2. Launch Houdini and wait for RPyC to be ready
  3. Connect and start executing tool calls

No manual setup needed. Just ask your AI agent to do something in Houdini.

WebUI Dashboard

# Start the dashboard
Windows_webui.bat
# or manually:
.venv\Scripts\python.exe -m houdini_mcp.webui --port 9800

Dashboard — sessions, ports, processes at a glance

Dashboard

HouConfig — port range, search paths, startup hook injection

Config

MCP Tools — enable/disable tools per category

MCP Tools

AgentConfig — generate MCP client config for Claude Code, Cursor, etc.

Agent Config

Instance Pooling

Houdini takes 11-37 seconds to start. The pool tools let you pre-warm instances:

warm_pool([{"count": 3}])          # Launch 3 idle Houdini instances
get_pool_status()                   # → 3 idle, 0 active
acquire_from_pool()                 # → Grab one, now 2 idle, 1 active
disconnect_houdini()                # → Release back to idle pool

# When Houdini freezes:
is_houdini_healthy()                # → verdict: "hung", CPU 0%
adopt_idle()                        # → Kill frozen instance, grab an idle one

Available Tools (57)

Category Tools Description
Scene (4) new_scene save_hip open_hip get_scene_summary Create, open, save scenes
Nodes (5) create_node delete_node get_node_info get_node_tree get_node_children Build and inspect node graphs
Parameters (3) get_parameter set_parameter get_parm_template Read/write node parameters
Connections (3) connect_nodes disconnect_nodes get_connections Wire node inputs/outputs
Execution (3) execute_python cook_node get_node_errors Run Python in Houdini, cook nodes
Geometry (3) get_geometry_info get_point_positions get_attribute_values Inspect points, prims, attributes
Viewport (2) viewport_screenshot set_viewport Capture and configure viewport
Render (2) render_frame render_preview Render via ROP or quick OpenGL preview
Verification (3) compare_screenshots export_node_network get_scene_diff Compare images, diff scene states
Lifecycle (8) start_houdini stop_houdini ensure_houdini_ready warm_pool is_houdini_healthy ... Launch, stop, pool, health check
Sessions (13) get_pool_status acquire_from_pool adopt_idle scan_ports connect_to_houdini ... Pool management, multi-instance
Screen (4) capture_houdini_windows get_houdini_windows check_process_status ... Window capture, process status
Events (4) start_event_monitoring get_event_log ... Node operation event tracking

How It Works

AI Agent ←(stdio)→ MCP Server ←(RPyC/TCP)→ Houdini
                         ↕
                    WebUI Dashboard
  • MCP Server starts idle. On first tool call, it auto-discovers a Houdini RPyC listener on the configured port range (default 18811-18899) and connects.
  • Houdini runs a startup hook (456.py) that calls hrpyc.start_server() to expose the full hou module over RPyC.
  • WebUI is a separate FastAPI app that reads the shared config and session registry at ~/houdini_mcp/.

Troubleshooting

Houdini not connecting — Run install_startup_scripts() or use the WebUI Config page, then restart Houdini.

Port conflicts — Use scan_ports() or the WebUI Dashboard to see port status. Run cleanup_stale_sessions() to remove dead entries.

RPyC version mismatch — This project requires rpyc>=4.1,<5. Houdini ships RPyC 4.x internally. RPyC 6.x is incompatible.

Viewport screenshot fails — Requires GUI mode. Does not work with hython (headless).

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured