KB

katha-begin/houdini-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

20 stars 4 forks Качество 56 Тренд 0

HoudiniMCP соединяет Houdini с Claude AI через протокол Model Context Protocol (MCP), позволяя Claude напрямую взаимодействовать и управлять Houdini.

Обзор

HoudiniMCP соединяет Houdini с Claude AI через протокол Model Context Protocol (MCP), позволяя Claude напрямую взаимодействовать и управлять Houdini. Эта интеграция обеспечивает быстрое 3D-моделирование, создание сцены, настройку моделирования и рендеринг. Подключите Claude AI к Houdini через сервер на основе сокетов: Создавайте, модифицируйте и удаляйте узлы в сетях Houdini - : Генерируйте различные примитивные типы с настраиваемыми параметрами - : Применяйте и модифицируйте материалы - : Получите подробную информацию о текущей сцене Houdini - : Создавайте и запускайте физические симуляции (жидкости, частицы и т. Д.) - : Настройка и выполнение операций рендеринга: Запуск произвольного кода Python в Houdini от Claude Система состоит из двух основных компонентов: 1. : Расширение Houdini Python, которое создает сервер сокетов внутри Houdini для приема и выполнения команд 2. : Сервер Python, который реализует протокол Model Context и подключается к аддону Houdini Houdini 19.0 или новее - Python 3.

Обзор (машинный перевод)

HoudiniMCP соединяет Houdini с Claude AI через протокол Model Context Protocol (MCP), позволяя Claude напрямую взаимодействовать и управлять Houdini. Эта интеграция обеспечивает быстрое 3D-моделирование, создание сцены, настройку моделирования и рендеринг.

Особенности

  • ** Двухстороннее сообщение**: Подключите Claude AI к Houdini через сервер на основе сокетов ** Манипуляция узлами** Создание, изменение и удаление узлов в сетях Houdini
  • ** Создание геометрии**: Создание различных примитивных типов с настраиваемыми параметрами -Материальный контроль: Применять и изменять материалы -** Сценическая проверка**: Получите подробную информацию о текущей сцене Гудини ** Настройка моделирования**: создание и запуск физических симуляций (жидкости, частицы и т.д.) -Осуществление контроля: Настройка и выполнение операций рендеринга Исполнение кода: Запустите произвольный код Python в Houdini от Claude

Компоненты

Система состоит из двух основных компонентов:

  1. ** Гудини Аддон (addon.py)**: Расширение Houdini Python, которое создает сервер сокетов внутри Houdini для приема и выполнения команд.
  2. **MCP Server (`src/houdini mcp/server).

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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:

  1. Houdini Addon (addon.py): A Houdini Python extension that creates a socket server within Houdini to receive and execute commands
  2. 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

  1. Download the addon.py file from this repo
  2. 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/
  3. Start Houdini and run the following Python code in a Python panel:
    import addon
    server = addon.init_houdinimcp()
    

Usage

Starting the Connection

  1. In Houdini, run the Python code to initialize the server:
    import addon
    server = addon.init_houdinimcp()
    
Открыть полный README на GitHub

Установка

uvx houdini-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "houdini": { "command": "uvx", "args": [ "houdini-mcp" ] } } }