Skip to main content

Standalone dcc-mcp-server CLI binary — gateway, sidecar, stdio bridge (Rust)

Project description

dcc-mcp-server-bin — PyPI distribution blueprint

Status: blueprint — packaging files are wired but no PyPI release has shipped yet. Tracked in issue #1002 (deliverable 3 of RFC #998 Addendum A.7).

This directory packages the crates/dcc-mcp-server Rust binary as a platform-specific binary-only PyPI wheel, following the same pattern as ruff, uv, cmake, and pyright. The result is a single pip install dcc-mcp-server that drops the gateway / sidecar / translate CLI onto PATH for Python 3.7+ regardless of which DCC the user runs.

Why a separate PyPI package?

dcc-mcp-core is a PyO3 wheel — its _core.so is loaded into the host Python interpreter (mayapy / blender-python / hython). The sidecar binary, by contrast, is meant to run as its own OS process; bundling it into dcc-mcp-core would couple two artefacts with very different release cadences and ABI matrices. Splitting them is the standard pattern.

Package Distributes Audience
dcc-mcp-core (existing) PyO3 wheel (_core.so + Python facade) Skill authors, plugin/addon code running inside a DCC interpreter
dcc-mcp-server (this dir) platform-specific Python 3.7+ binary wheels Operators, sidecar spawners, anyone who wants a standalone gateway
dcc-mcp-<dcc> (each repo) pure-Python plugin/addon glue DCC plugin loaders (userSetup.py, addon register(), …)

Layout

pkg/dcc-mcp-server-bin/
├── pyproject.toml              ← maturin config, bindings = "bin"
├── python/
│   └── dcc_mcp_server/
│       └── __init__.py         ← binary_path() helper for subprocess spawn
└── README.md                   ← this file

The Rust source is not duplicated here — pyproject.toml sets manifest-path = "../../crates/dcc-mcp-server/Cargo.toml" so maturin builds the existing workspace crate.

Local build

# Build a wheel for the current platform / Python
cd pkg/dcc-mcp-server-bin/
vx pip install maturin
vx maturin build --release

# Resulting wheel lands in ../../target/wheels/dcc_mcp_server-*.whl
vx pip install ../../target/wheels/dcc_mcp_server-*.whl
dcc-mcp-server --help

The wheel uses maturin bindings = "bin", so it does not load a Python extension module and has no CPython ABI dependency. Its metadata deliberately declares Requires-Python: >=3.7 so embedded Python 3.7 hosts such as Maya 2022 can install it directly.

Cross-platform CI release

The new .github/workflows/release-server-binary.yml workflow (also part of this PR) builds wheels for:

OS Arch Tag
manylinux x86_64 manylinux_2_28_x86_64
manylinux aarch64 manylinux_2_28_aarch64
Windows x86_64 win_amd64
Windows arm64 win_arm64
macOS x86_64 macosx_11_0_x86_64
macOS arm64 macosx_11_0_arm64

The workflow triggers on tags matching dcc-mcp-server-v* so it stays independent of the existing dcc-mcp-core release cycle.

Usage from a DCC plugin

# In a Maya plugin / Blender addon, after `pip install dcc-mcp-server`:
import os, subprocess
from dcc_mcp_server import binary_path

_proc = subprocess.Popen([
    str(binary_path()),
    "sidecar",
    "--dcc", "maya",
    "--host-rpc", "commandport://127.0.0.1:6000",
    "--watch-pid", str(os.getpid()),
])

That's the entire plugin → sidecar wiring. Per-DCC HostRpcClient implementations land in their respective adapter repos.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

dcc_mcp_server-0.19.31-py3-none-win_amd64.whl (16.7 MB view details)

Uploaded Python 3Windows x86-64

dcc_mcp_server-0.19.31-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (17.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

dcc_mcp_server-0.19.31-py3-none-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (34.7 MB view details)

Uploaded Python 3macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file dcc_mcp_server-0.19.31-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for dcc_mcp_server-0.19.31-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4ef999bd95dfa694d0d5d346294559b3bc84616d95062e0cd9edc359f41765a9
MD5 540a02db55826f8d4b34372ce3882b9e
BLAKE2b-256 fbc734f2265c0c7288674de64780181387cbc91a264b59837af1931bb3502368

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_server-0.19.31-py3-none-win_amd64.whl:

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

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_server-0.19.31-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for dcc_mcp_server-0.19.31-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1162628c6238e816eefb0cb5367e1f37d6b949b6f75ef434e7c59a1f21ed2f7c
MD5 e8af64ac4b223b5779215a6f9ba649cd
BLAKE2b-256 f62be68a94f57509f9019550f198e627acd733e3a8d5c0d07ee7f8a39c23d49d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_server-0.19.31-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

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

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_server-0.19.31-py3-none-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dcc_mcp_server-0.19.31-py3-none-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b68b79b6f119c1fbe5fc6a9645ef06d9d7a69a4ea90af5c3549aaf740ff6c1a
MD5 5cd024da2860d08cf85e1d40ae97ad62
BLAKE2b-256 7188793acfae6c5a0c26d548e34517e1d2c4a9ff54ae94882bd2d5bece0c9b9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_server-0.19.31-py3-none-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl:

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

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