Write 3ds Max Scripts with AI and Publish Them on MaxPkg
Almost anyone can ask an AI agent in a chat to write a 3ds Max script today. The hard part comes next: you run the code, get an error, paste it back into the chat, wait for a fix and repeat. And if the problem is visual, you also have to describe in words which button got cut off and at what window width. The agent writes the code, and you act as its eyes and hands.
Max Ultra MCP closes that gap: it gives an AI agent access to your open 3ds Max. The agent runs the code itself, sees the errors and looks at the result. And once the tool is ready, MaxPkg helps you package and publish it quickly. Here is the whole path from idea to a catalog page.
What Max Ultra MCP is
MCP stands for Model Context Protocol. Put simply, it is a bridge between an AI agent and a program: on one side the agent that understands your request, on the other 3ds Max with its objects, materials, cameras and MaxScript.
Max Ultra MCP connects an AI client to an already open 3ds Max session. The agent can inspect scene data, perform operations, run MaxScript and script files, capture viewport screenshots and check controls in windows that 3ds Max owns. Max Ultra MCP itself is not an AI: the connected agent makes the decisions, and how well it understands the task and notices its own mistakes is up to that agent.
Max Ultra MCP in the MaxPkg catalog: a free package for 3ds Max 2022–2027
How to connect it
Max Ultra MCP is a free package in the MaxPkg catalog and installs like any other: drag Install into the viewport, or run its .mzp through Scripting → Run Script.
- Launch the Max Ultra MCP action that appears.
- Open AI Client Setup and find the card for your client: Codex, Claude Code or Antigravity.
- Follow the action the card shows. If the client needs installing, install it first, then click Refresh Status and connect the client. Installing an app and registering the MCP connection are separate steps.
- Restart or reconnect your AI client if it asks.
- Open Test prompt, copy the test prompt, which changes nothing in the scene, and run it in your client.
- Keep the intended 3ds Max session open and describe your task.
AI Client Setup: the Codex, Claude Code and Antigravity cards
An MCP Ready status does not prove that the current AI conversation can see the connection, so do not skip the test prompt. Other compatible clients can use Manual Setup with the connection command. If several 3ds Max sessions are connected, select the intended one explicitly before working.
Test prompt in AI Client Setup: a request that only checks the connection and changes nothing in the scene
The Max Ultra MCP main panel: connection status, scene and the agent's activity log
The main skill: Python and Qt
A skill is a set of instructions for a specific task: the order of work, requirements for the result, typical mistakes and how to check. In effect you write down once an explanation you would otherwise repeat in every chat.
For building tools, the most important skill is Python and Qt Tool Development for 3ds Max from the Community Skills catalog. Install it before you start your first script. Without it the agent invents the interface from scratch every time, and a lot of time goes into fixing buttons, spacing and errors. With it the tool is built from proven templates right away:
- its own window with rounded corners and a compact collapsed bar that follows the 3ds Max window;
- ready interface controls in one style: validated fields, switches, dropdowns, a calendar, sliders, charts, notifications and much more;
- Settings, Logs, About and, if you give a link, Donate;
- seven themes and an interface size for 2K and 4K screens;
- a safe start: if the tool crashes at start, it reports it in the Listener and starts in safe mode;
- an API that lets MAXScript and AI assistants control the tool;
- a finished .mzp built with the official MaxPkg Packager.
You can see all of this in advance: the skill has a controls trainer. Ask the agent to open it right in 3ds Max, and you get the whole catalog of components in one style: validated fields, switches, buttons, choice cards, sliders, charts, loading indicators, windows and donations. The agent takes them ready-made, so the interface does not have to be invented and debugged from scratch.
Use the Python and Qt Tool Development for 3ds Max skill and show me the controls trainer right in 3ds Max.
The controls trainer from the Python and Qt skill: switches, buttons, statuses and choice cards
Charts and stat tiles from the same trainer
This is what tools built with this skill look like: Any Max Opener, MaxRewind and PivotLandia. Code like this has noticeably fewer errors, which means fewer fixes for you.
Any Max Opener, a tool built with the Python and Qt skill
How to install the skill:
- Open Max Ultra MCP and click Skills.
- Open the Community tab and find Python and Qt Tool Development for 3ds Max.
- Install it with one click and start a new chat with the agent.
The Python and Qt Tool Development for 3ds Max skill on the Community tab of the skills manager
Skills from the community catalog update themselves when a new version comes out.
Writing the script with the agent
Start by describing the behaviour, not the code. The more specific the conditions and the easier they are to check, the better the result. And always say in the request that the agent must use the Python and Qt Tool Development skill: that way it takes the skill's templates for sure instead of inventing the interface from scratch. For example:
Use the Python and Qt Tool Development for 3ds Max skill. Create a tool that randomly rotates the selected objects. Add a window with axis selection and a rotation range. Show a clear message when nothing is selected. All changes from one run must be undone with a single Undo. Run the tool in a test scene and check these cases.
The agent then writes the code, runs it in your 3ds Max, gets the error and fixes it without you in the loop. Check not only that the tool runs, but that it does what it promises: the random rotation stays within the range, and Undo really puts the objects back.
The agent sees the result
Running code without errors and getting a good result are not the same thing. That is why Max Ultra MCP can capture screenshots of the viewport and 3ds Max windows. This is especially useful for interfaces: ask the agent to open your tool's window and check that the labels fit, the buttons are reachable and the layout survives resizing.
Open the tool window and take screenshots at a narrow and a wide width. Check that every label is visible and no buttons overlap. List the problems first, then fix them one by one and check again after every change.
A screenshot does not guarantee that the AI understood what it saw. It may miss a detail or decide too early that everything is fine, so back the visual check with concrete data: sizes, object counts, parameter values. And the final check is always yours.
Packaging for MaxPkg
Once the tool works, it has to be built into an .mzp package. AI saves time here too. Max Ultra MCP has a built-in MaxPkg Packaging skill that walks the agent through packaging the script with the official MaxPkg Packager. Packager can work without its window through its MaxPkgPackerApi, so the agent does not have to click buttons. The main thing is to say in the request that the packaging must be done with the Max Ultra MCP skills. For example:
Package my script for MaxPkg with the Max Ultra MCP skills. Check that it works, build the .mzp with the official MaxPkg Packager and explain how to upload the result to maxpkg.dev. Before publishing, show which checks were done and what still needs a manual check.
If you work without Max Ultra MCP, the MaxPkg website has a ready prompt, Prepare the whole package with AI: paste it into Codex or Claude Code together with your script's folder, and the agent adapts the script, sets up Packager, builds the .mzp and writes the texts for the package page.
The Prepare the whole package with AI prompt in the MaxPkg docs
Always install the built package in your own 3ds Max and check that it installs, its button appears on the MaxPkg toolbar and the tool works. The Packager tabs are covered in detail in How to publish your 3ds Max script on MaxPkg.
Publishing with an agent
The last step can go to AI as well: the MaxPkg Publishing skill helps with it, and the Developer Dashboard home page has a prompt called Let an AI agent publish your package. Paste it into an agent that can use a browser, such as Claude Code or Codex. It uploads the .mzp, fills in the package page, makes the cover and screenshots and checks the result, and asks for your go-ahead before changing anything.
After that the package goes to review like any other: an automatic review and a moderator's decision. How it works and how to pass the first time is covered in a separate article.
So the whole road from idea to catalog can now go to the agent. You install Max Ultra MCP with the Python and Qt skill and give a few right prompts. From there the agent writes the script, designs the interface and tests the tool in 3ds Max until it works. Then it builds the .mzp package, uploads it to maxpkg.dev and fills in the package page for you. What is left for you is the task, answers to the agent's questions and the final check.
Now the idea is what matters
You can now build tools for 3ds Max without knowing MaxScript, Python or Qt. The agent writes the code. What you bring is the idea and a clear picture of the result: what the tool does, how it looks and how people use it. The more precisely you see it, the faster the agent gets the job done.
Height Map Studio is a good example. It is a fairly complex tool with its own OpenGL 3D viewer, and it was built in about 3 hours. By hand it would probably have taken me half a year. Almost everything worked from the first prompt; the only thing I had to polish was the layout of the controls, because the Python and Qt skill did not exist yet. With it, a tool like this comes together in an evening.
That leaves the question of what to do with the finished tool. On MaxPkg you can publish it in a few minutes, and the agent can handle that part too. Every package is checked for malicious code, and its description is compared with what it actually does. Authors spend less time on development, and users spend less time searching: everything is in one catalog, installs with a single drag and, most importantly, is safe.
Earning works differently too. When a script can be built in an evening for a couple of dollars in tokens, selling it at a high price makes no sense. Another model works: a free tool, a Donate button and, if you like, tasteful ads. I have tested this with Max Ultra MCP: users donate and support the project, so I can give it more time. The community notices good tools. Donations, paid features and ads are covered in more detail in the article about earning from scripts.
AI will keep developing, and in a few years working in 3ds Max will look completely different. Writing code by hand is no longer a must. A good idea is becoming the most valuable thing.
What 3ds Max tool have you wanted to build for a long time but did not know where to start?
Latest articles
Max Ultra MCP Review: an AI Agent That Works Right Inside 3ds Max
Imagine an assistant inside 3ds Max that you can simply tell what to do. Sort the scene into layers, build an animation, find out why the viewport lags, or write a script for a task that annoyed you back on the last project. It does not give advice from a neighbouring window:…
Lukianeno VasylAll your 3ds Max scripts on one toolbar: what MaxPkg can do
A new computer, a fresh install of 3ds Max, and a minute later all your scripts are already on the toolbar. Same order as yesterday, same dividers. No archives, no copying files into folders, no digging through Customize User Interface. Sounds like an ad, but it’s just a…
Lukianeno VasylHow MaxPkg Reviews Packages: What Script Authors Should Know
You uploaded a package, submitted it for review, and now you wait. What happens to your .mzp in the meantime, who looks at it, and why do some packages pass at once while others come back with notes? Here is the whole path from the author's side, so your next package passes…
Lukianeno Vasyl