3ds Max plugin for the DCC Model Context Protocol (MCP) ecosystem — embeds a Streamable HTTP MCP server directly inside 3ds Max
Project description
dcc-mcp-3dsmax
3ds Max plugin for the DCC Model Context Protocol (MCP) ecosystem — embeds a Streamable HTTP MCP server directly inside 3ds Max.
Status: This project is under active development. APIs, packaging, and 3ds Max integration details may change quickly while the adapter tracks the latest
dcc-mcp-corereleases.
Features
- Embedded MCP Server: No external gateway or IPC required
- Progressive Skill Loading: Discover skills without loading them immediately
- Gateway Failover: Multi-instance support with automatic gateway election
- Job Persistence: SQLite-based job storage for long-running operations
- Prometheus Metrics: Optional
/metricsendpoint for monitoring
Installation
pip install dcc-mcp-3dsmax
Quickstart (inside 3ds Max MAXScript Listener)
import dcc_mcp_3dsmax
# Start with default port (auto-gateway: first instance wins 8765)
server = dcc_mcp_3dsmax.start_server()
# Progressive loading — discover skills without loading them immediately
n = server.discover_skills() # scan paths, register tool metadata
server.load_skill("3dsmax-scene") # lazy-load a specific skill
dcc_mcp_3dsmax.stop_server()
Skill Development
Create a skill with SKILL.md metadata file and Python scripts:
# my_skill/action_create_box.py
from dcc_mcp_3dsmax.api import max_success, with_max
@with_max
def execute(params: dict) -> dict:
import pymxs
rt = pymxs.runtime
width = params.get("width", 100.0)
height = params.get("height", 100.0)
depth = params.get("depth", 100.0)
box_obj = rt.Box(width=width, height=height, depth=depth)
return max_success("Created box", object_name=str(box_obj))
Environment Variables
| Variable | Description | Default |
|---|---|---|
DCC_MCP_3DSMAX_METRICS |
Enable Prometheus /metrics endpoint |
0 |
DCC_MCP_3DSMAX_JOB_STORAGE |
Path to SQLite job database | platform default |
DCC_MCP_3DSMAX_DISABLE_EXECUTE_PYTHON |
Disable execute_python tool |
0 |
DCC_MCP_3DSMAX_DISABLE_ARBITRARY_SCRIPT |
Disable all arbitrary script execution | 0 |
DCC_MCP_3DSMAX_ENABLE_GATEWAY_FAILOVER |
Enable gateway failover | 1 |
DCC_MCP_3DSMAX_SKILL_PATHS |
Extra skill search paths (semicolon-separated) | None |
Requirements
- 3ds Max 2017 or later (Python 3.x with pymxs support)
- Python >= 3.7
- dcc-mcp-core >= 0.17.5
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dcc_mcp_3dsmax-0.1.1.tar.gz.
File metadata
- Download URL: dcc_mcp_3dsmax-0.1.1.tar.gz
- Upload date:
- Size: 44.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a721aa6d8c32b4a3c537ef254937e97b972eba6fe88b73f69b3d3e5cbac37340
|
|
| MD5 |
5add7f5b27f867198586aa324a48ea2f
|
|
| BLAKE2b-256 |
b6134c6c9fbf9479b3ad7e42a25340118ab9ef6ae3d4d39deaea64a9874ca224
|
Provenance
The following attestation bundles were made for dcc_mcp_3dsmax-0.1.1.tar.gz:
Publisher:
release.yml on loonghao/dcc-mcp-3dsmax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_mcp_3dsmax-0.1.1.tar.gz -
Subject digest:
a721aa6d8c32b4a3c537ef254937e97b972eba6fe88b73f69b3d3e5cbac37340 - Sigstore transparency entry: 1562492884
- Sigstore integration time:
-
Permalink:
loonghao/dcc-mcp-3dsmax@eba3006de44f7995839ea545ed762eaf71295829 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/loonghao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@eba3006de44f7995839ea545ed762eaf71295829 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dcc_mcp_3dsmax-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dcc_mcp_3dsmax-0.1.1-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4425df57a88b5ef1e0af3a1dcb2e6e97d681b0843ab05d82e96acfde1895f333
|
|
| MD5 |
72741bd6d8f1912b75bc6db5cad8e043
|
|
| BLAKE2b-256 |
10d18eba7abc7b7bb4faeb6eba3cdd605d705bdbca5a4d4387bf86d594d462a1
|
Provenance
The following attestation bundles were made for dcc_mcp_3dsmax-0.1.1-py3-none-any.whl:
Publisher:
release.yml on loonghao/dcc-mcp-3dsmax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_mcp_3dsmax-0.1.1-py3-none-any.whl -
Subject digest:
4425df57a88b5ef1e0af3a1dcb2e6e97d681b0843ab05d82e96acfde1895f333 - Sigstore transparency entry: 1562492977
- Sigstore integration time:
-
Permalink:
loonghao/dcc-mcp-3dsmax@eba3006de44f7995839ea545ed762eaf71295829 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/loonghao
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@eba3006de44f7995839ea545ed762eaf71295829 -
Trigger Event:
push
-
Statement type: