← 返回 Skills 市场
loonghao

Dcc Cli Gateway

作者 Hal · GitHub ↗ · v0.17.29 · MIT-0
cross-platform ⚠ suspicious
75
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install dcc-cli-gateway
功能描述
Control live DCC hosts (Maya, Blender, Houdini, Photoshop, 3ds Max, and custom studio tools) through the dcc-mcp-cli command line. For ClawHub, OpenClaw, Cur...
使用说明 (SKILL.md)

DCC CLI Gateway — Agent Control Plane

Use this skill when an agent host can run shell commands and should connect to DCC-MCP through dcc-mcp-cli instead of MCP JSON-RPC. The CLI wraps the gateway REST API and returns JSON by default.

Connection order:

  1. Use dcc-mcp-cli when it is already on PATH.
  2. If missing, ask user permission, then download dcc-mcp-cli from GitHub Releases.
  3. If the download fails, use the bundled Python stdlib REST fallback.

Install via OpenClaw/ClawHub, or point your agent at this SKILL.md after cloning dcc-mcp-core/skills/dcc-cli-gateway/.


Critical Rules

Situation You MUST
Starting any DCC task Run python scripts/dcc_gateway.py health and python scripts/dcc_gateway.py list first
dcc-mcp-cli missing Ask permission before --ensure-cli; fallback Python REST is allowed if download fails
Inventory returns total == 0 Stop; do not run search, describe, or call
Gateway unreachable Stop; explain; ask user permission before troubleshooting
User has not agreed to setup Do not install packages, edit env files, launch GUI apps, or write configs
User approved setup Follow references/ZERO_INSTANCES_CLI.md
After DCC crash/restart Re-run list and search; old slugs may be invalid

Configuration

dcc-mcp-cli and the Python helper read the gateway URL from DCC_MCP_BASE_URL.

export DCC_MCP_BASE_URL="${DCC_MCP_BASE_URL:-http://127.0.0.1:9765}"
dcc-mcp-cli health
python scripts/dcc_gateway.py health

For a one-off command:

python scripts/dcc_gateway.py --base-url http://127.0.0.1:9765 health

Quick probe helper:

python3 scripts/check_cli.py
py -3 scripts\check_cli.py

Flags: --base-url URL, --cli dcc-mcp-cli, --ensure-cli, --install-dir DIR, --pretty.

When the user approves downloading the CLI:

# Linux / macOS
python3 scripts/dcc_gateway.py --ensure-cli list
vx python scripts/dcc_gateway.py --ensure-cli list

# Windows
py -3 scripts\dcc_gateway.py --ensure-cli list
vx python scripts\dcc_gateway.py --ensure-cli list

Release assets are selected by platform:

Platform Asset
Windows x86_64 dcc-mcp-cli-windows-x86_64.exe
Linux x86_64 dcc-mcp-cli-linux-x86_64
macOS Intel/Apple Silicon dcc-mcp-cli-macos-universal2

If Python is not easy to locate, install vx first and run the helper through vx python:

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/loonghao/vx/main/install.sh | bash

# Windows PowerShell
powershell -c "irm https://raw.githubusercontent.com/loonghao/vx/main/install.ps1 | iex"

Step 0 — Mandatory Instance Inventory

Run this every time you begin work or after the user starts/stops a DCC host:

python scripts/dcc_gateway.py health
python scripts/dcc_gateway.py list

Interpret dcc-mcp-cli list:

{
  "total": 1,
  "instances": [
    {
      "instance_id": "full-uuid",
      "instance_short": "a1b2c3d4",
      "dcc_type": "maya",
      "status": "available",
      "stale": false,
      "mcp_url": "http://127.0.0.1:8765/mcp"
    }
  ]
}

Report to the user:

  1. total
  2. Count by dcc_type
  3. Any stale: true rows
  4. The target instance_id or instance_short you will use

If total == 0, stop and ask whether the user wants setup guidance for the target DCC. Continue only after explicit approval.


Step 1 — Search Tools

Only run this when inventory shows at least one non-stale target:

python scripts/dcc_gateway.py search --query sphere --dcc-type maya --limit 20

Copy the returned slug exactly. Gateway slugs look like:

maya.a1b2c3d4.maya_primitives__create_sphere

Never hand-build slugs.


Step 2 — Describe Schema

python scripts/dcc_gateway.py describe maya.a1b2c3d4.maya_primitives__create_sphere

Read tool.inputSchema and safety annotations before calling.


Step 3 — Call a Tool

python scripts/dcc_gateway.py call maya.a1b2c3d4.maya_primitives__create_sphere \
  --json '{"radius":2.0}'

Tool-specific fields (code, file_path, radius, and similar) belong inside the --json object. Do not pass them as top-level CLI flags unless the CLI adds an explicit first-class flag later.

See references/CLI_CHEATSHEET.md for command patterns and common errors.


What This Skill Does Not Use

  • MCP tools/list, tools/call, or resources/read
  • Raw curl workflows except when debugging the gateway itself
  • Direct Maya/Blender/Houdini scripting

The CLI is the preferred agent-facing control plane. The Python fallback uses the same gateway REST endpoints only when the CLI is unavailable after a download attempt fails.

安全使用建议
Review this skill before installing. It is designed to control local DCC applications and may install helper tooling, so only use it if you trust the publisher and the DCC-MCP gateway. Do not let an agent run the vx or CLI installer commands automatically; download installers separately, inspect them, and verify release source and checksums/signatures where available.
能力评估
Purpose & Capability
The artifacts consistently describe a DCC-MCP CLI gateway for checking health, listing DCC instances, searching/describing tools, and invoking DCC tools through a local gateway. That capability is high impact because it can control live creative applications, but it is purpose-aligned and mostly disclosed.
Instruction Scope
The skill repeatedly requires user consent before setup or CLI download, but it also provides direct pipe-to-shell and PowerShell iex installer commands without adjacent integrity verification or safety warnings.
Install Mechanism
The helper can download a latest GitHub release executable into a local bin directory, and the docs include raw GitHub installer execution for vx. These are setup-related, but mutable remote downloads without checksums/signatures are under-scoped for a shell-capable agent skill.
Credentials
Bash, local HTTP access to the DCC-MCP gateway, and optional GitHub downloads fit the stated purpose. The skill does not show credential harvesting, broad local indexing, or unrelated network flows.
Persistence & Privilege
Persistence appears limited to installing helper executables or DCC packages after user-approved setup; no background daemon, startup registration, privilege escalation, or hidden persistence was found in the artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dcc-cli-gateway
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dcc-cli-gateway 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.17.29
- Bump version to 0.17.29. - Updated internal metadata field `dcc-mcp.version` from "0.17.28" to "0.17.29" in SKILL.md.
v0.17.28
- Improved gateway connection logic: uses dcc-mcp-cli if available, attempts download with user consent if missing, and falls back to Python stdlib REST if needed. - Updated documentation for setup workflow, mandatory gateway health checks, tool searching, describing, and calling. - Added detailed rules for safe operation, user approval requirements, and error handling. - Clarified configuration and platform-specific CLI asset download instructions. - Expanded usage examples, troubleshooting steps, and documentation links.
元数据
Slug dcc-cli-gateway
版本 0.17.29
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Dcc Cli Gateway 是什么?

Control live DCC hosts (Maya, Blender, Houdini, Photoshop, 3ds Max, and custom studio tools) through the dcc-mcp-cli command line. For ClawHub, OpenClaw, Cur... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 75 次。

如何安装 Dcc Cli Gateway?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dcc-cli-gateway」即可一键安装,无需额外配置。

Dcc Cli Gateway 是免费的吗?

是的,Dcc Cli Gateway 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dcc Cli Gateway 支持哪些平台?

Dcc Cli Gateway 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dcc Cli Gateway?

由 Hal(@loonghao)开发并维护,当前版本 v0.17.29。

💬 留言讨论