dcc-mcp-katana
Typed DCC-MCP control for Foundry Katana's node graph. Host work is marshalled through Katana's native event queue and runs on the event-processing thread. The adapter deliberately does not expose arbitrary Python, parameter expressions, render scripts, or shell commands.
Illustrative workflow generated with OpenAI ImageGen from the retained source in docs/images/sources; it is not a Katana screenshot or host-validation artifact.
Part of the DCC-MCP host matrix
dcc-mcp-katana — Foundry Katana adapter for DCC-MCP.
It is one of 47 host adapters in the DCC-MCP catalog. Every adapter speaks the same MCP protocol and builds on the same core runtime contract; each one exposes the tools its own host needs on top of that.
This block is generated from the catalog entry in
dcc-mcp-catalog.yml.
Re-run the generator after changing the catalog.
Install in Katana's Python environment
See the canonical Install and upgrade runbook for supported versions, explicit host/Python overrides, status, verification, rollback, upgrade, and receipt-driven uninstall.
python -m pip install dcc-mcp-katana
dcc-mcp-katana install --dry-run --json
dcc-mcp-katana install --yes --json
The installer writes an adapter-owned launcher that preserves the existing
KATANA_RESOURCES entries; it does not modify shell profiles or registry keys. Run the
machine-executable launcher returned in next_steps, then check the installation:
dcc-mcp-katana doctor --json
dcc-mcp-katana verify --json
dcc-mcp-cli load-skill katana-nodegraph --dcc-type katana
Each instance uses an OS-assigned port and registers with DCC-MCP discovery.
Agents should use the stable local gateway at http://127.0.0.1:9765/mcp;
DCC_MCP_KATANA_PORT is only for a deliberately fixed direct endpoint.
Typed tools
Diagnostics and inspection:
get_statusinspect_nodegraphlist_nodesget_nodeget_parameter
Node authoring:
create_noderename_nodedelete_nodesset_node_positionselect_nodesset_parameter_value
Graph and project control:
add_portremove_portconnect_portsdisconnect_portsset_timelinesave_project
list_nodes is paginated and capped at 1,000 results. Selection and deletion
are capped at 100 nodes. Parameter writes accept only JSON strings, booleans,
or finite numbers. Deletion and port removal require confirm=true.
Safe project output
save_project accepts only absolute .katana paths inside
DCC_MCP_KATANA_ALLOWED_ROOTS. The variable uses the platform path separator
and defaults to the current user's home directory when unset. Existing files
require overwrite=true; missing parent directories require
create_parents=true. A successful result includes the file size and SHA-256.
Main-thread and timeout contract
At most 32 host calls may be pending. A timeout before Katana starts an
operation cancels that operation. A timeout after execution starts reports an
unknown final host outcome, so callers must inspect the graph before retrying a
non-idempotent operation. Tool schemas carry main-thread affinity and bounded
timeouts through the shared HostExecutionBridge.
Real-host smoke test
Open a disposable Katana project, configure an existing writable directory in
both DCC_MCP_KATANA_ALLOWED_ROOTS and DCC_MCP_KATANA_SMOKE_ROOT, then run:
python tools/live_katana_smoke.py
The smoke test uses dcc-mcp-cli for discovery, readiness, skill loading, and
typed calls. It creates a PrimitiveCreate/Merge graph, adds and connects
ports, changes a typed parameter and timeline, saves a .katana file, and
prints its byte count and SHA-256. Set DCC_MCP_KATANA_SMOKE_CLEANUP=1 only if
the two generated nodes should be deleted after evidence is collected.
The repository's automated tests use a contract-compatible fake Katana API; they are not represented as real-host evidence. A production release should retain the real Katana version, typed CLI transcript, project hash, and visual node-graph evidence.
Development
python -m pip install -e ".[dev]"
python -m pytest -q
python -m ruff check src tests tools
python -m ruff format --check src tests tools
python tools/lint_skills.py
python -m build
python -m twine check dist/*
Agent workflows should use dcc-mcp-cli search, describe, and call rather
than bypassing typed tools. If a tool is not visible, load the progressive
katana-nodegraph skill first.
Metadata
Release files for dcc-mcp-katana 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dcc_mcp_katana-0.5.2.tar.gz | 40.4 kB | With provenance | Details for dcc_mcp_katana-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dcc_mcp_katana-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for dcc_mcp_katana-0.5.2-py3-none-any.whl |
Total release size: 77.2 kB
Release files / dcc_mcp_katana-0.5.2.tar.gz
| Download URL | dcc_mcp_katana-0.5.2.tar.gz |
|---|---|
| Size | 40.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fff495848f52fa1cb12b4742aa17192ae2ef0719d2fe85402c47af1b07516ab
|
|
BLAKE2b-256 checksum How to use checksums |
5e9dba15e26b81d5ab64daf68abf283a775e85ba73e2697515a1fd2ae4c3c038
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.
Transparency logRelease files / dcc_mcp_katana-0.5.2-py3-none-any.whl
| Download URL | dcc_mcp_katana-0.5.2-py3-none-any.whl |
|---|---|
| Size | 36.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6592c0a5583881df2a279d8c1a7aac353433903d47fa824361ba6b881ac92fdf
|
|
BLAKE2b-256 checksum How to use checksums |
9421152cb7fd66563697233a5989d39c267b264b9b3e28bf73795aad21ff38e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.
Transparency logSecurity for dcc-mcp-katana 0.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dcc_mcp_katana-0.5.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.