HoudiniMCP

HoudiniMCP

Connects Claude AI to Houdini through the Model Context Protocol, enabling direct interaction and control for 3D modeling, scene creation, simulation, and rendering.

Category
访问服务器

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()
    
  2. Verify that you see a message: "HoudiniMCP server started on localhost:9877"

  3. Make sure the MCP server is running in your terminal

Using with Claude

Once the config file has been set on Claude, and the addon is running on Houdini, you will see a hammer icon with tools for the Houdini MCP.

Tools

  • get_scene_info - Gets scene information
  • get_node_info - Gets detailed information for a specific node in the scene
  • create_node - Create a new node with detailed parameters
  • create_geometry - Create basic primitive geometry with customizable parameters
  • modify_node - Modify an existing node's properties
  • delete_node - Remove a node from the scene
  • set_parameter - Set a single parameter of a node
  • connect_nodes - Connect two nodes together
  • set_material - Apply or create materials for objects
  • create_camera - Create a camera with positioning options
  • create_light - Create a light with customizable type and parameters
  • create_simulation - Set up a simulation network for physics
  • run_simulation - Execute a simulation for a specified frame range
  • render_scene - Render the current scene with configurable options
  • export_fbx - Export a node to FBX format
  • execute_houdini_code - Run any Python code in Houdini

Example Commands

Here are some examples of what you can ask Claude to do:

  • "Create a procedural landscape with mountains and a river"
  • "Set up a fluid simulation with a box emitter"
  • "Create a sphere and apply a red material to it"
  • "Modify the camera to have a wide-angle lens"
  • "Get information about the current scene network"
  • "Export the selected object as an FBX file"
  • "Create a particle system with gravity and collision"

Troubleshooting

  • Connection issues: Make sure the Houdini addon server is running, and the MCP server is configured on Claude.
  • Timeout errors: Try simplifying your requests or breaking them into smaller steps.
  • Have you tried turning it off and on again?: If you're still having connection errors, try restarting both Claude and the Houdini server.

Technical Details

Communication Protocol

The system uses a simple JSON-based protocol over TCP sockets:

  • Commands are sent as JSON objects with a type and optional params
  • Responses are JSON objects with a status and result or message

Limitations & Security Considerations

  • The execute_houdini_code tool allows running arbitrary Python code in Houdini, which can be powerful but potentially dangerous. Use with caution in production environments. ALWAYS save your work before using it.
  • Complex operations might need to be broken down into smaller steps.
  • Houdini's node-based system is powerful but complex - some operations may require multiple steps to achieve the desired result.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Disclaimer

This is a third-party integration and not made by SideFX.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选