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.
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:
- Auto-install the startup hook into your Houdini prefs (one-time, non-destructive)
- Launch Houdini and wait for RPyC to be ready
- 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

HouConfig — port range, search paths, startup hook injection

MCP Tools — enable/disable tools per category

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

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 callshrpyc.start_server()to expose the fullhoumodule 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。