Getting Started
For a compatible MCP client, Skills over MCP explains how to discover and read Agent Skills from a DCC instance over MCP 2026-07-28. Use dccmcp with the public dcc-mcp Skill to operate live DCCs from a shell or keep an existing CLI integration running.
Installation
Public Agent Skills
Install the Skill that matches the agent's task. Cloning this repository is not required:
| Task | Skill |
|---|---|
| Operate a live DCC, discover tools, or search the Marketplace | @loonghao/dcc-mcp |
| Create or modernize a complete DCC-MCP adapter/runtime | @loonghao/dcc-mcp-creator |
| Create, validate, or improve a DCC-specific Skill package | @loonghao/dcc-mcp-skills-creator |
# OpenClaw workspace: default live-DCC control Skill
openclaw skills install @loonghao/dcc-mcp
# Direct ClawHub CLI
npx --yes clawhub@0.23.1 install @loonghao/dcc-mcpThis installs the standalone dccmcp control-plane binary and its dcc-mcp-cli compatibility alias from the latest GitHub Release. Pin a release with DCC_MCP_VERSION=v0.21.2.
For agents, obtain user consent before installing or downloading a new binary. The bundled helper is fixed to the official dcc-mcp/dcc-mcp-cli release. It validates the platform update manifest and CLI SHA-256 before replacing the binary, and fails closed on an invalid URL, manifest, digest, or download. SHA-256 verifies that the binary matches the release manifest. This helper is the bootstrap trust boundary; installed gateway-driven updates additionally verify the release workflow's detached Sigstore provenance.
Without the Skill, download the official installer to a local file, inspect it, and only then execute that file:
curl -fL https://raw.githubusercontent.com/dcc-mcp/dcc-mcp-cli/main/scripts/install-cli.sh -o install-cli.sh
cat install-cli.sh
# After reviewing the file:
sh ./install-cli.shInvoke-WebRequest https://raw.githubusercontent.com/dcc-mcp/dcc-mcp-cli/main/scripts/install-cli.ps1 -OutFile .\install-cli.ps1
Get-Content -Raw .\install-cli.ps1
# After reviewing the file and subject to the current execution policy:
& .\install-cli.ps1The installer uses the same fixed official source, manifest, and SHA-256 checks as the bundled helper. Never pipe it directly into a shell or bypass the machine's script execution policy.
Pin a release with sh ./install-cli.sh --version v0.21.2 or & .\install-cli.ps1 -Version v0.21.2.
Keep an official installation current with:
dccmcp update check
dccmcp update applyOfficial release builds refresh their cached update status in a detached background process at most once per 24 hours. Failed checks retry after one hour and never block the foreground command. When cli_update.version_status is update_available, agents should show the current/latest versions; the reported update_policy.apply_command is dccmcp update, which checks, downloads, and stages the update in one step with no separate confirmation flag. dccmcp update requires the release-manifest SHA-256, verifies the downloaded CLI, and stages it for the next launch. Replacement re-verifies the staged bytes and restarts the CLI with the same arguments. It does not replace or restart a running dcc-mcp-server; update that server in its own environment. Set DCC_MCP_DISABLE_UPDATE_CHECK=1 to disable passive checks.
The CLI is also available as standalone ZIP archives (dccmcp-<version>-<platform>.zip and the compatibility dcc-mcp-cli-<version>-<platform>.zip) from each CLI GitHub Release. On macOS, install the maintained formula with brew tap dcc-mcp/tap && brew install dccmcp.
MCP Registry
The official MCP Registry provides versioned server metadata for discovery. It is not a hosted DCC gateway or a universal one-click installer. Our entry is io.github.dcc-mcp/dcc-mcp-core; its latest published metadata points to the dcc-mcp-server package, not the Python SDK dcc-mcp-core.
For agent-driven DCC work, start with the recommended public dcc-mcp Skill and its CLI setup above. For a standard MCP client, use this local Streamable HTTP path instead:
Review the selected release and obtain consent before downloading/installing. With uv installed, run the pinned server in an isolated tool environment on the DCC workstation:
bashuvx --from "dcc-mcp-server==0.20.47" dcc-mcp-server gateway --host 127.0.0.1 --port 9765 --remote-port 0 --gateway-persistKeep this foreground process running.
gatewayselects the gateway mode;--remote-port 0disables the secondary listener, and--gateway-persistprevents idle exit while no DCC is registered. This package does not installdccmcpor a DCC adapter. The pinned release needs a matching platform wheel; do not silently substitute an unreviewed version. If port 9765 is occupied, inspect the existing gateway before reusing it, or select an unused--portand update the client URL accordingly.In a client that supports Streamable HTTP, configure the MCP URL as
http://127.0.0.1:9765/mcp. Follow that client's HTTP configuration format, not a stdio command template. Neither the Registry website nor its JSON API is an MCP endpoint. The client connection must run on, or have an approved route to, the gateway's workstation; a cloud service's127.0.0.1is not your computer. Keep the gateway on loopback. Do not expose it directly to the public internet or assume registration-token support protects every route. Keep any credentials in supported local secret storage, never chat or Git.Verify each layer separately:
GET http://127.0.0.1:9765/healthchecks gateway liveness only.- Through the MCP client, complete
initialize→notifications/initialized→tools/list, followingnextCursorwhen present. Version 0.20.47 exposessearch,describe,load_skill, andcall; backend tools are not all flattened into this list. - Read
gateway://instanceswithresources/read, or inspectGET http://127.0.0.1:9765/v1/instances, to confirm the intended DCC instance is registered. An empty inventory is not a Registry installation failure. - Inspect
GET http://127.0.0.1:9765/v1/readyz, includingready_instance_countand the target instance's readiness/dispatch state. HTTP 200 or gatewayok: truealone does not prove a DCC is ready.
Install and enable the appropriate adapter in the target DCC using the adapter installation lifecycle, then verify that instance and perform one narrow capability search, following its returned next_step. Discovering the Registry entry or listing gateway tools does not install, launch, or validate Maya, Blender, or another host.
From PyPI
pip install dcc-mcp-coreFrom Source (requires Rust toolchain)
git clone https://github.com/dcc-mcp/dcc-mcp-core.git
cd dcc-mcp-core
pip install -e .TIP
Building from source requires the Rust toolchain. Install it from rustup.rs. The build is handled by maturin which compiles the Rust core and installs the Python package.
Requirements
- Python: 3.7–3.14. Native CPython 3.7 wheels are gated on Linux and Windows;
py37-liteprovides a sidecar fallback on other platforms. Python 3.8+ usesabi3-py38— see Python 3.7 LTS Policy. - Rust: >= 1.95 (for building from source)
- License: MIT
- Python Dependencies: Zero — everything is in the compiled Rust extension
Optional media runtime: FFmpeg and FFprobe
The media skill requires external FFmpeg and FFprobe executables for probing, audio/video transcoding, thumbnails, and frame extraction. Core does not bundle these binaries or add them to its Python runtime dependencies. The Core package remains MIT-licensed; FFmpeg's license depends on the selected build and enabled components (LGPL or GPL). Review the distributor's license and build configuration before redistribution.
Media tools select already-installed FFmpeg in this order:
DCC_MCP_MEDIA_FFMPEG_BIN: an explicit absolute executable path.- An existing FFmpeg installation in the local vx store, rooted at
VX_HOMEor~/.vxby default. ffmpegon the server process's systemPATHwhen no vx installation is available.
The vx lookup supports the vx 0.9.37 provider layouts under <vx-root>/store/ffmpeg/<version>, selects the highest numeric stable version, and is bounded to 128 entries. An unreadable or larger store is treated as unavailable and discovery continues to PATH. It does not read vx.toml or vx.lock, select preview/custom versions, or require a vx launcher to be installed. Use the explicit executable overrides to pin a version or use another layout.
Discovery inspects local files; it does not run a vx launcher, install a runtime, or download anything. Only native ELF, PE, or Mach-O executables are accepted; scripts and known vx shim directories are rejected. Native wrappers cannot be identified reliably from their file headers. An invalid explicit override fails rather than silently using another installation. FFprobe defaults to the sibling of the resolved FFmpeg executable. Set DCC_MCP_MEDIA_FFPROBE_BIN to an absolute executable path when the matching probe is elsewhere. The pair must come from the same release/build; an unrelated ffprobe on PATH is not a fallback.
Set overrides in the environment of the process that runs the media tools, before starting the DCC-MCP server. They name executables, not shell commands or extra arguments. Paths containing spaces are supported:
export DCC_MCP_MEDIA_FFMPEG_BIN="/opt/media tools/ffmpeg/bin/ffmpeg"
export DCC_MCP_MEDIA_FFPROBE_BIN="/opt/media tools/ffmpeg/bin/ffprobe"$env:DCC_MCP_MEDIA_FFMPEG_BIN = 'C:\Media Tools\ffmpeg\bin\ffmpeg.exe'
$env:DCC_MCP_MEDIA_FFPROBE_BIN = 'C:\Media Tools\ffmpeg\bin\ffprobe.exe'Replace these example paths with the installed binaries. The legacy DCC_MCP_MEDIA_VX_BIN and DCC_MCP_MEDIA_AUTO_INSTALL_VX settings no longer control media execution. Migrate a pinned launcher configuration to the executable overrides above; setting an auto-install flag does not enable downloads.
Prepare once, preflight before expensive work
Ask the user before installing or downloading dependencies. In an approved online preparation step, use an already-installed vx to install a pinned FFmpeg release, or use the operating system's package manager:
# Only after the user approves dependency installation:
vx install ffmpeg@8.1Obtain FFmpeg and FFprobe together from the approved distribution. If vx itself must be installed, review its official installer as a local file before execution; never pipe a remote installer into a shell. For offline render workers, preinstall the approved binaries and their required shared libraries before disconnecting, then configure the server's environment. Runtime tools never bootstrap missing dependencies, even for operations that write media.
Agents should perform this preflight before rendering or scheduling a large batch:
- Discover the media runtime-check capability through the normal Skill/tool search flow. Follow the returned
next_stepto load the Skill or describe the tool as required, and use the returned tool slug rather than inventing CLI syntax. - Call the typed, read-only
media__check_runtime. Its optionalrequired_encodersarray defaults topcm_s16le,libvorbis, andpcm_f32le; select the encoders needed by the intended workflow. Itstimeout_secsis bounded to 60 seconds. The check inspects installed binaries and capabilities without creating a media output or installing anything. - Review the selected source, absolute executable paths, versions, SHA-256 hashes, and required encoder availability in the result. Preserve that evidence with the job; paths and hashes identify the bytes used, not an independent supply-chain attestation. Missing dependencies, mismatched builds, or unavailable encoders must be resolved before production work, not bypassed by silently changing codecs or downloading a replacement.
The resolver itself starts no package manager or network request. Preflight does execute the selected local binaries to inspect their versions and capabilities; they remain operator-trusted code, not a sandboxed guarantee against arbitrary binary behavior.
For verified audio-only output, use media__transcode_audio: WAV requires pcm_s16le, OGG requires libvorbis, and full-decode verification also needs pcm_f32le. Availability alone is not a native codec-quality or playback qualification. See the media Skill for its preservation, validation, staging, and cancellation guarantees.
Quick Start
Operate a live DCC from an agent
With dcc-mcp loaded, use the CLI as the structured control path:
dccmcp dcc-types
dccmcp list
dccmcp search --query "create sphere" --dcc-type maya
dccmcp describe <tool-slug>
dccmcp call <tool-slug> --json '{"radius":2.0}'Use the slug returned by search; never construct it. If list returns zero instances, follow the Skill's consent-gated setup flow instead of switching to raw DCC scripting or generic GUI automation.
Skills-First: create_skill_server (recommended)
The fastest way to expose scripts as MCP tools. Create a SKILL.md in your script folder, then use create_skill_server to wire everything in one call:
import os
from dcc_mcp_core import create_skill_server, McpHttpConfig
# Point to your skill directories (per-app env var)
os.environ["DCC_MCP_MAYA_SKILL_PATHS"] = "/path/to/my-skills"
# One call: discover skills + start MCP HTTP server
server = create_skill_server("maya", McpHttpConfig())
handle = server.start()
print(f"Maya MCP server at {handle.mcp_url()}")
# The CLI and gateway discover this resolved URL through the shared registry.The local instance port is OS-assigned by default. Pass port=<number> only when an integration explicitly requires a fixed listener.
Or use SkillCatalog directly for more control:
import os
from dcc_mcp_core import SkillCatalog, ToolRegistry
os.environ["DCC_MCP_SKILL_PATHS"] = "/path/to/my-skills"
registry = ToolRegistry()
catalog = SkillCatalog(registry)
discovered = catalog.discover(dcc_name="maya")
print(f"Discovered {discovered} skills")
# Load a skill and inspect the registered tool names
tool_names = catalog.load_skill("maya-geometry")
print(tool_names)See the Skills System guide for writing SKILL.md files and advanced options.
Writing a Minimal SKILL.md
Create a skill in three steps:
# 1. Create the skill directory structure
mkdir -p my-skill/scripts
# 2. Write SKILL.md (agentskills.io top-level fields + metadata.dcc-mcp pointers)
cat > my-skill/SKILL.md << 'EOF'
---
name: my-skill
description: "Does something useful in Maya. Use when user asks to do X."
metadata:
dcc-mcp:
dcc: maya
version: "1.0.0"
search-hint: "keyword1, keyword2, related task"
tools: tools.yaml
---
# My Skill
Instructions for the AI agent on how to use this skill.
EOF
# 3. Declare tools in a sibling file
cat > my-skill/tools.yaml << 'EOF'
tools:
- name: do_thing
description: Do a useful Maya task.
source_file: scripts/do_thing.py
EOF
# 4. Add a script
cat > my-skill/scripts/do_thing.py << 'EOF'
import sys, json
def main():
params = json.loads(sys.stdin.read())
# ... do work ...
print(json.dumps({"success": True, "message": "Done"}))
if __name__ == "__main__":
main()
EOFThen set DCC_MCP_SKILL_PATHS to the parent directory and use create_skill_server or SkillCatalog.discover().
Tool Registry
from dcc_mcp_core import ToolRegistry
registry = ToolRegistry()
registry.register(
name="create_sphere",
description="Creates a sphere in the scene",
category="geometry",
tags=["geometry", "creation"],
dcc="maya",
)
tool = registry.get_action("create_sphere")
print(tool) # dict with tool metadata
maya_tools = registry.list_actions(dcc_name="maya")Action → Tool terminology
In v0.13+, the project renamed "action" → "tool" at the conceptual level. However, some Rust API method names (get_action, list_actions, search_actions) still use "action" for backward compatibility. These are not bugs — they are compatibility aliases.
Tool Results
from dcc_mcp_core import success_result, error_result
result = success_result("Created 5 spheres", prompt="Use modify next", count=5)
print(result.success) # True
print(result.message) # "Created 5 spheres"
print(result.context) # {"count": 5}
err = error_result("Failed", "file_not_found", prompt="Check path")
print(err.success) # FalseEvent Bus
from dcc_mcp_core import EventBus
bus = EventBus()
sid = bus.subscribe("scene.changed", lambda: print("Scene updated!"))
bus.publish("scene.changed")
bus.unsubscribe("scene.changed", sid)MCP HTTP Server
Expose your registry to AI clients (Claude Desktop, etc.) over HTTP in one call:
from dcc_mcp_core import ToolRegistry, McpHttpServer, McpHttpConfig
registry = ToolRegistry()
# ... register tools or load skills ...
config = McpHttpConfig(port=8765)
server = McpHttpServer(registry, config)
handle = server.start()
print(f"MCP server running at {handle.mcp_url()}")
# handle.shutdown() to shut downJob lifecycle notifications
Core background jobs can emit these notifications when the transport has a bound publisher and subscribed session (issue #326):
notifications/progress— uses the job's valid_meta.progressTokenwhen progress publishing is available.notifications/$/dcc.jobUpdated— fires on every status transition whileMcpHttpConfig.enable_job_notificationsisTrue(default).notifications/$/dcc.workflowUpdated— emitted by the workflow executor (#348).
Disable the $/dcc.* channels with cfg.enable_job_notifications = False. MCP progress notifications are optional, not spec-mandated. Core's valid-token async admission is its own policy; timeout hints alone do not request a job. Follow a returned job_id with jobs_get_status to its terminal result rather than replaying the call if SSE is absent. See job admission and compatibility.
Instance-Bound Diagnostics
When multiple DCC instances run side-by-side (two Maya processes, Maya + Blender, etc.), each adapter server should be bound to its own DCC process so diagnostics (screenshot, audit log, metrics) target the right window and PID.
DccServerBase accepts three optional instance-binding kwargs and exposes four dcc_diagnostics__* MCP tools:
from dcc_mcp_core import DccServerBase
class MayaServer(DccServerBase):
def __init__(self, pid: int, window_title: str):
super().__init__(
dcc_name="maya",
builtin_skills_dir=None,
dcc_pid=pid, # owner DCC PID
dcc_window_title=window_title, # fallback match when PID lookup fails
# dcc_window_handle=0x00A1B2, # or pass an HWND directly
)
server = MayaServer(pid=12345, window_title="Autodesk Maya 2024")
handle = server.start() # exposes dcc_diagnostics__screenshot / audit_log /
# tool_metrics / process_status tools bound to
# this Maya instance onlyIf the PID can change at runtime, consult your adapter for how it refreshes diagnostics bindings; dcc_pid on :class:DccServerOptions is resolved at construction time.
from pathlib import Path
from dcc_mcp_core import DccServerBase
from dcc_mcp_core.server import DccServerOptions
skills_dir = Path(__file__).parent / "skills"
opts = DccServerOptions.from_env("maya", skills_dir, dcc_pid=12345)
server = DccServerBase(opts)For low-level servers built around McpHttpServer directly, call register_diagnostic_mcp_tools(server, dcc_name=..., dcc_pid=...) beforeserver.start() — per the "register all actions before start" rule.
Every DccServerBase owns one DiagnosticRuntimeState, available as server.diagnostic_state. If standalone code registers both MCP and IPC diagnostics, create one state and pass it as diagnostic_state= to both registration helpers so two DCC servers in one process never share recorder, capturer, dispatcher, or instance-context caches.
The base server also exposes instance-owned feedback_store, script_execution_context, and checkpoint_store. Its shared feedback registration forwards dcc_feedback__report to gateway /v1/feedback and only mirrors accepted receipts; adapters must not replace it with host-specific handlers. Pass the other components through the corresponding Core helper parameters for persistent script execution or checkpoint tools.
Development Setup
git clone https://github.com/dcc-mcp/dcc-mcp-core.git
cd dcc-mcp-core
# Install with vx (recommended)
vx just install
# Or manual setup
pip install maturin
maturin developRunning Tests
vx just test
vx just lintNext Steps
- Learn about Tools & Registry — the tool registration layer
- Explore Events & Telemetry for lifecycle hooks and lightweight execution metrics
- Check out the Skills System for zero-code script registration
- Expose tools with MCP HTTP Server
- See the Transport Layer for DCC communication
- Understand the Architecture of the 38-member Rust workspace
- Learn Skill Scopes & Policies for trust-based skill management
- Validate tool names with Naming Rules
Troubleshooting
Build/Import Errors
# Symbol in __init__.py but ImportError → rebuild the dev wheel
vx just dev
# Verify import works
python -c "import dcc_mcp_core; print(hasattr(dcc_mcp_core, 'MyNewSymbol'))"
# Verbose cargo build to catch errors
cargo build --workspace --features python-bindings 2>&1 | grep -E "error|warning" | head -30Common Mistakes
| Problem | Solution |
|---|---|
scan_and_load returns wrong results | Always unpack: skills, skipped = scan_and_load(...) — it returns a 2-tuple |
success_result context is empty | Pass kwargs directly: success_result("msg", count=5) — NOT context={"count":5} |
ToolDispatcher.call() not found | Use .dispatch(name, json_str) — there is no .call() method |
McpHttpServer tools not appearing | Register all tools BEFORE server.start() — the server reads the registry at startup |
SkillPolicy ImportError | SkillScope is exported for Python introspection; policy checks still belong on SkillMetadata methods and metadata.dcc-mcp.* policy keys |
| Main-thread dispatch confusion | Prefer HostExecutionBridge / InProcessCallableDispatcher via DccServerOptions; use low-level DeferredExecutor only with /guide/dcc-thread-safety |
| Skill scripts not discovered | Check DCC_MCP_SKILL_PATHS env var and dcc: field in SKILL.md matches your filter |
ToolMeta AttributeError | Rust-only type. Use ToolRegistry.set_tool_enabled() and list_tools_in_group() instead |
AI Agent Best Practices
When building tools for AI agents to consume:
- Design around user workflows, not raw API calls. A tool called
create_characteris better than three separate calls tocreate_joint,bind_skin,apply_animation. - Use
ToolAnnotationsto signal safety properties —read_only_hint=True,destructive_hint=False,idempotent_hint=True— so AI clients make informed choices. - Return stable error codes via
error_result("human-readable message", "machine_code"), put structured diagnostics in_meta, and provide actionable suggestions inprompt. - Use
next-toolsinside siblingtools.yamldeclarations to guide AI agents to follow-up tools (e.g.on-failure: [dcc_diagnostics__screenshot]). - Keep
tools/listsmall by using tool groups withdefault_active=falsefor power-user features. Agents activate groups on demand. - Validate all AI-provided inputs with
ToolValidator.from_schema_json()before execution — never trust LLM output blindly. - Write action-oriented descriptions — describe what the tool does and when to use it in the first sentence. Include specific keywords so
search_skills()can match. Bad: "Helper for geometry." Good: "Create a polygon sphere with configurable radius and subdivisions. Use when the user asks to create a sphere, ball, or round 3D object in Maya." - Always provide
on-failurechains for domain skills — point todcc_diagnostics__screenshotanddcc_diagnostics__audit_logso agents can debug failures automatically. - Declare dependencies under
metadata.dcc-mcp.dependsin every domain skill — ensures diagnostics are loaded before the skill's tools become available. - Tag every skill with
metadata.dcc-mcp.layer— infrastructure, domain, thin-harness, or example. Untagged skills cause routing ambiguity as the catalog grows.
MCP Tool Design Checklist
Before registering a new tool, verify:
- [ ] Single responsibility: Tool does one clear thing (not a kitchen-sink endpoint)
- [ ] Descriptive name: Follows
{skill}__{action}naming; self-explanatory action - [ ] Input schema: JSON Schema with per-parameter descriptions (≤100 chars each)
- [ ] Output schema: Python handlers return
ToolResultEnvelopevia.ok()/.fail()(orskill_success/skill_error) — never hand-rolled dicts - [ ] ToolAnnotations: Set
read_only_hint,destructive_hint,idempotent_hint,open_world_hint - [ ] Error taxonomy: Document error codes in
error_result()with actionablepromptsuggestions - [ ] Follow-up guidance:
next-tools.on-successfor the logical next step;next-tools.on-failurepointing to diagnostics - [ ] Description quality: Includes "what" + "when to use" + keywords for discoverability
Building a DCC Adapter with DccServerBase
DccServerBase is the recommended base class for building DCC adapters. It bundles all the boilerplate that every adapter needs:
from pathlib import Path
from dcc_mcp_core import DccServerBase, DccServerOptions
class BlenderMcpServer(DccServerBase):
def __init__(self, port: int | None = None, **kwargs):
opts = DccServerOptions.from_env(
"blender",
Path(__file__).parent / "skills",
port=port,
**kwargs,
)
super().__init__(options=opts)
def _version_string(self) -> str:
import bpy
return bpy.app.version_string
# That's it — skill management, hot-reload, gateway election are all inherited.
server = BlenderMcpServer(gateway_port=9765)
server.register_builtin_actions() # discover and load skills
server.enable_hot_reload() # optional: auto-reload on file changes
handle = server.start() # returns McpServerHandle
print(f"Running at {handle.mcp_url()}")For zero-boilerplate adapters, use make_start_stop:
from dcc_mcp_core import make_start_stop
start_server, stop_server = make_start_stop(
BlenderMcpServer,
hot_reload_env_var="DCC_MCP_BLENDER_HOT_RELOAD",
)DeferredExecutor — DCC Main-Thread Safety
Many DCCs (Maya, Blender, Houdini) require that API calls execute on the main thread. DeferredExecutor provides a task queue that the DCC event loop polls:
from dcc_mcp_core._core import DeferredExecutor # low-level bridge; prefer HostExecutionBridge for adapters
# Create a queue (capacity = max pending tasks)
executor = DeferredExecutor(capacity=16)
# Submit a callable from any thread (e.g. from MCP HTTP handler)
executor.execute(lambda: maya.cmds.sphere(radius=1.0))
# In the DCC main-loop callback (e.g. Maya's idleCallback, Blender's app.handlers):
executor.poll_pending() # runs all queued callables on the main threadNote:
DeferredExecutoris not yet in the public__init__.py— import directly fromdcc_mcp_core._core. This will be promoted to the public API in a future release.