Houdini MCP Server
Allows controlling SideFX Houdini for 3D content creation, including creating and connecting nodes, setting parameters, executing HScript and VEX code, managing simulations, and building procedural networks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Houdini MCP ServerCreate a sphere and a cube, then merge them."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Houdini MCP Server
Control SideFX Houdini directly from Claude Code using the Model Context Protocol (MCP).
This project enables AI-assisted 3D content creation by allowing Claude to create nodes, set parameters, execute HScript commands, and build complex procedural networks in Houdini.
Features
🚀 Unlimited Power - Do ANYTHING in Houdini!
This tool gives Claude full access to Houdini's capabilities:
ALL Contexts: SOPs, DOPs, COPs, CHOPs, VOPs, ROPs, LOPs - Everything!
Any Node Type: Geometry, simulations, compositing, animation, rendering
Full HScript Access: Execute any Houdini command with
execute_hscriptVEX Code: Write custom procedural logic inline
Simulations: Particles, fluids, pyro, cloth, RBD, crowds
Complex Networks: Build intricate procedural systems
Real-time Control: Execute commands while Houdini is running
Natural Language: Just describe what you want in plain English
Core MCP Tools
Node Management: Create, delete, and connect nodes programmatically
Parameter Control: Set and animate node parameters with expressions
Scene Inspection: Query scene structure and node information
HScript Execution: Run ANY HScript command directly in Houdini
Network Building: Connect complex node chains automatically
Architecture
The system consists of two components:
MCP Server (
houdini_mcp_server.py): Runs as a Claude Code MCP server, exposes tools to ClaudeHoudini Plugin (
houdini_plugin.py): Runs inside Houdini, listens for commands via TCP socket
┌─────────────┐ ┌──────────────────┐ ┌─────────────┐
│ Claude Code │ ◄─MCP──►│ MCP Server │◄──TCP──►│ Houdini │
│ │ │ (stdio) │ :9876 │ Plugin │
└─────────────┘ └──────────────────┘ └─────────────┘Requirements
Houdini 19.5 or later (tested with Houdini 21)
Python 3.10+ (included with Houdini)
Claude Code CLI
Operating System: macOS, Linux, or Windows
Installation
1. Clone the Repository
git clone https://github.com/atayilgun/Houdini-claudecode-mcp.git
cd Houdini-claudecode-mcp2. Run Setup Script
./setup.shThe setup script will:
Detect your Houdini installation
Install Python dependencies
Configure Claude Code with the MCP server
3. Start the Houdini Plugin
Open Houdini
Go to Windows → Python Shell
Run these commands in the Python Shell:
import sys
sys.path.append('/path/to/houdini-mcp') # Replace with your actual path
from houdini_plugin import HoudiniMCPServer
server = HoudiniMCPServer()
server.start()You should see:
✅ Houdini MCP Server listening on localhost:9876
Ready to receive commands from Claude Code!Usage
Once the plugin is running, you can control Houdini from Claude Code using natural language:
Basic Examples
Create objects:
Create a cube in HoudiniMultiple objects:
Create a sphere at position (5, 0, 0) and a cube at the originAnimation:
Make the cube move from X=0 to X=10 over 48 framesComplex procedural setups:
Create a particle system with 5000 points scattered on a sphere,
add colorful gradients, and make them flow like windAvailable MCP Tools
Claude has access to these tools:
create_node(node_type, node_name, parent)- Create a new nodedelete_node(node_path)- Delete a nodeconnect_nodes(source_path, dest_path)- Connect nodesset_parameter(node_path, param_name, param_value)- Set parameter valuesget_scene_info()- Get information about the sceneexecute_hscript(code)- Execute HScript commands
Examples
See the examples/ directory for Python scripts that demonstrate various capabilities:
create_animated_cube.py- Basic animation exampleparticle_system.py- Advanced particle effectsprocedural_network.py- Building complex node networks
Manual Setup (Alternative)
If the setup script doesn't work for your system:
1. Install Dependencies
# Using Houdini's Python
/path/to/houdini/python3 -m pip install fastmcp httpx --user2. Configure Claude Code
claude mcp add houdini --transport stdio -- /path/to/houdini/python3 /path/to/houdini_mcp_server.py3. Verify Installation
claude mcp list
claude mcp get houdiniTroubleshooting
Port Already in Use
If you see Address already in use error:
Make sure no other instance of the plugin is running
Change the port in both
houdini_mcp_server.pyandhoudini_plugin.py
Cannot Connect to Houdini
Verify Houdini is running
Verify the plugin is loaded in Houdini's Python Shell
Check firewall settings
MCP Server Not Found
# Check if server is registered
claude mcp list
# If not listed, run setup again
./setup.shPython Import Errors
Make sure you're using Houdini's Python, not your system Python:
/Applications/Houdini/Current/Frameworks/Python.framework/Versions/Current/bin/python3 --versionDevelopment
Project Structure
houdini-mcp/
├── README.md # This file
├── requirements.txt # Python dependencies
├── setup.sh # Installation script
├── houdini_mcp_server.py # MCP server (runs with Claude)
├── houdini_plugin.py # Plugin (runs in Houdini)
└── examples/ # Example scripts
├── create_animated_cube.py
├── particle_system.py
└── procedural_network.pyRunning Tests
Test the connection:
python3 examples/test_connection.pyAdding New Tools
To add a new MCP tool:
Add the tool decorator and function in
houdini_mcp_server.py:
@mcp.tool()
def your_new_tool(param1: str, param2: int) -> str:
"""Tool description"""
result = send_command({
"type": "your_command",
"params": {"param1": param1, "param2": param2}
})
return f"Result: {result}"Add the command handler in
houdini_plugin.py:
def _execute_command(self, command):
cmd_type = command.get("type")
if cmd_type == "your_command":
return self._your_command_handler(command.get("params", {}))Security Considerations
The plugin accepts commands from localhost only by default
HScript execution should be used carefully as it runs code directly in Houdini
Always review generated code before executing
Consider network security if opening to non-localhost connections
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Make your changes
Submit a pull request
License
MIT License - See LICENSE file for details
Acknowledgments
Built with FastMCP
Powered by Anthropic's Model Context Protocol
Made for SideFX Houdini
Support
Issues: GitHub Issues
Discussions: GitHub Discussions
What Can It Do?
Short answer: EVERYTHING!
The tool already has full access to Houdini through execute_hscript and can:
✅ Create any node in any context (SOPs, DOPs, COPs, CHOPs, VOPs, etc.) ✅ Build simulations (Pyro, FLIP fluids, RBD, Vellum, Wire, etc.) ✅ Composite images (COP networks, color correction, effects) ✅ Animate anything (Keyframes, CHOPs, expressions, motion paths) ✅ Write VEX code (Custom attributes, procedural geometry, deformers) ✅ Manage renders (ROPs, render settings, batch rendering) ✅ Query scene data (Node info, parameter values, geometry attributes) ✅ Execute Python in Houdini (Via HScript's python command)
Example capabilities:
"Create a pyro explosion simulation"
"Set up a FLIP water tank with collision objects"
"Build a procedural building generator with multiple levels"
"Create a particle system with custom VEX forces"
"Set up a COP network to add glow and color grade"
Future Enhancements
These are convenience features, not limitations:
Direct viewport rendering API (currently use HScript)
Binary geometry data transfer (currently use file I/O)
Node preset library management
Multi-session support for team workflows
Web dashboard for monitoring
Happy procedural modeling with AI! 🎨✨
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/atayilgun/Houdini-claudecode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server