max2021-mcp
Provides tools to execute Python and MaxScript code inside Autodesk 3ds Max 2021, enabling automation and control of the 3D modeling and rendering software.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@max2021-mcpcreate a box with dimensions 10,20,30 at position 0,0,0"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
max2021-mcp
Puente estable HTTP + TCP + MCP para ejecutar Python y MaxScript dentro de Autodesk 3ds Max 2021, pensado para agentes de Cursor (u otros clientes MCP).
Basado en boa-control-max (MIT), con parches y workflow verificados en Max 2021.3.6.
Arquitectura
Cursor (MCP stdio)
└─ packages/max-mcp-server → HTTP localhost:8123
└─ packages/max-server (Node)
└─ TCP 127.0.0.1:7603
└─ bridge Python dentro de 3ds Max (PySide2)
└─ ejecuta código y responde por HTTPPieza | Puerto | Rol |
|
| API HTTP + SSE |
Bridge en Max |
| TCP (arranca con startup de Max) |
| stdio | Tools MCP |
Related MCP server: 3dsmax-mcp
Requisitos
Windows + 3ds Max 2021
Node.js 18+
pnpm (
npm i -g pnpm)Cursor (u otro cliente MCP)
Instalación (máquina nueva)
git clone https://github.com/patriciojuliant/max2021-mcp.git
cd max2021-mcp
pnpm install
# 1) Registra el startup de Max (bridge TCP :7603 al abrir Max)
.\scripts\Install-MaxStartup.ps1
# 2) Escribe/actualiza ~/.cursor/mcp.json
.\scripts\Install-CursorMcp.ps1
# 3) Arranca HTTP :8123 (+ Max si hace falta)
.\scripts\Start-Max2021Mcp.ps1Reiniciá Cursor después de Install-CursorMcp.ps1.
Uso diario
.\scripts\Start-Max2021Mcp.ps1
# o solo el bridge HTTP si Max ya está abierto:
.\scripts\Start-Max2021Mcp.ps1 -NoMaxHealth check:
.\scripts\Test-Health.ps1Fallback manual en el Listener de Max:
fileIn @"<REPO>\packages\max-server\src\max-utils\start_max2021_mcp.ms"Tools MCP
executePyCode— preferido. Dejá el valor enresult(JSON-serializable).executeMxsCode— solo si Python no alcanza.
Ejemplo Python:
import pymxs
rt = pymxs.runtime
result = {"ok": True, "version": str(rt.maxVersion())}¿Por qué este fork?
El upstream asume qtpy y paths de Max más nuevos. En Max 2021:
hay que usar PySide2 (no
qtpy)hace falta un startup script para el TCP
:7603el HTTP
:8123no vive dentro de Max; hay que levantarlo apartesi falta
:8123, Cursor muestrafetch failedaunque Max esté abierto
Detalle de incidentes y fixes: docs/TROUBLESHOOTING.md.
Licencia
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/patriciojuliant/max2021-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server