
katha-begin/houdini-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
HoudiniMCP は、Houdini を Claude AI に接続し、モデルコンテキストプロトコル (MCP) を介して Claude AI に接続し、Claude が Houdini を直接やり、制御できるようにします.
概要
HoudiniMCP は、Houdini を Claude AI に接続し、モデルコンテキストプロトコル (MCP) を介して Claude AI に接続し、Claude が Houdini を直接やり、制御できるようにします。 このインテグレーションは、迅速な3Dモデリング、シーン作成、シミュレーション設定、レンダリングを可能にします。 - : ソケットベースのサーバーを介してClaude AIをHoudiniに接続 - : Houdiniネットワークでノードを作成、変更、および削除 - : カスタマイズ可能なパラメータでさまざまなプリミティブタイプを生成します - : 素材を適用して変更 - : 現在のHoudiniシーンに関する詳細情報を入手 - : 物理シミュレーションの作成と実行 (fluids、粒子など) - : レンダリング操作の設定と実行 - : Claude から Houdini で任意の Python コードを実行 システムは2つの主要なコンポーネントで構成されます。 1. : Houdini 内のソケットサーバーを作成する Houdini Python 拡張機能で、コマンドを受信して実行します。2: モデルコンテキストプロトコルを実装し、Houdini addon に接続する Python サーバー - Houdini 19.0 または newer - Python 3.
概要(AI 翻訳)
HoudiniMCP は、Houdini を Claude AI に接続し、モデルコンテキストプロトコル (MCP) を介して Claude AI に接続し、Claude が Houdini を直接やり、制御できるようにします。 このインテグレーションは、迅速な3Dモデリング、シーン作成、シミュレーション設定、レンダリングを可能にします。
##特徴
- 双方向通信: Claude AIをHoudiniにソケットベースのサーバーに接続
- ノード操作: Houdiniネットワークでノードを作成、変更、削除
- 幾何学の作成: カスタマイズ可能なパラメータで様々なプリミティブタイプを生成 -材料制御: 素材の適用と変更
- の点検: 現在のHoudiniシーンに関する詳細情報を入手 -シミュレーション設定:物理シミュレーションの作成と実行(fluids、粒子など)
- レンダリング制御: レンダリング操作の設定と実行
- コード実行: Claude から Houdini で任意の Python コードを実行する
コンポーネント
システムは2つの主要なコンポーネントで構成されます。
- Houdini Addon (
addon.py): Houdini 内のソケットサーバーを作成する Houdini Python 拡張機能で、コマンドを受信して実行できます。 - MCP サーバー (`src/houdini mcp/server).
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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, simulation setup, and rendering.
Features
- Two-way communication: Connect Claude AI to Houdini through a socket-based server
- Node manipulation: Create, modify, and delete nodes in Houdini networks
- Geometry creation: Generate various primitive types with customizable parameters
- Material control: Apply and modify materials
- Scene inspection: Get detailed information about the current Houdini scene
- Simulation setup: Create and run physics simulations (fluids, particles, etc.)
- Rendering control: Configure and execute rendering operations
- Code execution: Run arbitrary Python code in Houdini from Claude
Components
The system consists of two main components:
- Houdini Addon (
addon.py): A Houdini Python extension that creates a socket server within Houdini to receive and execute commands - MCP Server (
src/houdini_mcp/server.py): A Python server that implements the Model Context Protocol and connects to the Houdini addon
Installation
Prerequisites
- Houdini 19.0 or newer
- Python 3.10 or newer
- uv package manager:
If you’re on Mac, please install uv as
brew install uv
On Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
and then
set Path=C:\Users\username\.local\bin;%Path%
Otherwise installation instructions are on their website: Install uv
⚠️ Do not proceed before installing UV
Claude for Desktop Integration
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"houdini": {
"command": "uvx",
"args": [
"houdini-mcp"
]
}
}
}
Cursor integration
Run houdini-mcp without installing it permanently through uvx. Go to Cursor Settings > MCP and paste this as a command.
uvx houdini-mcp
⚠️ Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both
Installing the Houdini Addon
- Download the
addon.pyfile from this repo - Copy it to your Houdini Python scripts directory:
- Windows:
C:\Users\username\Documents\houdini19.x\scripts\ - Mac:
/Users/username/Library/Preferences/houdini/19.x/scripts/ - Linux:
~/houdini19.x/scripts/
- Windows:
- Start Houdini and run the following Python code in a Python panel:
import addon server = addon.init_houdinimcp()
Usage
Starting the Connection
- In Houdini, run the Python code to initialize the server:
import addon server = addon.init_houdinimcp()
インストール
uvx houdini-mcp設定
{
"mcpServers": {
"houdini": {
"command": "uvx",
"args": [
"houdini-mcp"
]
}
}
}