
eetumartola/houdini-mcp
Productivity workflowこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Houdini MCP
概要
HoudiniMCP connects Houdini to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Houdini. This integration enables prompt-assisted 3D modeling, scene creation, and manipulation within Houdini. - : Connect Claude AI to Houdini through a socket-based server - : Create, modify, and delete 3D objects in Houdini - : Apply and modify materials and colors - : Get detailed information about the current Houdini scene - : Run arbitrary Python code in Houdini from Claude - : Trigger renders directly from Claude The system consists of two main components: 1. : A Python module that creates a socket server within Houdini to receive and execute commands 2. : A Python server that implements the Model Context Protocol and connects to the Houdini extension - Houdini 19.0 or newer - Python 3.10 or newer 1. Open Claude Desktop 2. Go to Claude > Settings > Developer > Edit Config 3. Update claude_desktop_config.json to include: 4.
README
以下は原文 README の抜粋です。原文を見る。
HoudiniMCP - Houdini Model Context Protocol Integration
HoudiniMCP connects Houdini to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Houdini. This integration enables prompt-assisted 3D modeling, scene creation, and manipulation within Houdini.
Features
- Two-way communication: Connect Claude AI to Houdini through a socket-based server
- Object manipulation: Create, modify, and delete 3D objects in Houdini
- Material control: Apply and modify materials and colors
- Scene inspection: Get detailed information about the current Houdini scene
- Code execution: Run arbitrary Python code in Houdini from Claude
- Rendering: Trigger renders directly from Claude
Components
The system consists of two main components:
- Houdini Extension (
houdini_mcp.py): A Python module that creates a socket server within Houdini to receive and execute commands - MCP Server (
houdini_mcp_server.py): A Python server that implements the Model Context Protocol and connects to the Houdini extension
Installation
Prerequisites
- Houdini 19.0 or newer
- Python 3.10 or newer
Claude Desktop Integration
To connect Claude to Houdini:
- Open Claude Desktop
- Go to Claude > Settings > Developer > Edit Config
- Update
claude_desktop_config.jsonto include:
{
"mcpServers": {
"houdini": {
"command": "py",
"args": [
"E:/code/houdini-mcp/houdini_mcp_server.py"
]
}
}
}
- Edit the path to match your location for houdini_mcp_server.py
Installing the Houdini Extension
Copy houdini_mcp.py to your houdini prefs folder python3.11libs/ subfolder
Usage
Starting the Connection
- In Houdini, run the following Python code:
import houdini_mcp
houdini_mcp.start_server()
You should see a message confirming that the server has started.
- Make sure the MCP server is running from Claude.
Using with Claude
Once the configuration is set up in Claude, and the Houdini extension is running, you will see a hammer icon with tools for the Houdini MCP.
Available Tools
get_scene_info- Gets information about the current sceneget_object_info- Gets detailed information for a specific objectcreate_object- Create a new object with parametersmodify_object- Modify an existing object’s propertiesdelete_object- Remove an object from the sceneset_material- Apply or create materials for objectsexecute_houdini_code- Run any Python code in Houdinirender_scene- Render the current scene
Example Commands
Here are some examples of what you can ask Claude to do:
- “Create a procedural landscape in Houdini”
- “Add a red sphere to the scene and place it above the grid”
- “Create a box and apply a checkerboard texture to it”
- “Get information about the current Houdini scene”
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"houdini": {
"command": "py",
"args": [
"E:/code/houdini-mcp/houdini_mcp_server.py"
]
}
}
}