dcc-mcp-creator
Skill78 starsChanged 4 days agoMITView on GitHub
Infrastructure skill - guide developers and agents through creating or modernizing a full DCC-MCP adapter for Nuke, Blender, 3ds Max, Unreal, ZBrush, Houdini, Maya, and custom studio tools. Use when building server, dispatcher, gateway, packaging, and runtime integration. Not for authoring individual SKILL.md tool packages - use dcc-mcp-skills-creator.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- dcc-mcp-coreSkill
- asset-sourceSkill
- dcc-cuaSkill
- dcc-mcpSkill
- dcc-mcp-skills-creatorSkill
- marketplace-create-extensionSkill
- marketplace-publish-extensionSkill
- mesh-opsSkill
- spatial-interchangeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 9 are distinctive, and 19 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
19
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Use this skill when you are creating a new DCC-MCP adapter or modernizing an existing adapter repository: server composition, host-thread …
- Very specific: line 46
Use the dcc-mcp skill and dccmcp for discovery, validation, and live DCC control whenever the agent can run shell commands.
- Very specific: line 49
Before long-lived validation, run dccmcp update check.
- Very specific: line 64
Use the shared bridge protocol for editor plugins that own a native host API, including Roblox Studio.
- Distinctive: line 70
Keep MCP transport, skills, gateway registration, audit, and instance routing in the sidecar or core.
- Very specific: line 79
Run dccmcp discover to identify existing host installations, then run dccmcp dcc-types before creating a repository.
- Distinctive: line 88
Read the relevant reference:
- Very specific: line 97
Start from DccServerBase + DccServerOptions.from_env(...).
- Very specific: line 99
Keep DCC identity data-driven: dcc_name, server_name, env-var prefix, skill names, and gateway metadata.
- Very specific: line 100
Leave the instance port unset so core resolves DCC_MCP_<DCC>_PORT or asks the OS for a free port.
- Very specific: line 105
Keep ui_control__snapshot and ui_control__act in the same long-lived adapter process so one thin named-pipe client retains the opaque host …
- Very specific: line 111
Never weaken this into per-call subprocess execution or route it onto a blocked DCC UI thread.
- Very specific: line 118
Keep structured DCC skills, host APIs, and adapter scripts ahead of ui-control.
- Very specific: line 123
Keep raw pointer and keyboard input operator-controlled.
- Very specific: line 135
Never transition or retry through another UI/input path after a policy, authorization, authentication, security, confirmation, …
- Very specific: line 138
Keep mutating UI Control tools annotated as destructive.
- Very specific: line 142
Use CLI profiles (dccmcp gateway ..., list/search/describe/call) as the user UX.
- Very specific: line 146
Use dcc_mcp_core.install_lifecycle.build_sidecar_command(...) / launch_sidecar(...) for sidecar startup and readiness.
- Very specific: line 150
If the adapter cannot share the gateway FileRegistry, register remotely through POST /v1/instances/register, refresh with /heartbeat, and …
- Very specific: line 155
Add one executable smoke path: unit tests for construction plus either headless DCC, mock dispatcher MCP calls, gateway REST replay, mDNS …
- Distinctive: line 162
Use the core installer plan and detected host metadata before adding adapter specific setup scripts.
- Distinctive: line 170
When asked to create a Nuke MCP adapter, start by mapping the host lifecycle: how Python is loaded, how the UI/main thread must be entered, …
- Distinctive: line 183
Do not touch a DCC API from a Tokio/HTTP worker thread.
- Very specific: line 184
Do not parse or rewrite SKILL.md, tools.yaml, groups.yaml, or prompt/workflow files in adapter runtime code when core exposes a typed …
- Very specific: line 185
Do not reach into server._server unless no public core API exists.
- Distinctive: line 186
Do not create Maya-only abstractions in shared core or adapter templates.
- Distinctive: line 187
Do not expose raw script execution as the primary user workflow when a typed skill can cover the task.
- Distinctive: line 188
Do not publish local paths, private machine names, or source-attribution markers in public issues or PR text.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DCC-MCP Creator
Use this skill when you are creating a new DCC-MCP adapter or modernizing an existing adapter repository: server composition, host-thread dispatch, sidecar/gateway wiring, readiness, resources, project state, diagnostics, install lifecycle, or cross-DCC verification.
For individual skill packages (SKILL.md, tools.yaml, scripts, groups, and
skill taxonomy), load dcc-mcp-skills-creator instead.
CLI-First Control Path
Use the dcc-mcp skill and dccmcp for discovery, validation, and live
DCC control whenever the agent can run shell commands. If the CLI is missing,
follow the consent-gated official installation instructions in dcc-mcp.
Before long-lived validation, run dccmcp update check; use
dccmcp update apply to stage the latest CLI for the next launch. This
does not replace a running server binary.
Runtime Vocabulary
- DCC startup hook: adapter code running inside the host at application startup; it prepares env/instance data and launches the service path without blocking the DCC UI/main thread.
- Per-DCC service: one registered runtime row for one concrete DCC instance; Python
DccServerBaseand Rust sidecars both participate as per-DCC services. - Sidecar: the Rust
dcc-mcp-sidecarchild launched through the stabledcc-mcp-server sidecarcommand; it bridges host RPC to MCP/REST and exits when the watched DCC dies. - Gateway daemon: the one machine-wide
dcc-mcp-server gatewayprocess that owns routing, dynamic capability search/describe/call, and Gateway Admin. - Guardian: a lightweight loop inside daemon-backed services that probes gateway
/healthand re-ensures the daemon throughgateway-launch.lock; it is not a separate process. - Service heartbeat: registry freshness for the service row only. Do not describe heartbeat as the gateway restart trigger.
External Plugin Bridge Protocol
Use the shared bridge protocol for editor plugins that own a native host API,
including Roblox Studio. The protocol provides optional instance_id,
peer_id, host/document metadata, ready, heartbeat, event, cancel,
and ordered batch envelopes. Existing dispatch JSON-RPC calls remain the
compatibility path for older Photoshop, ZBrush, and custom plugins.
Keep MCP transport, skills, gateway registration, audit, and instance routing
in the sidecar or core. Keep the plugin limited to typed host operations,
readiness, lifecycle, and structured results. Do not use arbitrary script
execution as the default bridge method. Register each concrete host session by
instance_id so two open editors of the same DCC type remain independently
routable.
Fast Workflow
- Run
dccmcp discoverto identify existing host installations, then rundccmcp dcc-typesbefore creating a repository. If the DCC type is already cataloged, improve that adapter instead of creating a duplicate. Custom types remain supported; add the new adapter todcc-mcp-catalog.ymland the compatibility matrix in the same core PR. - Classify the host integration:
- Embedded Python host: Blender, 3ds Max Python, Houdini, Maya, Nuke.
- External bridge host: ZBrush, Photoshop, Unity, custom tools.
- Game/editor host with mixed Python or C++ bridge: Unreal, Unity.
- Read the relevant reference:
- new-adapter-onboarding.md for the build path.
- adapter-compatibility-matrix.md for host patterns and wiring.
- Python 3.7 policy: native py37 is an LTS profile with no automatic calendar expiry. Verify the aggregate Python 3.7 gate is green and
requires-python = ">=3.7"is unchanged before any release.py37-litefallback does NOT satisfy release gates. Removal requires an accepted superseding ADR, a major release, and at least 180 days of notice. - docs/guide/gateway.md for gateway daemon lifecycle details.
- docs/guide/adapter-install-lifecycle.md for sidecar launch/readiness details.
- docs/guide/adapter-release-checklist.md for release train compliance.
- docs/guide/new-adapter-onboarding.md for new adapter scaffolding.
- docs/guide/adapter-compatibility-matrix.md for the per-DCC compatibility table.
- Start from
DccServerBase+DccServerOptions.from_env(...). - Route host API calls through
HostExecutionBridge; do not hand-roll a second script executor. - Keep DCC identity data-driven:
dcc_name,server_name, env-var prefix, skill names, and gateway metadata. Leave the instance port unset so core resolvesDCC_MCP_<DCC>_PORTor asks the OS for a free port. - Use core helpers for skill discovery,
MinimalModeConfig, project tools, resources, diagnostics, context snapshots, install lifecycle, and gateway failover before writing adapter-local wrappers. PythonDccServerBase.collect_skill_search_paths()includes the shared~/.dcc-mcp/marketplace/anydirectory, the legacyalldirectory, and then~/.dcc-mcp/marketplace/<dcc>(or the matchingDCC_MCP_MARKETPLACE_INSTALL_ROOTroots) when they exist, so adapters should not add a second marketplace path convention. Hermetic adapter tests should setDCC_MCP_DISABLE_DEFAULT_SKILL_PATHS=1; this excludes implicit local/platform defaults, marketplace installs, and Admin custom paths while explicit, bundled, and environment-provided skill paths remain active.- For Windows visual UI fallback, reuse the bundled
ui-controlskill and the isolateddcc-mcp-ui-control-host.exe; do not instantiateComputerUseSessionor add adapter-local screenshot/SendInputwrappers. Keepui_control__snapshotandui_control__actin the same long-lived adapter process so one thin named-pipe client retains the opaque host capability. The per-logon-session host owns the screenshot/UIA observations, visible banner, Ctrl+Alt+Esc token, input owner, confirmation, and native input.ui-controldeclaresrequires_in_process: truewhile keepingaffinity: any; registerHostExecutionBridgebefore skill loading. Never weaken this into per-call subprocess execution or route it onto a blocked DCC UI thread. A minimized or hidden exact HWND is recovered only through the host-ownedget_window_state/restore_window/show_window/activate_windowactions. They need no snapshot, must retain the existing capability-bound PID/HWND, and must never become desktop discovery or adapter-local Win32/input fallbacks. - Keep structured DCC skills, host APIs, and adapter scripts ahead of
ui-control. Agents should make an explicit, agent-directed transition into the scopedsnapshot→ oneact→snapshotloop only when an operation is unsupported, no suitable tool exists, or semantic UI Automation cannot reach the required control. Re-observe after every action. - Keep raw pointer and keyboard input operator-controlled. The adapter may
document
DCC_MCP_COMPUTER_USE_ALLOW_RAW_INPUT, but it must not enable the ceiling itself. Before raw input can start, the adapter/operator must setDCC_MCP_UI_CONTROL_PROCESS_IDorDCC_MCP_UI_CONTROL_WINDOW_HANDLEto the adapter's own DCC target; request scope may only narrow that trusted PID/HWND. Require a visible unlocked desktop and matching Windows integrity level, preserve the click-through border/banner/pointer feedback, and preserveuser_interruptedwithout automatic retry,session_idchanges, or fallback. Once Ctrl+Alt+Esc stops a session, onlyui_control__snapshot(resume_computer_use=true)may request a resume, and the isolated host must still obtain trusted user confirmation before clearing the latch. Always callui_control__stop_computer_usewhen the workflow ends. Never transition or retry through another UI/input path after a policy, authorization, authentication, security, confirmation,desktop_unavailable, oruser_interruptedresult. Keep mutating UI Control tools annotated as destructive. The optionalintentmay only raise the native host's independent UIA/input classification. Do not introduce a model-suppliedconfirmed/approvedflag or environment bypass.
- For Windows visual UI fallback, reuse the bundled
- Use CLI profiles (
dccmcp gateway ...,list/search/describe/call) as the user UX; treatdcc-mcp-servermodes as runtime plumbing. Readdocs/guide/gateway.mdbefore changing daemon, guardian, sentinel, registry, or idle-timeout behavior. Once an instance is selected, reusegateway://instances/{instance_id}orGET /v1/instances/{instance_id}/contextfor live process/machine performance, scene/documents, loaded skills, and canonical follow-up routes. - Use
dcc_mcp_core.install_lifecycle.build_sidecar_command(...)/launch_sidecar(...)for sidecar startup and readiness. Readdocs/guide/adapter-install-lifecycle.mdbefore changing host RPC, dispatch readiness, launch stdio,watch_pid, orinstance_idhandling.- The sidecar MCP listener is dispatch-only. A py37-lite factory can expose local skill metadata, but it cannot advertise or activate declarative skills through the gateway. Require a native py37 wheel for that path, or provide a separate discovery MCP URL; never report lite
load_skillsuccess without an executable catalog.
- The sidecar MCP listener is dispatch-only. A py37-lite factory can expose local skill metadata, but it cannot advertise or activate declarative skills through the gateway. Require a native py37 wheel for that path, or provide a separate discovery MCP URL; never report lite
- Pass
instance_idto sidecar launch helpers only when it is a real UUID for the DCC service. During early startup, omit it or passNone;build_sidecar_command()rejects cosmetic values such as"unknown"withsuccess=falseandreason="invalid_instance_id"so adapters do not spawn a child that can only fail with a CLI argument error. - Adapter supervisors that must stop the sidecar on plugin unload should call
launch_sidecar(..., return_process=True, detached=False)instead of reimplementingsubprocess.Popen; keepreturn_process=Falsefor CLI/JSON paths because the process handle is not serializable. - If the adapter cannot share the gateway
FileRegistry, register remotely throughPOST /v1/instances/register, refresh with/heartbeat, and deregister on shutdown; the gateway will expose the row assource: "http"ingateway://instances/GET /v1/instances, preserveinstance_shortandmcp_url, and route it through the samelive_instancescontract. - For same-LAN convenience discovery, build with
mdnsand pair adapter-side--advertise-mdnswith gateway-side--discover-mdns; treat this as a multicast discovery hint only, keep auth/TLS policy explicit, and prefer HTTP registration or relay for routed/subnet-crossing production deployments. - For NAT or routed-subnet deployments, run the tunnel agent with stable
instance_id,capabilities_fingerprint,adapter_version, andscenemetadata, then configure the standalone gateway with--relay-source ADMIN_URL=PUBLIC_BASE_URL; the gateway will expose active tunnels assource: "relay"rows with relay details insource_metaafter probing/v1/healthzthrough<PUBLIC_BASE_URL>/tunnel/<tunnel_id>/mcp. - Preserve gateway caller attribution when adding adapter wrappers or admin/debug routes: let MCP
initialize.params.clientInfo, MCP_meta.agent_context, RESTmeta.agent_context,x-dcc-mcp-*headers, and safeUser-Agentfallbacks flow through core rather than logging raw prompts or local machine data. - For lifecycle/memory/telemetry policy, use
register_lifecycle_hooks(...),search_skills(..., session_id=...),dispatch_session_start(...),dispatch_before_tool_call(...),dispatch_after_tool_call(...), anddispatch_session_end(...); pairMemoryRecorder(InMemoryMemoryStore()).install(hooks)with those hooks when adapters need bounded memory summaries, failed-pattern avoidance, or session compaction. Memory injection is conservative and budgeted by default: search receives compact ranking hints, tool calls receive memory only when it matches the currenttool_name, and session-start injection is opt-in. UseSqliteMemoryStore()only when longterm patterns should be durable, operator-managed in the Admin Memory tab, and included in memory hit-rate observability; disable the recorder for privacy-sensitive deployments. Open a focused core issue/RFC only when those public hooks cannot express the adapter boundary. - Add one executable smoke path: unit tests for construction plus either headless DCC, mock dispatcher MCP calls, gateway REST replay, mDNS same-LAN discovery smoke, relay-source smoke, or
just idle-memory-smokefor standalone server idle/regression checks. - For gateway/admin observability, surface explicit state instead of silent zeroes: traffic panels should report disabled, unavailable, filtered, or genuine no-traffic states; skill panels should distinguish discovered, loaded, searched, selected, called, failed, and low-adoption skills; and admin-facing frames/paths should stay metadata-only or aliased unless an operator explicitly configures a private raw sink. Keep
ServiceEntry.versionas the DCC application version; use core-publisheddcc_mcp_server_versionanddcc_mcp_instance_type=gui|standalonemetadata for server regression and runtime-shape diagnostics instead of overloading DCC or adapter versions. - Preserve workflow observability: adapter calls should carry request, parent, trace, session, DCC, transport, and artifact/validation metadata so the Admin workflow graph can show Intent → Discovery → Skill Load → Tool Calls → Fallbacks → Artifacts → Validation → Report without raw log reading.
- Preserve bounded
agent_contexttask/session/turn metadata and artifact/validation-friendly tool names so Admin task outcomes can group workflows, calls, deliverables, and checks without reading raw payloads or local paths.
Install and release contract
Use the core installer plan and detected host metadata before adding adapter specific setup scripts. Remote package URLs must use HTTPS. Remote ZIP packages must publish a SHA-256 digest. The release workflow publishes raw DCC, MCP server, and CLI assets together with checksum sidecars so shell and wget installers verify the bytes before replacing an executable.
Example: New Nuke Adapter
When asked to create a Nuke MCP adapter, start by mapping the host lifecycle: how Python is loaded, how the UI/main thread must be entered, what headless mode is available, how plugins are installed, and which operations should be bundled as default skills. Then scaffold the adapter around core primitives:
DccServerBasefor MCP/HTTP and skill catalog behavior.DccServerOptions.from_env("NUKE")or an adapter-specific equivalent for env-driven configuration.HostExecutionBridgeplus a Nuke dispatcher for all Nuke API calls.- Core project, readiness, resource, diagnostics, and gateway helpers before adapter-local glue.
dcc-mcp-skills-creatorfor the firstnuke-*skill packages.
Non-Negotiables
- Do not touch a DCC API from a Tokio/HTTP worker thread.
- Do not parse or rewrite
SKILL.md,tools.yaml,groups.yaml, or prompt/workflow files in adapter runtime code when core exposes a typed object or catalog API. - Do not reach into
server._serverunless no public core API exists; if you must, file a core issue and keep the adapter shim small. - Do not create Maya-only abstractions in shared core or adapter templates.
- Do not expose raw script execution as the primary user workflow when a typed skill can cover the task.
- Do not publish local paths, private machine names, or source-attribution markers in public issues or PR text.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

