Skip to main content

SideFX Houdini adapter for the DCC Model Context Protocol (MCP) ecosystem — exposes Houdini tools via MCP

Project description

dcc-mcp-houdini

CI E2E Release PyPI Python Downloads License Release Assets

SideFX Houdini adapter for the DCC Model Context Protocol (MCP) ecosystem. It embeds a Streamable HTTP MCP server inside Houdini/hython and exposes skills-first Houdini automation tools to agents.

Features

  • Embedded MCP Streamable HTTP server inside Houdini
  • Auto-gateway with first-wins port competition (port 8765)
  • Progressive skill loading (discover → load → unload)
  • Houdini Python (hython) and interactive UI-thread dispatch
  • Python 3.7+ package metadata for older Houdini runtimes
  • Bundled skills for scripting, scene inspection, node authoring, HDA execution, and automation
  • Wheel, sdist, and Houdini quickinstall ZIP release assets
  • Prometheus metrics endpoint (/metrics), job persistence, and workflow engine support
  • Optional licensed Houdini Docker E2E workflow

Agent install (recommended)

Let your AI agent do the setup. In an MCP-capable agent (Cursor, Claude, etc.), just say:

帮我参考 loonghao/dcc-mcp-houdini/install.md 去安装

The agent reads install.md, runs the dcc-mcp-houdini-setup skill to install dependencies into Houdini's hython, generates an MCP host config, guides the Houdini package / 123.py autostart step, and runs a smoke prompt to confirm the connection.

Installation

Release Wheel

pip install dcc-mcp-houdini

For an unreleased GitHub asset, install a release wheel directly:

pip install https://github.com/loonghao/dcc-mcp-houdini/releases/download/v0.1.0/dcc_mcp_houdini-0.1.0-py3-none-any.whl

Houdini Quickinstall ZIP

Download dcc_mcp_houdini_quickinstall_<platform>_v<version>.zip from GitHub Releases, extract it to a stable folder, then run:

powershell -ExecutionPolicy Bypass -File install.ps1 -HoudiniVersion 20.5

On Linux/macOS:

chmod +x install.sh
./install.sh 20.5

The package writes a Houdini package JSON into the user preferences folder. On startup, scripts/123.py extracts bundled wheels into vendor/ and starts the MCP server unless DCC_MCP_HOUDINI_AUTOSTART=0.

Usage

import dcc_mcp_houdini

server = dcc_mcp_houdini.start_server()
print(server.mcp_url)  # http://127.0.0.1:8765/mcp

Default minimal mode (DCC_MCP_MINIMAL=1) loads only:

  • houdini-scripting
  • houdini-scene

Use progressive discovery for heavier tools:

search_skills(query="hda")
load_skill("houdini-hda")
call houdini_hda__execute_hda

Local MCP debug (Cursor / Claude)

See docs/guide/local-mcp-debug.md and copy examples/mcp/cursor-houdini-streamable-http.json into your MCP host config.

Development

# Install dependencies
just dev

# Run tests
just test

# Lint
just lint-all

# Windows: build dcc-mcp-core with Houdini's Python and symlink
just houdini-version=20.5 houdini-dev-build-link-core-win

# Windows: start Houdini with debugpy
just houdini-version=20.5 houdini-dev-debug-win

# Build wheel + platform quickinstall package
just build-houdini-package platform=win64

Release Publishing

The Release workflow publishes to PyPI when release-please creates a new release. To backfill an existing GitHub release tag, run the Release workflow manually with tag_name=vX.Y.Z and publish_to_pypi=true. Publishing uses PyPI trusted publishing when configured, or PYPI_API_TOKEN when that secret is available.

Bundled Skills (20 packages, ~70+ tools)

Full authoritative index with ready-made task chains: src/dcc_mcp_houdini/skills/SKILLS_INDEX.md

bootstrap (default loaded)

Skill Tools
houdini-scripting execute_python, get_session_info

scene (partial default — houdini-scene only)

Skill Tools Load
houdini-scene get_scene_info, list_obj_nodes, list_child_nodes, get_node_info default
houdini-scene-edit new_scene, open_scene, save_scene, get_selection, set_selection, find_nodes, list_cameras, get_bounding_box on demand

authoring (load on demand)

Skill Tools
houdini-nodes create_node, set_node_parms, connect_nodes, cook_node, layout_children, delete_node
houdini-object-ops rename_node, duplicate_node, parent_node, set_node_flags, set_node_lock, get_transform, set_transform
houdini-parameters list_parms, get_parms, get_parm_templates, get_expression, set_parms, add_spare_parm, remove_spare_parm, set_expression, clear_expression
houdini-node-graph get_connections, connect_input, disconnect_input
houdini-geometry create_primitive, get_geometry_info, list_attributes, list_groups, get_cook_status
houdini-mesh-ops transform_geometry, merge_geometry, blast_geometry, group_geometry, add_normals, triangulate_geometry, convert_geometry
houdini-camera-light list_cameras, create_camera, update_camera, frame_view, get_view_state, create_light, update_light
houdini-materials create_material, assign_material
houdini-lookdev list_materials, list_assignments, get_material_parms, set_material_parms, get_shader_connections, connect_shader, disconnect_shader, reset_material, save_preset, list_presets, load_preset, delete_preset
houdini-hda install_hda_file, list_hda_definitions, execute_hda, save_node_as_hda

interchange (load on demand)

Skill Tools
houdini-interchange probe_file, import_geometry, export_geometry, export_alembic, export_fbx, export_usd

pipeline (load on demand)

Skill Tools
houdini-render capture_viewport, flipbook, get_render_settings, set_render_settings, render_rop
houdini-animation get_timeline, set_timeline, set_keyframe, get_keyframes, delete_keyframes, list_animated_parms, get_channel_info, export_channels, import_channels, bake_channels, cache_simulation
houdini-hda-automation scan_hda_libraries, inspect_hda_definition, instantiate_hda, validate_hda, cook_top_network, execute_rop_chain
houdini-pipeline set_project, get_project, tag_asset_metadata, get_asset_metadata, validate_scene, collect_dependencies, export_shot_package
houdini-dev attach_project, reload_modules, run_entrypoint, run_script, start_debugpy, introspect_hom, ui_snapshot, ui_action
houdini-automation run_python_file, set_frame_range, save_hip_file, load_hip_file, build_node_chain

CI and Houdini Docker

Normal CI runs without Houdini installed: unit tests, skill validation, Python 3.7 syntax checks, wheel/sdist build, and quickinstall ZIP assembly.

Live Houdini E2E is in .github/workflows/e2e.yml. It defaults to sabjorn/hbuild-worker:21.0.559-base and runs only when SideFX licensing secrets are configured. See docs/ci/houdini-docker.md.

Project Structure

dcc-mcp-houdini/
├── src/dcc_mcp_houdini/        # Python package and bundled skills
├── packaging/                  # Quickinstall ZIP assembly
├── tests/                      # Unit and packaging tests
├── tools/                      # Dev, lint, and syntax scripts
├── examples/                   # Usage examples
├── docs/                       # Guides and CI notes
├── justfile                    # Task runner
└── pyproject.toml              # Build config

Requirements

  • Houdini with Python 3.7+ (hython or interactive Houdini)
  • dcc-mcp-core >= 0.18.9
  • See pyproject.toml for full dependencies

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcc_mcp_houdini-0.6.0.tar.gz (209.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcc_mcp_houdini-0.6.0-py3-none-any.whl (317.9 kB view details)

Uploaded Python 3

File details

Details for the file dcc_mcp_houdini-0.6.0.tar.gz.

File metadata

  • Download URL: dcc_mcp_houdini-0.6.0.tar.gz
  • Upload date:
  • Size: 209.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dcc_mcp_houdini-0.6.0.tar.gz
Algorithm Hash digest
SHA256 bbc63a3e121bd4d4f72c42536561c257002bdf3f364bfa2ac79d72c7fc83bb45
MD5 4dc5807766b0c21ad585064c7634891b
BLAKE2b-256 0429ae6e9b57c8d37b0661ce39ad8f487ae5c12c782510901887c947616b21d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_houdini-0.6.0.tar.gz:

Publisher: release.yml on dcc-mcp/dcc-mcp-houdini

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dcc_mcp_houdini-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: dcc_mcp_houdini-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 317.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dcc_mcp_houdini-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95ac857ab75838a51c9304a4635af273f36702c31c756dc075f7201e339bf9bf
MD5 eeb415c675a1928b2368771bd6bafdc3
BLAKE2b-256 a3574a9a45ca56a7d60f4b70320954ffc0163a780dc118c1f947d42f6fb88a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_houdini-0.6.0-py3-none-any.whl:

Publisher: release.yml on dcc-mcp/dcc-mcp-houdini

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page