fxhoudinimcp
Comprehensive MCP server for SideFX Houdini, offering 168 tools across 19 categories to enable natural-language control of scene building, simulation, rendering, and more via AI assistants.
README
<div align="center">
<img src="https://cdn.simpleicons.org/houdini/FF4713" alt="Houdini" width="80"> <img src="https://cdn.simpleicons.org/modelcontextprotocol/ffffff" alt="MCP" width="80">
<h3 align="center">fxhoudinimcp</h3>
<p align="center"> The most comprehensive MCP server for SideFX Houdini. <br/> 168 tools across 19 categories, covering every major Houdini context. <br/><br/> </p>
<p align="center"> <!-- Maintenance status --> <img src="https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg?&label=Maintenance"> <!-- License --> <img src="https://img.shields.io/badge/License-MIT-brightgreen.svg?&logo=open-source-initiative&logoColor=white" alt="License: MIT"/> <!-- Last Commit --> <img src="https://img.shields.io/github/last-commit/healkeiser/fxhoudinimcp?logo=github&label=Last%20Commit" alt="Last Commit"/> <!-- Commit Activity --> <a href="https://github.com/healkeiser/fxhoudinimcp/pulse" alt="Activity"> <img src="https://img.shields.io/github/commit-activity/m/healkeiser/fxhoudinimcp?&logo=github&label=Commit%20Activity"/></a> <!-- PyPI version --> <a href="https://pypi.org/project/fxhoudinimcp/"> <img src="https://img.shields.io/pypi/v/fxhoudinimcp?logo=pypi&logoColor=white&label=PyPI" alt="PyPI"/></a> <!-- PyPI downloads --> <a href="https://pepy.tech/projects/fxhoudinimcp"><img src="https://static.pepy.tech/badge/fxhoudinimcp" alt="PyPI Downloads"></a> <!-- GitHub stars --> <img src="https://img.shields.io/github/stars/healkeiser/fxhoudinimcp" alt="GitHub Stars"/> </p>
</div>
<!-- TABLE OF CONTENTS -->
Table of Contents
<!-- ABOUT -->
About
A comprehensive MCP (Model Context Protocol) server for SideFX Houdini. Connects AI assistants like Claude directly to Houdini's Python API, enabling natural language control over scene building, simulation setup, rendering, and more.
168 tools, 8 resources, and 6 workflow prompts out of the box.
<!-- FEATURES -->
Features
| Category | Tools | Description |
|---|---|---|
| Scene Management | 7 | Open, save, import/export, scene info |
| Node Operations | 16 | Create, delete, copy, connect, layout, flags |
| Parameters | 10 | Get/set values, expressions, keyframes, spare parameters |
| Geometry (SOPs) | 12 | Points, prims, attributes, groups, sampling, nearest-point search |
| LOPs/USD | 18 | Stage inspection, prims, layers, composition, variants, lighting |
| DOPs | 8 | Simulation info, DOP objects, step/reset, memory usage |
| PDG/TOPs | 10 | Cook, work items, schedulers, dependency graphs |
| COPs (Copernicus) | 7 | Image nodes, layers, VDB data |
| HDAs | 10 | Create, install, manage Digital Assets and their sections |
| Animation | 9 | Keyframes, playbar control, frame range |
| Rendering | 9 | Viewport capture, render nodes, settings, render launch |
| VEX | 5 | Create/edit wrangles, validate VEX code |
| Code Execution | 4 | Python, HScript, expressions, env variables |
| Viewport/UI | 11 | Pane management, screenshots, status messages, 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 |
<!-- ARCHITECTURE -->
Architecture
flowchart LR
subgraph Client[" 🤖 AI Client "]
direction TB
A1("Claude Desktop")
A2("Cursor / VS Code")
A3("Claude Code")
end
subgraph MCP[" ⚡ FXHoudini MCP Server "]
direction TB
B1("🔧 168 Tools")
B2("📦 8 Resources")
B3("💬 6 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
Uses Houdini's built-in hwebserver. No custom socket servers, no rpyc. Uses hdefereval.executeInMainThreadWithResult() to safely run hou.* calls on the main thread.
<!-- INSTALLATION --> <!-- --8<-- [start:installation] -->
Installation
Requirements
- Houdini 20.5+ (tested on 21.0)
- Python 3.10+
- MCP SDK (
mcppackage) 1.8+
1. Install the MCP Server
From PyPI:
pip install fxhoudinimcp
From source:
pip install -e .
Or with development dependencies:
pip install -e ".[dev]"
2. Install the Houdini Plugin
Option A: Houdini package (recommended)
-
Copy
houdini/fxhoudinimcp.jsonto your Houdini packages directory:- Windows:
%USERPROFILE%/Documents/houdiniXX.X/packages/ - Linux:
~/houdiniXX.X/packages/ - macOS:
~/Library/Preferences/houdini/XX.X/packages/
- Windows:
-
Edit the JSON file to set
FXHOUDINIMCPto point to thehoudinidirectory in this repo.
Option B: Manual copy
Copy the contents of houdini/ into your Houdini user preferences directory so that:
scripts/python/fxhoudinimcp_server/is on Houdini's Python pathpython3.Xlibs/uiready.pyauto-starts the server (copy the folder matching your Houdini's Python version)toolbar/fxhoudinimcp.shelfappears in your shelf
3. Configure Your MCP Client
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"fxhoudini": {
"command": "python",
"args": ["-m", "fxhoudinimcp"],
"env": {
"HOUDINI_HOST": "localhost",
"HOUDINI_PORT": "8100"
}
}
}
}
Claude Code (global — available in every project):
claude mcp add --scope user fxhoudini -- python -m fxhoudinimcp
Or to scope it to a single project, add a .mcp.json in the project root:
{
"mcpServers": {
"fxhoudini": {
"command": "python",
"args": ["-m", "fxhoudinimcp"]
}
}
}
[!TIP] If Claude Desktop reports the server as disconnected, replace
"python"with the full absolute path to your Python executable. Claude Desktop does not always inherit your system PATH. Find it with:python -c "import sys; print(sys.executable)"Then use the result in your config, e.g.
"command": "C:\\Program Files\\Python311\\python.exe". After any config change, fully quit Claude Desktop (system tray → Quit) and relaunch. <!-- --8<-- [end:installation] -->
<!-- USAGE -->
Usage
Launch Houdini normally. The plugin auto-starts once when the UI is ready (controlled by FXHOUDINIMCP_AUTOSTART env var). The startup script uses uiready.py, which stacks correctly with other Houdini packages. You can also toggle it manually via the MCP Server shelf tool.
Once connected, your AI assistant can:
"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"
"Create an HDA from the selected subnet"
"Debug why my scene has cooking errors"
<!-- ENVIRONMENT VARIABLES -->
Environment Variables
| Variable | Default | Description |
|---|---|---|
HOUDINI_HOST |
localhost |
Houdini host address |
HOUDINI_PORT |
8100 |
Houdini hwebserver port |
FXHOUDINIMCP_PORT |
8100 |
Port for the Houdini plugin to listen on |
FXHOUDINIMCP_AUTOSTART |
1 |
Set to 0 to disable auto-start |
MCP_TRANSPORT |
stdio |
MCP transport (stdio or streamable-http) |
LOG_LEVEL |
INFO |
Logging level |
<!-- DEVELOPMENT -->
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run linter
ruff check python/
# Run tests
pytest
How It Works
-
Houdini Plugin (
houdini/): Runs inside Houdini's Python environment. Registers@hwebserver.apiFunctionendpoints that receive JSON commands. Useshdefereval.executeInMainThreadWithResult()to safely executehou.*calls on the main thread. -
MCP Server (
python/fxhoudinimcp/): A standalone Python process using FastMCP. Exposes 167 tools, 8 resources, and 6 prompts via the MCP protocol. Forwards tool calls to Houdini over HTTP. -
Bridge (
python/fxhoudinimcp/bridge.py): Async HTTP client that sends commands to Houdini's hwebserver and deserializes responses. Handles connection errors and timeouts.
<!-- CONTACT -->
Contact
Project Link: fxhoudinimcp
<p align='center'> <!-- GitHub profile --> <a href="https://github.com/healkeiser"> <img src="https://img.shields.io/badge/healkeiser-181717?logo=github&style=social" alt="GitHub"/></a> <!-- LinkedIn --> <a href="https://www.linkedin.com/in/valentin-beaumont"> <img src="https://img.shields.io/badge/Valentin%20Beaumont-0A66C2?logo=linkedin&style=social" alt="LinkedIn"/></a> <!-- Behance --> <a href="https://www.behance.net/el1ven"> <img src="https://img.shields.io/badge/el1ven-1769FF?logo=behance&style=social" alt="Behance"/></a> <!-- X --> <a href="https://twitter.com/valentinbeaumon"> <img src="https://img.shields.io/badge/@valentinbeaumon-1DA1F2?logo=x&style=social" alt="Twitter"/></a> <!-- Instagram --> <a href="https://www.instagram.com/val.beaumontart"> <img src="https://img.shields.io/badge/@val.beaumontart-E4405F?logo=instagram&style=social" alt="Instagram"/></a> <!-- Gumroad --> <a href="https://healkeiser.gumroad.com/subscribe"> <img src="https://img.shields.io/badge/healkeiser-36a9ae?logo=gumroad&style=social" alt="Gumroad"/></a> <!-- Gmail --> <a href="mailto:valentin.onze@gmail.com"> <img src="https://img.shields.io/badge/valentin.onze@gmail.com-D14836?logo=gmail&style=social" alt="Email"/></a> <!-- Buy me a coffee --> <a href="https://www.buymeacoffee.com/healkeiser"> <img src="https://img.shields.io/badge/Buy Me A Coffee-FFDD00?&logo=buy-me-a-coffee&logoColor=black" alt="Buy Me A Coffee"/></a> </p>
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 模型以安全和受控的方式获取实时的网络信息。