MCP ScannerCustom audit
All servers

cl0nazepamm/3dsmax-mcp

3ds Max MCP server

Package3dsmax-mcp
Version2.0.1 in pyproject.toml
Publishercl0nazepamm community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 390Forks 56Last push 2026-11-14
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure4.2Prompts10.0Supply chain2.2Secrets10.0Transparency10.0
Analysis confidence61%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure4.2/10Poor

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain2.2/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • Some paths pass through more than 8 functions one inside another; the scanner stops there
  • In 1,697 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 2 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • CRITICAL11 production dependencies have known vulnerabilities (worst: critical).
  • HIGHTool run_python executes code by design: an agent steered by prompt injection can use it that way.
  • HIGHTools backup_material_library, render_automations, render_setup read or write any file path by design: an agent steered by prompt injection can use them that way.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Run it in a container or a virtual machine

    run_python can start programs or run code they are given. Keep it away from your home folder, keys and other projects.

  • Give it only the folder it needs

    backup_material_library, render_automations, render_setup can read or write any file path. Mount a single project folder, read-only where you can.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need backup_material_library, render_automations, render_setup and 1 more, switch them off.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use anyio 4.14.2 or later, certifi 2026.10.18 or later, cryptography 50.0.0 or later, idna 3.15 or later and 7 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 178 tools, 6 resources, 1 prompt. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
add_tyflow_collision, add_tyflow_event, agent_viewport, capture_hang_diagnostics, capture_screen, capture_tyflow_editor and 38 more
44 of 185
Connect to the internet or other hostssend requests or open connections
Plugin Gotchas, Plugin Guide, Plugin Index, Plugin Manifest, Plugin Recipes, discover_plugin_surface and 11 more
17 of 185
Read passwords, tokens or keysload secrets such as API keys
mcg_apply_modifier, mcg_apply_patch, mcg_compile_graph, mcg_create_graph, mcg_get_context, mcg_inspect_instance and 7 more
13 of 185
Read environment variablesoften where API keys are kept
add_tyflow_collision, add_tyflow_event, capture_hang_diagnostics, capture_tyflow_editor, connect_tyflow_operator, create_tyflow and 36 more
42 of 185
Touch sensitive locationssuch as ~/.ssh, cloud credentials or browser data
mcg_apply_modifier, mcg_apply_patch, mcg_compile_graph, mcg_create_graph, mcg_get_context, mcg_inspect_instance and 7 more
13 of 185

No tool was seen to: start other programs on the machine.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

4 request addresses could not be settled from the code (built at run time).

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files43 tools · add_tyflow_collision, add_tyflow_event, agent_viewport +40
  • web or API responses4 tools · get_bridge_status, get_session_context, max_dialogs +1

Tool annotations

1 of 185 tools declares annotations. readOnlyHint 1, idempotentHint 1.

Tools, prompts and resources (185: 178 tools, 6 resources, 1 prompt)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

backup_material_librarytool Save material-library scratchpads to .mat files without changing the scene.Reads/writes files
Save material-library scratchpads to .mat files without changing the scene.

    source accepts current, medit, combined, or all. The default all writes three
    files: currentMaterialLibrary, meditMaterials, and a combined scratchpad.
    Pass file_path only when saving a single source; backup_dir is used for
    timestamped backups.
render_automationstool Arm a done-signal for the NEXT render, then report when it finishes.FilesEnv varsoutside textReads/writes files
Arm a done-signal for the NEXT render, then report when it finishes.

    This does NOT start the render — firing a render from the bridge made Max
    loop, so you trigger the render yourself (hit Render, or execute_maxscript
    `max quick render`) after arming. The signal honors whatever Render Setup's
    Time Output produces; the bridge only detects completion.

    action:
      start    ARM the NOTIFY_POST_RENDER done-signal for the next render (does
               NOT render). Returns signal_path plus a background `watcher`
               command. After this, trigger the render yourself. Errors if a
               job is already armed/pending — never arm twice.
      status   Read the signal file for `job_id` (or `signal_path`). Never touches
               Max — "rendering" until it exists, else the completion record
               (the post-render event confirms the render ended, not its outcome;
               a crash or failure before that event can leave no signal).
      cancel   Request cancellation through Max's abort flag using a separate
               native pipe connection pinned to the same Max instance. It bypasses
               the normal connection's in-flight render. Cancellation is cooperative:
               the renderer must check the flag. A cancelling response is not proof
               that rendering has stopped; the completion signal does not reliably
               distinguish cancellation from success.
      cancel_capture  Save the unobscured VFB window image, then request cancellation for
               the matching armed job_id, through one independent connection.
               Use only for a render you armed and started. crop=[x,y,width,height]
               trims physical client-area pixels. capture_target=vray_vfb, corona_vfb or fstorm_vfb
               selects that renderer's frame buffer; capture_target=screen is an
               explicit desktop fallback for another renderer's visible framebuffer.
               Window capture excludes overlaps, requires an open/non-minimized VFB
               and never falls back to desktop pixels. Requires the updated bridge.
               Does not wait for render convergence or denoising.
               Configure progressive sampling and the renderer's denoiser BEFORE
               starting a production preview; this cannot retrofit a blocked render.
               The result is partial evidence, never proof of a stopped/denoised render.

    watch_timeout_sec caps the watcher (default 3600; 0 = wait forever). On cap
    it prints {"status":"timeout"} and exits 2 — check action=status before
    deciding anything. (`vfb` is accepted but ignored — the bridge no longer
    fires the render, so it can't set the VFB flag.)
render_setuptool Light, frame and render the scene: the same call on every renderer.FilesEnv varsoutside textReads/writes files
Light, frame and render the scene: the same call on every renderer.

    The script names what it wants in neutral terms; the active renderer's preset turns
    that into its own classes and parameters (Octane, FStorm, V-Ray, Corona, Scanline, ART).
    Never write renderer-specific light classes by hand. Every argument is optional and
    only what is given changes, in one undo step, verified by readback:

      render_setup()                              what this renderer offers and what the
                                                  scene has: kinds with their fields and
                                                  units, notes, lights, cameras, settings
      renderer="octane"                           make it the production renderer (a preset
                                                  id or a renderer name; not undoable, and
                                                  the renderer it replaces loses its
                                                  settings). A call that fails keeps the
                                                  renderer the scene had.
      quality="draft"|"preview"|"final"           the preset's sampling level
      settings={"samples": 600, "denoise": True}  neutral names, or the renderer's own
                                                  parameter names for anything else
      lights=[{"name": "Lamp", "kind": "sphere", "radius": 4, "position": [0, 0, 150],
               "intensity": 800, "unit": "lm", "kelvin": 2700}]
          kind: rectangle (width, height), disk (radius), sphere (radius), cylinder (radius,
          length), point. position, and aim_at or direction for the flat and tube shapes.
          Color is kelvin or rgb (linear, in the rendering space). Also enabled,
          cast_shadows, visible, double_sided where the renderer has them.
      sun={"elevation": 40, "azimuth": 220}       degrees above the horizon, and clockwise
                                                  from +Y (north) toward +X (180, south,
                                                  when omitted); or direction. One of the
                                                  two given alone keeps the other.
                                                  intensity is a multiplier (1 = the
                                                  renderer's physical sun).
      environment={"path": "C:/hdri/sky.exr", "intensity": 1, "rotation": 90}
                                                  an EXR or HDR lighting the scene;
                                                  replace=True to replace another one
      camera={"name": "Cam", "position": [300, -400, 150], "aim_at": [0, 0, 100], "fov": 55}
      render={"camera": "Cam", "size": [1280, 720]}
                                                  renders that camera (the active viewport
                                                  when no camera is given) to a JPG and
                                                  shows you the image. output= sets the file.

    A name that already exists is updated, with only the fields given: run the same script
    again to adjust, e.g. lights=[{"name": "Lamp", "kind": "sphere", "intensity": 400}].
    Lights without a name are always created. Delete with mx.delete.
    A sun, camera or environment without a name goes by its kind (Sun, Camera). Where
    another renderer's object holds that name, it is left alone and this renderer's own
    is Sun_<preset> (Sun_octane); the reply's name and notes say so.

    intensity: give unit (lm, cd, nits, W, or renderer for the renderer's own number); it
    defaults to the kind's unit. A unit the renderer lacks is converted when the shape
    defines it and the reply says so; otherwise the call fails naming the units it takes.
    For one script on several renderers: intensity={"lm": 800, "fstorm": 30} uses the
    first entry (a unit or a preset id) the active renderer takes.
    native={"parameter": value} writes any other parameter of the object by its own name.
    Distances are scene units unless distance_unit is mm, cm, m, in or ft.

    A render that outlives its wait returns {"status": "running", "job": ...}: call
    render_setup(job=...) to wait again and never start it twice. Render only when the
    user asked for one. A renderer without a preset is refused with the list of presets;
    presets are JSON files, and one dropped into %LOCALAPPDATA%/3dsmax-mcp/renderers adds
    a renderer without code.
run_pythontool Run a Python script against 3ds Max through the `mx` API: one script instead of many tool calls.Executes code
Run a Python script against 3ds Max through the `mx` API: one script instead of many tool calls.

    Prefer it for multi-step work (build, measure, loop, verify). `mx` is pre-imported; every
    call goes through the same validated, guarded tools as the MCP tools and raises
    mx.MaxToolError (.code, .message, .hint) on failure. Units are scene units; positions are
    (x, y, z).

    Where it runs (`ran_in` in the reply): inside 3ds Max whenever it can. There `sdk`,
    `rt` (pymxs.runtime) and pymxs are in scope too, and everything the script changes (tool calls, sdk and rt
    edits) is ONE undo step, rolled back entirely if the script raises. An undo inside the
    script (mx.tools.undo_last(), sdk.undo()) first commits what it changed so far as its own
    step. Otherwise in the MCP server: imports limited to mx and the standard math/json/re
    family, each tool call its own undo step. where="max" or "server" forces one.

    Which API to use (inside Max):
      - `mx.tools.<name>(...)` (canonical for every tool; `mx.*` below are thin shorthands) for guarded
        workflows: curve_model, loft_mesh, mesh_edit, boolean_operation, geometry_qa, contact_check,
        render_setup, capture_viewport, capture_multi_view and the tyflow group (mx.help("tyflow")).
      - `sdk` for fast scene loops, transforms, layers, materials, modifiers and inspection (`sdk.nodes.new`,
        `node.pos`/`node.rot`, `sdk.materials.new`, `node.add_modifier`).
      - `rt` (pymxs) only for Max surfaces neither `mx` nor `sdk` wraps. Prefer `sdk` over `rt` for
        creating/placing objects (in `rt`, setting `.rotation` after `.pos` orbits around the origin).

    sdk (inside Max; also mx.sdk): the scene object model bound straight from the 3ds Max SDK,
      calls in microseconds. What the scene has many of is a collection, the same way on every one:
      sdk.nodes["Ball"], sdk.nodes.get("Ball"), "Ball" in sdk.nodes, len(sdk.nodes), for n in sdk.nodes,
      sdk.nodes("Wall*", cls="Box") to list, sdk.nodes.new("Sphere", "Ball", pos=(0, 0, 10), radius=10),
      sdk.nodes.remove(node). Also sdk.selection (.set(nodes), .add, .remove, .clear), sdk.materials,
      sdk.texmaps, sdk.layers (.current), sdk.groups, sdk.selection_sets, sdk.effects, sdk.classes,
      sdk.plugins, sdk.macros, sdk.interfaces. node.pos / .rot (degrees) / .scale / .transform settable,
      node.look_at(point), node.params.radius = 12, node.add_modifier("Bend", angle=30), node.modifiers,
      node.material = sdk.materials.new("PhysicalMaterial", "Red", base_color=(1, 0, 0)),
      with sdk.at(10): ..., with sdk.animate(): ..., node.bbox, sdk.contacts(nodes). mx.help("sdk") is its
      index, mx.help("sdk.nodes") one collection, mx.help("sdk.Node") one class. In pymxs a node is
      rt.getAnimByHandle(node.handle). A pymxs node's own .handle is a different number (MAXScript's
      per-scene node handle) that no tool takes.

    Parameters, one model for every class and plugin (objects, modifiers, materials, maps, controllers):
      reflect, then set by name; never guess a parameter or its units. mx.params(class_name="Bend",
      kind="modifier") lists a class's parameters before it exists: type, default, range, named choices,
      UI label. mx.params(node, "modifiers[Bend]") (or "object", "material", "material.base_color_map",
      "modifiers[1].gizmo", "transform") lists an instance's with values; mx.params(node, path,
      {"BendAngle": 30, "BendAxis": "x"}) sets and reads back. The same {name: value} dict is the params
      of mx.create, mx.add_modifier and mx.material. Values: degrees, percentages 0-100, colors 0-1 or
      "#rrggbb", choice names, gizmos {"position", "rotation", "scale"}, map slots {"class": "Noise",
      "params": {...}} built in place or {"params": {...}} to edit the one there. Inside Max the same on
      sdk objects: node.params.describe(), sdk.classes["Bend", "modifier"].describe().

    Objects (return a node: the sdk node inside Max, mx.Node outside): mx.box(name, width, length, height, pos=(x,y,z), pos_mode="ground"|"center"),
      mx.sphere(name, radius, pos, pos_mode), mx.cylinder(name, radius, height, pos, pos_mode),
      mx.plane(name, width, length, pos, pos_mode), mx.create(type, name, params, pos, ...), mx.get(name),
      mx.find(pattern="Wall*", class_name=..., layer=...) -> [Node], mx.selection(), mx.scene() -> overview,
      mx.clone(target, mode, offset, count) -> [Node], mx.parent(child, parent), mx.select(*targets),
      mx.delete(*targets). pos_mode "ground" puts the base on pos, "center" the bbox center.
      A node has the same core wherever the script runs: .handle, .name (settable), .exists, .class_name,
      .pos (world, settable: node.pos = node.pos + (0, 0, 10)), .bbox (.min .max .center .size), .hidden
      (settable), .delete(). Inside Max it is the sdk node, with everything sdk.Node has; outside Max
      rotation and scale are mx.tools.transform_object(handle=node.handle, rotate=..., scale=...).
    Modeling: mx.boolean(target, operation="subtract"|"union"|"intersect", operands=[nodes], cutters=[specs]),
      mx.add_modifier(target, modifier, params={"segs": 48}), mx.set_modifier(target, property_name,
      property_value, modifier_index=1), mx.remove_modifier(target, modifier), mx.mesh(name, vertices, faces),
      mx.inspect_mesh(target), mx.mesh_edit(target, operations, expected_mesh), mx.spline(name, points,
      closed=False), mx.curve(definition, name, action="create"|"preview"), mx.loft(sections, name),
      mx.qa(target) -> {"counts": {...}, ...}, mx.contacts(names, against).
    Shading: mx.material(targets, material_class="PhysicalMaterial", material_name, params={...}),
      mx.share_material(targets, source), mx.set_material(target, property, value).
    Light and render, the same call on every renderer (Octane, FStorm, V-Ray, Corona, Scanline, ART):
      mx.render_setup() tells what the current renderer offers and what the scene has.
      mx.render_setup(renderer="octane", quality="draft", sun={"elevation": 40, "azimuth": 220},
      lights=[{"name": "Lamp", "kind": "sphere", "radius": 4, "position": (0, 0, 150), "intensity": 800,
      "unit": "lm", "kelvin": 2700}], environment={"path": "sky.exr"}, camera={"name": "Cam",
      "position": (300, -400, 150), "aim_at": (0, 0, 100), "fov": 55}, render={"camera": "Cam",
      "size": (1280, 720)}) creates or updates each thing by name in one step and returns the
      rendered image with the reply. Light kinds: rectangle, disk, sphere, cylinder, point. Never
      build renderer-specific light, sun or camera classes by hand; mx.help("render_setup") is the manual.
    View: mx.capture(views=["front", "three_quarter"], shading="clay", edges=True) returns the image file,
      mx.open_viewport(), mx.frame(*targets), mx.orbit(yaw, pitch), mx.look(eye, target), mx.viewport_capture().
      mx.show(path_or_capture) returns an image with the reply, so you see it without reading the file.
    Any tool: mx.tools.<tool_name>(**arguments) returns that tool's result. mx.help() lists every tool by
      group, mx.find_tools("boolean subtract") returns the manuals of the best matches and mx.help("tool_name")
      one tool's manual. Raw MAXScript: mx.maxscript(code). Property values may be numbers, bools or (x, y, z).

    print() output and a variable named `result` are returned, with the list of tool calls made
    and, in `warnings`, what 3ds Max said beside a call's result (an open dialog, a call that
    went to another Max, a script that ran with its prompts shown).
    Do not render unless the user asks.
max_assistantprompt Default assistant instructions for MCP clients like Claude Desktop.
Default assistant instructions for MCP clients like Claude Desktop.
Plugin Gotchasresource Per-plugin gotchas as an MCP template resource.Network
Per-plugin gotchas as an MCP template resource.
Plugin Guideresource Per-plugin operational guide as an MCP template resource.Network
Per-plugin operational guide as an MCP template resource.
Plugin Indexresource Installed plugin family summary as an MCP resource.Network
Installed plugin family summary as an MCP resource.
Plugin Manifestresource Per-plugin manifest as an MCP template resource.Network
Per-plugin manifest as an MCP template resource.
Plugin Recipesresource Per-plugin curated recipes as an MCP template resource.Network
Per-plugin curated recipes as an MCP template resource.
get_skillresource 3ds Max MCP development guide exposed as an MCP resource.Filesoutside text
3ds Max MCP development guide exposed as an MCP resource.
add_controller_targettool Add a node variable or constraint target to an existing controller.
Add a node variable or constraint target to an existing controller.
add_data_channeltool Append operators to a Data Channel modifier's internal stack.
Append operators to a Data Channel modifier's internal stack.

    Reuses the first Data Channel modifier on the object by default. Operators
    are added via DataChannelModifier.AddOperator at StackCount() — not by
    stacking another Data Channel modifier on the object.

    modifier_index: 1-based object modifier stack slot (must be Data Channel).
    create_new: force a new Data Channel modifier on the object stack.
add_dc_script_operatortool Add the legacy MAXScript input operator with explicit executable authorization.
Add the legacy MAXScript input operator with explicit executable authorization.
add_modifiertool Add a modifier to an object, with its parameters set in the same step.
Add a modifier to an object, with its parameters set in the same step.

    params: {name: value} in MAXScript units (degrees, 0-1 colors, choice names
    such as {"BendAxis": "x"}, transforms such as {"gizmo": {"rotation": [0, 0, 45]}});
    the reply reads each one back. parameters(class_name=..., kind="modifier")
    lists what a modifier takes. Legacy "key:value" text is still accepted.
add_tyflow_collisiontool Add/configure Collision operator and wire collider node list.FilesEnv varsoutside text
Add/configure Collision operator and wire collider node list.
add_tyflow_eventtool Add one event to an existing tyFlow object.FilesEnv varsoutside text
Add one event to an existing tyFlow object.

    event_position is the event's [x, y] in the tyFlow editor. Without it the event goes
    right of the rightmost one, on its row; the reply's position says where.
agent_viewporttool Own a shaded floating AGENT VIEWPORT without moving the user's view.Filesoutside text
Own a shaded floating AGENT VIEWPORT without moving the user's view.

    action: open | status | release | minimize | restore | frame | orbit | pan |
    zoom | ray | pick | project | render | capture | stop_capture.
    open reserves an unused floating panel once.
    render requires mode=shaded|activeshade|vray_ipr|vray_vfb|corona_vfb. ActiveShade uses the assigned
    ActiveShade renderer; renderer_source=production uses the production renderer
    if it supports ActiveShade. vray_ipr uses the current V-Ray CPU/GPU renderer.
    vray_vfb and corona_vfb open their renderer's VFB IPR locked to the agent view.
    Corona requires the current production renderer and preserves its denoising settings. V-Ray previews temporarily
    enable progressive IPR and a denoiser, restoring settings on stop. Other renderers
    expose different denoisers; ActiveShade does not promise automatic denoising.
    Existing renders in other views or the VFB are refused. shaded stops the owned preview.
    capture chooses the agent viewport or visible VFB automatically. Optional crop
    [x,y,width,height] is relative to the VFB client area in physical pixels.
    stop_capture saves the current image first, then stops the owned preview.
    VFB captures exclude overlapping windows. capture_method=window selects Windows
    window capture for the agent panel; auto prefers its direct Nitrous buffer.
    Both require an open, non-minimized panel; neither activates or uncovers it.
    V-Ray's menu API briefly requires internal viewport activation, then restores
    the user's view and focus. Status reports render mode and capabilities.
    Render captures show progressive pixels, not proof that rendering is current
    or converged. Switch to shaded and capture again before component targeting.
    start_minimized=true parks it until restore; minimize parks it between uses.
    Minimized panels report capture_ready=false. Restore before navigation or
    capture: hidden/minimized Nitrous cannot supply fresh images. Initial opening
    briefly activates the panel in Max, then restores the user's view and focus.
    After open, set_viewport/capture_viewport/capture_multi_view use it by default.
    release hides only the owned panel. Closed/reconfigured panels fail explicitly.
    frame fits named geometry, lights, cameras, helpers and descendants. Without
    names it fits visible geometry, falling back to lights/cameras/helpers in a rig-only scene.
    orbit uses yaw/pitch degrees about the framing target; pan x/y are view-plane
    scene units; zoom factor<1 moves closer and >1 farther. ray uses normalized
    image x/y (0..1, top-left origin); pass the capture's view_token as expected_view.
    pick returns the nearest geometry or visible thick-spline hit with node handle,
    world point and surface normal. Follow with inspect_mesh near the point for
    base-cage component IDs, or draw_spline get for a spline's editable knots.
    project maps up to 2000 world points into native-viewport pixel coordinates
    (width/height in result), with depth in scene units, in_front and in_frame.
    Use expected_view to match the capture. Resized image coordinates must be
    scaled to native width/height. Projection alone does not test occlusion.
    No scene selection, hiding, camera nodes, or geometry edits. Arbitrary-node
    isolation is not yet supported by this Nitrous panel.
analyze_node_orientationtool Inspect world-space orientation, pivots, bounding boxes, and local axes for scene nodes.
Inspect world-space orientation, pivots, bounding boxes, and local axes for scene nodes.
assign_controllertool Create and assign a controller to a sub-anim track.
Create and assign a controller to a sub-anim track.

    Prefer script_controller for script authoring: it validates typed bindings,
    reports compilation/evaluation errors, and guards assignment with readback.
assign_materialtool Create a material, or share an existing object's material with targets.
Create a material, or share an existing object's material with targets.

    params: {name: value} in MAXScript units: colors [r, g, b] as 0-1 floats or
    "#rrggbb", choice names, and maps built in place
    ({"base_color_map": {"class": "Bitmaptexture", "params": {"filename": "..."}}}).
    The reply reads each one back. parameters(class_name=..., kind="material")
    lists what a material takes. Legacy "key:value" text is still accepted.

    Existing material: pass source_name/source_handle (the OBJECT that wears it, not
    the material's name) instead of material_class, material_name and params. Both
    source selectors cross-check when supplied.
    This instances the actual material, including maps and sub-materials, so
    later material edits remain shared. Targets are preflighted and assigned in
    one undo step; missing/ambiguous nodes fail without partial assignment.
batch_file_infotool Read metadata from multiple .max files in a single call.
Read metadata from multiple .max files in a single call.
batch_rename_objectstool Rename multiple objects in a single batch operation.
Rename multiple objects in a single batch operation.
batch_replace_materialstool Run several replace_material entries ({source, target}) as one undoable operation.
Run several replace_material entries ({source, target}) as one undoable operation.

    source = material to apply, target = material to replace, as in
    replace_material. Entries apply in order, and each one is evaluated against
    the scene as the previous entries left it, so chains such as A->B then B->C
    are deterministic and A->B then B->A does not swap (go through a temporary
    material). Each result carries replace_material's fields and status;
    preview/dry_run plans the same chain without changing the scene.
    source_from applies to every entry unless an entry has its own source_from.
boolean_operationtool Boolean modeling on a base object via the Boolean modifier (BooleanMod).
Boolean modeling on a base object via the Boolean modifier (BooleanMod).

    Actions:
    - apply: append `operands` (node names) and/or `cutters` (inline defs) with
      `operation` — union | subtract | intersect | merge | attach | insert | split.
      Reuses the topmost BooleanMod unless new_modifier=true. Non-live operands are
      CONSUMED (scene node deleted, geometry captured; the operand keeps its name
      inside the modifier). live=true keeps operand nodes in the scene (hidden).
      `operations` optionally overrides per operand (parallel to `operands`).
      operation_option: imprint (edges only) | cookie (cut without adding faces).
      method: mesh (default) | openvdb (+ voxel_size for VDB resolution).
      `cutters`: scratch primitives built and applied in the same call — never
      litter the scene. Each: {name (required), shape: box|cylinder|sphere (default
      box), size: [x,y,z] or number, pos: [x,y,z] bbox CENTER, rot: [deg,deg,deg],
      operation?, segments? (4-256; cylinder default 64, sphere 32)}.
      Cylinder size is [diameterX,diameterY,height], using the smaller diameter.
      Cylinder is Z-axis (rot to orient); size a through-cut past both
      faces. `repeat` {count, axis: x|y|z|-x|-y|-z, spacing} arrays every cutter
      along the axis, naming instances <name>_1..N.
    - list: enumerate operand stack — flat index, name, operation, option, disabled.
    - set_operand: retune operand at operand_index — operation / operation_option /
      rename (anchor-friendly) / disable.
    - remove_operand: delete operand at operand_index from the stack.
    - extract_operand: copy operand at operand_index back out as a scene object.

    Use when: cutting holes, insets, panel lines, or fusing parts on geometry.
    Not when: collapsing the result (collapse_modifier_stack) or spline booleans.

    backend: auto uses BooleanMod when available (2024+), otherwise ProBoolean
    for Max 2023; existing ProBoolean bases retain their route. Explicit modifier
    or proboolean selects a route. ProBoolean supports apply only, with mesh
    union/subtract/intersect/merge, inline cutters and repeats. Live references,
    imprint/cookie and operand-stack actions require the modifier route.
    It retains an editable compound base, requires no
    modifiers or instances on the base, and rejects modifier-only options/actions.
capture_hang_diagnosticstool Explain a hung 3ds Max from native thread stacks (what blocks the main thread).FilesEnv vars
Explain a hung 3ds Max from native thread stacks (what blocks the main thread).

    OS-only: never sends anything to Max, so it is safe while Max is hung; each
    thread is paused for a few milliseconds while its stack is read (on Windows 11
    the OS resumes it even if this server is killed meanwhile).
    Use when: a tool returned MAX_NOT_RESPONDING, or get_bridge_status reports
    not_responding.
    Not when: Max is responsive; this is not a profiler.
    pid defaults to the selected Max, else the only running one. all_threads=True
    dumps every thread (default: main thread, window owners, busy threads).
    save writes the full .txt/.json under %LOCALAPPDATA%/3dsmax-mcp/diagnostics
    (the newest 20 captures are kept).
    Returns findings, the main-thread stack preview, hung windows (visible ones;
    hidden ones are counted per thread) and process health.
capture_multi_viewtool Capture several views, or one view over time, to a stitched file and return compact metadata.
Capture several views, or one view over time, to a stitched file and return compact metadata.

    Uses AGENT VIEWPORT when open; source=active explicitly uses the user view.
    views: up to 8 of front, back, left, right, top, bottom, perspective, three_quarter,
    current (the view as it is), or [x, y, z] directions from the subject toward the eye
    (Z up; [0, -1, 0.3] is front, slightly above). Directions are perspective views framed
    like the named ones. Default: front, right, back, top.
    shading: smooth | flat | wireframe | clay for this capture only; edges=true adds
    edged faces (clay with edges shows topology). The view's own settings come back after.
    frames / frame_count: a strip of ONE view over time instead: up to 12 explicit frame
    numbers, or 2-12 frames spread over the animation range, captured in ascending order.
    Give at most one entry in views (default current). It is framed once, at the current
    frame, and held so motion reads across tiles; the time slider comes back after.
    Every frame evaluates the scene, so simulations can be slow.
    wait_seconds (max 50): a capture still running then returns {"status": "running",
    "job": ..., "progress": ...}; call capture_multi_view(job=...) to wait again. Never
    repeat the original call while its job runs.
    capture_method=auto prefers Nitrous with window capture if unavailable;
    window uses Windows client capture for every tile. Both exclude overlapping windows.
    frame_root frames a named hierarchy. In the agent panel it does not hide other
    nodes; in legacy active mode it also temporarily isolates that hierarchy.
    Read the returned `file` path to view the grid. return_image is deprecated
    and ignored — the image is never inlined.

    Use when: verifying scene changes from several angles (preferred after meaningful edits),
    or animation and simulation over time (frames).
    Not when: a single active viewport is enough (capture_viewport) or the user asked to render.
capture_screentool Capture the desktop or an unobscured V-Ray, Corona or FStorm frame buffer.Filesoutside text
Capture the desktop or an unobscured V-Ray, Corona or FStorm frame buffer.

    Read the returned `file` path to view the capture. return_image is
    deprecated and ignored — the image is never inlined.
    target=screen captures the primary monitor; vray_vfb, corona_vfb or fstorm_vfb
    finds that renderer's open Frame Buffer (FStorm RT) in this Max process and captures its
    client area. crop=[x,y,width,height] is relative to that area in physical
    pixels BEFORE resizing, for example to exclude VFB toolbars. Window capture
    excludes overlapping windows without activating or uncovering the target.
    Keep it open and non-minimized. Windows may briefly show a capture border.
    This does not start, stop, or wait for render convergence. Window capture requires
    the updated bridge and never falls back to desktop pixels on failure.
capture_tyflow_editortool Open the flow's tyFlow editor and capture that window for visual wire inspection.FilesEnv varsoutside text
Open the flow's tyFlow editor and capture that window for visual wire inspection.

    Only the editor window is captured (never the desktop), even when other
    windows cover it. get_tyflow_graph reads wiring from the flow itself. With
    an older bridge (wiring_source "ledger"), this capture plus the returned
    event rectangles (position/width per event) lets an agent map wires
    visually and reconcile them via set_tyflow_wiring_ledger.
    Pass enabled=true to allow the capture. The editor is left open afterwards.
    An editor that has just opened can still show an empty canvas: look at the
    image, and call again (reset_view=false) when the graph is missing.
capture_viewporttool Capture AGENT VIEWPORT when open, otherwise the active view, to a saved file.
Capture AGENT VIEWPORT when open, otherwise the active view, to a saved file.

    Read the returned `file` path to view the capture. return_image is
    deprecated and ignored — the image is never inlined.
    source: auto | agent | active. Explicit agent never falls back into a user view.
    capture_method: auto prefers the direct Nitrous buffer, with window capture
    if unavailable; window requests Windows client capture. Both exclude other
    windows. Minimized/hidden agent panels still refuse capture; no view is activated.

    Use when: quick visual proof after a scene change.
    Not when: the user asked for a full render (render_setup) or a multi-angle grid
    (capture_multi_view).
clone_objectstool Clone (copy/instance/reference) objects in the scene.
Clone (copy/instance/reference) objects in the scene.

    count is the number of NEW copies per source (1-200), excluding the original.
    Each repetition uses offset * (1..count) from the original in world units.
    Example: count=14, offset=[60,0,0], mode="instance" builds a 15-beam row.
    Repeated arrays preserve hierarchies and run in one undo step.
    Returns actual cloned names and spatial snapshots; duplicate sources are ignored.
collapse_modifier_stacktool Collapse the modifier stack on an object.
Collapse the modifier stack on an object.
connect_tyflow_operatortool Connect a test/Send Out operator's output to a target event (documented API).FilesEnv varsoutside text
Connect a test/Send Out operator's output to a target event (documented API).

    Re-connecting an operator that already has a connection re-targets it; the
    ledger edge for (from_event, from_operator) is replaced accordingly.
    create_if_missing adds a Send Out named from_operator to from_event when no
    operator of that name exists (created_send_out reports it).
contact_checktool Find meshes that pass through each other, touch, or float just short of contact.
Find meshes that pass through each other, touch, or float just short of contact.

    Scope: `names` checks those nodes pairwise. `names` + `against` checks each
    name only against the `against` nodes (e.g. all legs against the floor and
    seat). With neither, the current selection is used, or all visible geometry
    when nothing is selected. Only pairs whose world bounding boxes come within
    near_gap are measured.

    Named nodes that are not meshes (group heads, dummies, shapes, lights),
    empty meshes and meshes over max_faces are returned in `skipped` with a
    reason and a warning; missing or ambiguous names still fail. At least two
    meshes must remain, with one in `names` and one in `against` when `against`
    is used.

    time_budget_s (1-300) bounds the run. Pairs are measured fewest faces
    first; when time runs out the result has complete=false, pairs_measured
    below candidate_pairs and a warning. Unmeasured pairs are unchecked, not clear.

    Status per pair, most severe first:
      penetrating  - a vertex (or, failing that, a face center) lies inside the other
                     closed mesh deeper than tolerance
      intersecting - surfaces cross with no vertex inside (thin parts, open meshes)
      touching     - closest vertex within tolerance of the other surface
      near_gap     - clearance above tolerance but within near_gap (floating parts)
      separate     - hidden unless include_separate=true

    depth is a lower bound (deepest inside vertex to surface); gap is an upper
    bound (vertex to surface). Both in scene units, world space, evaluated
    meshes with modifiers. tolerance defaults to 0.1 mm and near_gap to 10 mm,
    converted to scene units. Points are world positions to aim a camera or
    inspect_mesh at. An open mesh has no inside, so a part piercing it reports
    intersecting; its own vertices can still sit inside a closed part and report
    penetrating. Read only; the scene is not changed.
cosmos_downloadtool Download a Cosmos model, material or HDRI without importing it.
Download a Cosmos model, material or HDRI without importing it.
    Existing downloads are reused. Waits up to 0..60 seconds and returns ready,
    queued or downloading; call again to continue waiting. Requires Cosmos sign-in.
    The asset ID comes from cosmos_search.
cosmos_importtool Download if needed and import one Cosmos asset into the selected Max instance.
Download if needed and import one Cosmos asset into the selected Max instance.
    Returns imported nodes, materials or maps and their file checks. Materials/maps
    use the renderer's normal importer; selection is preserved. A pending
    download makes no scene edit. Repeating a completed model import creates another
    instance. If import completion is unknown, inspect the scene before retrying.
cosmos_searchtool Find compatible Cosmos assets for the selected Max instance.
Find compatible Cosmos assets for the selected Max instance.
    Returns asset IDs, kinds, preview URLs, file sizes and download states. Filter models,
    materials or HDRIs with kind. Renderer defaults to the current scene renderer.
    image_path (absolute .png/.jpg/.jpeg/.webp, instead of query) finds assets that look
    like the image, best match first, e.g. a reference photo or a viewport capture.
    sizes=true adds each model's bounding box: bbox_cm, size_cm and size_scene [x,y,z].
    image_path and sizes need Cosmos Browser 2026.11.04 or newer.
    thumbnails=true also saves one labeled contact sheet of the page and returns its
    file path in contact_sheet; read that file to see the assets. Tile N is the asset
    whose tile is N. Use cosmos_download to cache an asset or cosmos_import to import it.
create_material_from_texturestool Create a fully-wired PBR material from a folder of texture maps.
Create a fully-wired PBR material from a folder of texture maps.

    Pass ``material_class`` to pick the renderer — any value from tripback
    ``supported_material_classes`` / ``hint.renderers`` (OpenPBR default, Physical,
    Arnold, Redshift, V-Ray, CoronaPhysicalMtl, MaterialX, Octane, etc.).
create_meshtool Create an Editable Poly from explicit WORLD vertices and ordered polygon faces.
Create an Editable Poly from explicit WORLD vertices and ordered polygon faces.

    faces use 1-based vertex IDs, at least three distinct IDs each. Counterclockwise
    winding viewed from outside gives outward normals. Supports quads and n-gons;
    no forced triangulation. Useful for curved furniture, lofted sections, and custom
    architectural details; then refine through inspect_mesh/mesh_edit.
    Rejects an existing name. Creation is one undo step with rollback on error.
create_objecttool Create a geometry object with spatial placement feedback.
Create a geometry object with spatial placement feedback.

    pos_mode controls how pos is interpreted:
    - ground (default): pos targets the bottom-center of the world bbox (floor contact).
    - center: pos targets the bbox geometric center.
    - pivot: pos sets the node pivot directly (legacy/advanced).

    params: {name: value} for any class's parameters in MAXScript units (degrees,
    0-1 colors, choice names); the reply reads each one back under "params".
    parameters(class_name=type) lists what a class takes. Legacy "key:value"
    text is still accepted.

    Returns JSON with name, class, placement, bbox, axes, pivot, and localAxesWorld.
create_shell_materialtool Wrap render + export materials in a Shell Material (dual pipeline).
Wrap render + export materials in a Shell Material (dual pipeline).

    **Wrap existing materials** — pass ``render_material`` and optionally
    ``export_material`` (material names already in the scene).

    **Build from textures** — pass ``texture_folder`` and ``render_material_class``
    (any PBR class from tripback: OpenPBR, Physical, CoronaPhysicalMtl, Arnold, Octane, etc.).
    Optionally set ``export_material_class`` for a different export/viewport material;
    defaults to the same class as the render side. Names default to
    ``{shell_name}_render`` / ``{shell_name}_export`` unless overridden via
    ``render_material`` / ``export_material``.
create_texture_maptool Create a texture map and store it as a MAXScript global variable.
Create a texture map and store it as a MAXScript global variable.
create_tyflowtool Create tyFlow with one event and a configurable operator list or a preset.FilesEnv varsoutside text
Create tyFlow with one event and a configurable operator list or a preset.

    Without operators or preset, the event gets Birth, Shape (sphere) and Display.
    preset: rain | snow | fountain | burst | debris adds Birth (amount particles),
    Speed (scaled from speed), Force, Shape and Display; the flow defaults to
    ty_<preset> and the event to the capitalized preset name. Pass operators or
    preset, not both. event_name defaults to Emit otherwise.
curve_modeltool Construct editable curves, swept profiles or matched quad lofts with saved controls.
Construct editable curves, swept profiles or matched quad lofts with saved controls.

    preview evaluates locally without Max. create saves a new named object and its
    recipe in one undo step. read returns controls/token; include_definition adds
    source. update requires expected_model from read and changes existing numeric
    parameters, preserving node placement/materials/modifiers and component count.
    Manual geometry edits, instanced bases and stale recipes block updates.

    definition={curves:{name:curve,...},output:{kind:curve|sweep|loft,...},tolerance:.01}.
    Curve kinds: polyline, spline (through points), bezier (4 control points), path
    (start + line/arc/tangent_arc/bezier segments), circle, arc, rounded_rectangle.
    plane: xy|xz|yz or {origin,x_axis,normal}. Points have 2/3 local coordinates.
    Dimensions accept arithmetic strings referring to parameters; angles are degrees.
    polyline supports closed, fillet radius, and outward miter offset for closed XY.
    rounded_rectangle: width,depth,radius. circle/arc: radius,center,start_angle,sweep.
    path segment: {kind,to,label?}; arc adds radius/clockwise; tangent_arc adds
    tangent (or inherits previous); bezier adds start_tangent/end_tangent and
    start_length/end_length (directions of travel, positive handle lengths).

    output curve: {kind:"curve",curve:"outline"}.
    output sweep: {kind:"sweep",path:"rail",profile:"section",up:[0,0,1],
      path_samples:48,profile_samples:32,twist:0,scale:[1,1],caps:true}.
    Profile is CCW in world XY at z=0. up sets its initial Y direction; must not
    parallel the path. Frames follow bends without arbitrary roll. Closed paths
    need caps:false, equal scales and whole-turn twist.
    output loft: {kind:"loft",sections:["a","b"],profile_samples:32,
      align:"start"|"auto",caps:true}. Same winding required; auto chooses cyclic
    seams at creation and locks correspondence across parameter updates.
    All outputs support reverse on meshes. No extra scene helper nodes. Recipes
    retain source curves; mesh outputs are editable quad cages, not live Sweep
    modifiers. Curve QA is sampled; intersections/thickness of surfaces are not
    certified. Preview, create, inspect visually, then refine controls.
delete_effecttool Delete an atmospheric or render effect by index.
Delete an atmospheric or render effect by index.
delete_objectstool Delete objects from the 3ds Max scene by name.
Delete objects from the 3ds Max scene by name.
disconnect_tyflow_operatortool Disconnect an operator's output and drop its ledger edge.FilesEnv varsoutside text
Disconnect an operator's output and drop its ledger edge.
discover_plugin_classestool Enumerate ALL registered classes in 3ds Max's DLL directory via native C++ SDK.
Enumerate ALL registered classes in 3ds Max's DLL directory via native C++ SDK.
discover_plugin_surfacetool Discover plugin-related classes and summarize likely entry points.Network
Discover plugin-related classes and summarize likely entry points.
draw_splinetool Draw and edit spline shapes from explicit points (world-space).
Draw and edit spline shapes from explicit points (world-space).

    Actions:
    - create: new shape from `points` — each point is [x,y,z] or a dict
      {pos, type: corner|smooth|bounded|bezier|bezierCorner, seg: line|curve, in_vec, out_vec}
      (bezier handle vecs are absolute positions). closed=true closes the loop.
      knot_type sets the default; thickness>0 makes it renderable; center_pivot
      moves the pivot to the bbox center. Default smooth uses Max auto tangents and
      can overshoot uneven point spacing. Use bounded for sampled pipe/cable paths:
      it generates explicit short, aligned Bezier handles without segment backtracking
      along endpoint chords. This is not a global self-intersection guarantee.
      bounded is supported by create/add_spline only; corner preserves a polyline.
    - add_spline: add another spline (from `points`) to an existing shape — holes,
      multi-outline shapes. Converts parametric shapes to editable SplineShape.
    - get: read back splines/knots (positions, types, handle vecs) plus optional
      `samples` length-uniform points per spline for silhouette comparison.
    - set_knots: edit knots via `knots` list — {spline, knot, pos, in_vec, out_vec,
      type}; moving a bezier knot without explicit vecs drags its handles along.
    - insert_knot: refine `segment` of spline_index at `param` (0-1) — adds a knot.
    - delete_knot: remove knot_index from spline_index.
    - delete_spline: remove spline_index entirely.
    - set_render: toggle renderable mesh — thickness (0 disables), sides.

    Edits target the spline BASE, preserving Surface, CrossSection, Sweep, etc.
    A parametric base with modifiers requires convert=true to collapse explicitly;
    bare parametric shapes still convert automatically. A drawn Line already
    counts as editable and is never converted. Coordinates are world-space.
    Pair with modifiers for solids: Extrude, Lathe, Bevel, Sweep on the result.
    Use when: tracing reference profiles/silhouettes, drawing paths, building
    curved forms parametric primitives cannot express, refining spline curves.
    Not when: simple parametric shapes (create_object: Circle, Rectangle, ...).
edit_curvetool Atomic world-space base-spline edits guarded by inspect_curve.curve_token.
Atomic world-space base-spline edits guarded by inspect_curve.curve_token.

    edits: [{op:"set",spline:1,knot:2,pos:[x,y,z],in_vec:...,out_vec:...,
    type:corner|smooth|bezier|bezierCorner}]. Fields are optional; moving pos
    translates existing handles unless explicitly replaced. Handles are absolute
    world positions. Each knot appears once per batch; all IDs preflight before
    writes. Editing smooth/corner handles requires type:"bezierCorner" or "bezier".

    Topology operations: {op:"insert",spline:1,segment:2,param:.5},
    {op:"delete",spline:1,knot:2}, {op:"reverse",spline:1},
    {op:"close"|"open",spline:1}. Use one topology operation per call and
    inspect again for new IDs. No conversion or stack collapse. Shared bases are
    rejected; make unique first. A manual edit to a curve_model object blocks its
    parameter updates until geometry returns to a retained recipe state.
edit_verticestool Read and manipulate Editable_Poly vertices in world space.
Read and manipulate Editable_Poly vertices in world space.

    Actions:
    - get: vertex positions — filter by `indices`, `in_bbox` [minx,miny,minz,
      maxx,maxy,maxz], or `near_point` + `radius`; capped at max_verts.
    - move: translate `indices` (all verts if omitted) by `offset` [x,y,z].
      falloff>0 also drags surrounding verts with (1-d/r)^2 soft weighting.
    - set: place `indices` at explicit `positions` (parallel lists).
    - conform: pull `indices` (all if omitted) onto `target` — a spline (closest
      point on curve `spline_index`) or geometry (ray-cast along `axis`:
      x|y|z casts both ways, +x/-x/... one way). `axes` masks which world axes
      the displacement applies to (e.g. "xz" fits a silhouette while preserving
      width); `strength` is the fraction moved (1.0 = all the way).

    Edits hit the Editable_Poly BASE object beneath any modifiers (cage editing —
    TurboSmooth etc. update live). Non-poly bases: pass convert=true (collapses
    the stack) or use collapse_modifier_stack first.

    Use when: fitting geometry to a reference profile, shaping after blockout,
    fixing silhouettes, targeted vertex surgery no modifier expresses.
    Not when: uniform deformations (Bend/Taper/FFD via add_modifier) or
    sub-object face/edge ops (Edit_Poly workflows).
execute_maxscripttool Execute arbitrary MAXScript in 3ds Max and return the result.
Execute arbitrary MAXScript in 3ds Max and return the result.

    Use when: no dedicated MCP tool covers the operation (custom one-offs, rare APIs).
    Not when: objects, materials, selection, transforms, modifiers, layers, or scene queries —
    prefer the matching dedicated tool instead of raw MAXScript.

    By default the script runs in Max's quiet mode: prompts such as queryBox,
    overwrite and missing-file warnings silently take their default answer.
    A script that mentions resetMaxFile, loadMaxFile, fetchMaxFile, quitMax,
    checkForSave, "max file new/open", "max reset file", "max fetch" or the
    Interface's FileReset/FileFetch/LoadFromFile runs with prompts shown, because
    quiet mode skips the save-changes prompt (checkForSave() returns true and
    resetMaxFile() discards unsaved work): a save-changes prompt then returns
    BLOCKED_BY_DIALOG instead of discarding work (#noPrompt or quiet:true arguments
    in the script still suppress it, and so discard unsaved changes: add them only
    with the user's OK). quiet=False always shows prompts. quiet=True forces quiet
    mode, except on such a script: there it needs allow_discard=True as well; pass
    both only when the user agreed to lose unsaved changes. The check reads only
    this text: for a script that runs other scripts (fileIn, include,
    python.ExecuteFile, macros.run) that may reset, open or quit, pass quiet=False.
    Answer a shown prompt with max_dialogs. Such a script is refused with
    UNSAVED_CHANGES, before anything runs, while the scene has unsaved changes
    (loadMaxFile never asks to save, even with prompts on); save first, or pass
    allow_discard=True with the user's OK (a script that calls checkForSave()
    still shows its prompt then). Edits made with undo off, as plain
    execute_maxscript edits are by default, don't mark the scene modified, in Max too.

    Always pass #noPrompt to importFile, including OBJ/FBX imports:
    importFile @"C:/assets/model.fbx" #noPrompt
    Import dialogs block execution and can cause MCP timeouts. Configure importer
    options before importing; do not override #noPrompt with quiet:false.
execute_pythontool Execute Python in 3ds Max; return stdout, stderr and a JSON-compatible value.
Execute Python in 3ds Max; return stdout, stderr and a JSON-compatible value.

    Use when no dedicated tool covers the operation. Runs on Max's main thread
    with pymxs and rt (pymxs.runtime) in scope.
    Assign `result` to return it in `value` (JSON-compatible; otherwise null).
    Each call has fresh variables; imported modules remain loaded in Max.
    Undoable scene edits form one undo step and roll back on an uncaught error.
    File I/O and other effects outside Max's undo system cannot be rolled back.
    Python errors include captured output and a traceback in error.details.
    Code that mentions a reset, open, fetch or quit command (rt.loadMaxFile,
    rt.resetMaxFile, ...; see execute_maxscript) runs with prompts shown and is
    refused with UNSAVED_CHANGES while the scene has unsaved changes; save
    first, or pass allow_discard=True with the user's OK.
geometry_qatool Check evaluated mesh topology without changing the scene or collapsing its stack.Filesoutside text
Check evaluated mesh topology without changing the scene or collapsing its stack.

    Pass name/handle, or omit both for the one selected node. Counts boundary
    edges, >2-face non-manifold edges, inconsistent adjacent triangle winding,
    degenerate/duplicate triangles, disconnected edge-components and isolated
    vertices. Samples include world positions; limit=1..100 caps samples only.
    All geometry is checked up to max_faces (default 100000, maximum 500000;
    vertices capped at 3*max_faces). A limit failure never returns partial QA.
    area_epsilon uses squared scene units; 0 chooses bbox_diagonal^2 * 1e-12.
    IDs are evaluated snapshot vertices/triangles, NOT inspect_mesh base-cage IDs.
    Use sample centers to inspect the base cage before editing. snapshot_token
    identifies this report only and is not a mesh_edit expected_mesh token.
    Open boundaries/separate components can be intentional. No welding, repair,
    self-intersection, thickness, vertex-manifoldness, or custom-normal checks.
get_bridge_statustool Ping the MCP bridge for protocol/transport metadata.FilesNetworkEnv varsoutside text
Ping the MCP bridge for protocol/transport metadata.

    Use when: a tool failed with a connection/transport/claim error and you need to diagnose.
    If Max is busy or hung, returns pong=false with bridge_state, what holds the main thread
    (this server's request, another MCP client's, or work outside the bridge) and process health.
    bridge_state blocked_by_dialog: a modal dialog holds a request; read it with max_dialogs.
    Not when: starting a session or before every task — prefer query_scene for scene work.
get_camera_sequencetool Get only the camera-assigned State Sets, sorted by start frame.
Get only the camera-assigned State Sets, sorted by start frame.
get_dependenciestool Trace what references an object (refs.dependents / refs.dependentnodes).
Trace what references an object (refs.dependents / refs.dependentnodes).

    direction: "dependents" lists every reference maker that depends on the object
    (controllers, modifiers, internal reference managers); "dependentnodes" lists only
    the nodes. For what the object itself references, use walk_references.
get_effectstool List all atmospheric effects and render effects in the scene.
List all atmospheric effects and render effects in the scene.
get_hierarchytool Get the hierarchy tree of an object (recursive children).
Get the hierarchy tree of an object (recursive children).
get_instancestool Get all instances (copies sharing the same base object) of a scene object.
Get all instances (copies sharing the same base object) of a scene object.
get_material_librarytool Inspect the active material library scratchpad and Material Editor slots.
Inspect the active material library scratchpad and Material Editor slots.

    source accepts:
      current — 3ds Max currentMaterialLibrary, also known as the temporary
        material library or scratchpad.
      medit — the 24 Compact Material Editor sample slots (meditMaterials).
      combined — currentMaterialLibrary followed by meditMaterials.
      all — currentMaterialLibrary and meditMaterials as separate sections.
get_material_slotstool Get compact material slot/property info without schema caches.
Get compact material slot/property info without schema caches.

    Use when: inspecting map/param slots on a known material (prefer slot_scope='map').
    Not when: listing scene materials (get_materials) or building materials from textures
    (create_material_from_textures / smart_import). Avoid slot_scope='all' + include_values
    on Arnold/Physical — output is huge.
get_materialstool List all materials assigned to objects in the current 3ds Max scene.
List all materials assigned to objects in the current 3ds Max scene.
get_object_propertiestool Get compact properties of a named object (transform, class, material name).
Get compact properties of a named object (transform, class, material name).

    Use when: you need a small property snapshot for one known object.
    Not when: searching the scene (query_scene) or a deep exploratory dump (inspect_object).
get_plugin_capabilitiestool Get 3ds Max version, available renderers, installed plugins, and class counts.
Get 3ds Max version, available renderers, installed plugins, and class counts.
get_plugin_manifesttool Return a structured plugin manifest derived from live runtime data plus curated hints.Network
Return a structured plugin manifest derived from live runtime data plus curated hints.

    The manifest is rebuilt from the live runtime on every call; nothing is cached.
get_railclone_outputtool Inspect RailClone getXMLOutput at the current frame, without rendering.
Inspect RailClone getXMLOutput at the current frame, without rendering.

    Returns paged item attributes verbatim: index, source_segment, instanced, tm,
    box, tags, plus future fields. Matrix/bounds strings keep RailClone's native
    convention; no coordinate conversion is inferred. offset is a zero-based row
    offset. total and truncated describe pagination. include_xml adds the full,
    unpaginated XML. Each call reevaluates output; pages are not a snapshot.
    Empty output is valid. Complete XML is capped at 4 million characters.
get_railclone_styletool Read complete RailClone style XML and a token for guarded replacement.
Read complete RailClone style XML and a token for guarded replacement.

    Requires RailClone 7.3.5+. Target by unique name or handle; both are cross-checked.
    XML is verbatim, including nested graphs and unknown fields. No reconstruction
    or truncation. Pass style_token as set_railclone_style.expected_style.
    Style XML is graph data, not a portable geometry/material asset package.
get_selected_max_instancetool Read this MCP server process's selected target and availability without switching it.
Read this MCP server process's selected target and availability without switching it.

    selection_generation differing from the one select_max_instance returned means the
    selection changed since, possibly by another session sharing this server.
get_session_contexttool Bundle bridge, capabilities, scene overview, and selection in one call.FilesNetworkEnv varsoutside text
Bundle bridge, capabilities, scene overview, and selection in one call.

    Use when: the user explicitly wants a full live snapshot (bridge + caps + scene + selection).
    Not when: starting a task or before every edit — prefer query_scene for scene reads and
    get_bridge_status only on connection failures.
get_state_setstool Get all State Sets with their camera assignments and frame ranges.
Get all State Sets with their camera assignments and frame ranges.
get_tyflow_graphtool Full tyFlow graph view: events, operators with their types, properties, edges.FilesEnv varsoutside text
Full tyFlow graph view: events, operators with their types, properties, edges.

    Edges (from_event, from_op, to_event) and each operator's `type` are read
    from the flow itself (`wiring_source` "scene"), so wires drawn in the tyFlow
    editor and renamed operators are reported as they are. `graph_hash` covers
    the wiring and is the optimistic-concurrency token for `tyflow_apply_patch`.
    With an older bridge, `wiring_source` is "ledger": edges come from the MCP
    ledger and `ledger_status` is fresh, stale (edited outside MCP) or absent
    (reconcile with set_tyflow_wiring_ledger after an editor capture).
get_tyflow_infotool Inspect a tyFlow object with deep flow/event/operator/property readback.
Inspect a tyFlow object with deep flow/event/operator/property readback.
get_tyflow_particle_counttool Return tyFlow particle count at current frame or supplied frame.
Return tyFlow particle count at current frame or supplied frame.
get_tyflow_particlestool Return particle data rows from tyFlow read-only APIs.
Return particle data rows from tyFlow read-only APIs.
get_wired_paramstool Show existing wire connections on an object.
Show existing wire connections on an object.
harvest_tyflow_manifesttool Probe-harvest the tyFlow operator manifest and cache it per tyFlow version.FilesEnv varsoutside text
Probe-harvest the tyFlow operator manifest and cache it per tyFlow version.

    Without `refresh`, an existing cache is returned untouched (no Max traffic).
    `operator_names` limits the probe to specific types and merges results into
    the existing cache. Probing adds each operator (inert) to a hidden scratch
    flow and reads its property names/defaults; the saved graph then confirms
    which types joined the flow (`available`) and records their type IDs. The
    scratch flow is deleted afterwards.
inspect_controllertool Inspect the controller on a specific sub-anim track.
Inspect the controller on a specific sub-anim track.
inspect_curvetool Read an editable spline's world knots/handles, QA, and stale-edit token.
Read an editable spline's world knots/handles, QA, and stale-edit token.

    Spline is 1-based. knot_ids filters output; limit caps rows, not QA. read
    reports sampled planarity/intersections, tangent breaks, and analytic per-segment
    backtracking along endpoint chords (corners and backtracking can be intended).
    capture labels K#/I#/O# into an AGENT VIEWPORT image, never the user's view.
    pick needs x/y normalized to that image and expected_view; ranks knot and
    handle candidates within tolerance (fraction of shorter image dimension).
    Visibility is not guaranteed: overlapping front/back handles are ambiguous.
    Pass curve_token as edit_curve.expected_curve. Any base-geometry, topology
    or object-transform change invalidates it; selection alone does not.
    No conversion, selection changes or scene helper objects. Maximum 2000 base
    knots; QA uses a bounded polyline approximation, not an exact intersection test.
inspect_data_channeltool Inspect the active Data Channel stack in processing order.
Inspect the active Data Channel stack in processing order.

    operator_index is always the 1-based visible stack position. storageIndex
    is returned only as diagnostic proof because deleted operators leave stale
    entries in the modifier's internal operators array.
inspect_material_networktool Inspect a material graph: wired slots, nested maps, file manifest, and health issues.
Inspect a material graph: wired slots, nested maps, file manifest, and health issues.

    complete=false means part of the graph was not read, and hints.replicateReady is
    then false. truncated.depthLimited lists nodes with unread inputs: call again with
    a higher depth (up to 16). nodesOmitted/edgesOmitted need a higher max_nodes.
inspect_max_filetool Inspect an external .max file without opening it.
Inspect an external .max file without opening it.
inspect_meshtool Inspect an Editable Poly BASE cage with actionable component IDs and optional labeled capture.
Inspect an Editable Poly BASE cage with actionable component IDs and optional labeled capture.

    level: vertex | edge | face. Omit name/handle to inspect the one selected node.
    selection filters (intersect): indices:[1,...], current:true, all:true,
    bbox:[minx,miny,minz,maxx,maxy,maxz], near:[x,y,z]+radius,
    normal:[x,y,z]+angle (faces, degrees, default 10), boundary:true (edges),
    sharp:30 (edges with at least this dihedral angle, excludes open borders).
    Bbox/near match component CENTERS in world space; normals are world normals.
    Defaults to all components, capped by limit (1-1000). Does not convert geometry.
    Returns counts, selected IDs, ordered vertex IDs, positions, normals, mesh_token.
    IDs belong to the base cage beneath modifiers, not the subdivided surface.
    capture=true labels up to 100 matched components in AGENT VIEWPORT when open,
    otherwise the current viewport, and
    saves a PNG; inspect that file. Narrow the filter for legible labels.
inspect_objecttool Get a deep exploratory object summary (props, modifiers, material, instances).
Get a deep exploratory object summary (props, modifiers, material, instances).

    Target by name, or by handle when several objects share the name.

    Use when: you need a full dump of one object before editing it.
    Not when: listing/finding many nodes (query_scene) or a compact property snapshot
    (get_object_properties).
inspect_plugin_classtool Inspect a plugin class. schema_version=2 provides bounded SDK metadata,FilesNetworkEnv varsoutside text
Inspect a plugin class. schema_version=2 provides bounded SDK metadata,
    exact class/property refs, labels, declared limits, published enums and coverage.
    Query names/descriptions or request fields; follow next_offset for more.
    Version 1 preserves the legacy showClass response.
inspect_plugin_constructortool Return likely creation notes for a plugin class.FilesNetworkEnv varsoutside text
Return likely creation notes for a plugin class.
inspect_plugin_instancetool Inspect a live plugin. Version 1 preserves the legacy scene-node response.FilesNetworkEnv varsoutside text
Inspect a live plugin. Version 1 preserves the legacy scene-node response.
    schema_version=2 returns bounded native values, exact owner/property refs,
    schema/state guards, controllers and traversable map references. Query names
    or request fields; paginate with next_offset. owner_ref accepts returned refs,
    {node:{name/handle/path},scope:base_object|material|modifier,modifier_index:1},
    {root:renderer}, or {root:environment}. Modifier indices are 1-based.
inspect_propertiestool Deep-inspect all properties of an object, modifier, base object, or material.
Deep-inspect all properties of an object, modifier, base object, or material.
inspect_track_viewtool Inspect an object's controller/track tree in a Track View-style hierarchy.
Inspect an object's controller/track tree in a Track View-style hierarchy.
introspect_classtool Inspect SDK class descriptors and published interfaces; unpublished APIs may be absent.
Inspect SDK class descriptors and published interfaces; unpublished APIs may be absent.
introspect_instancetool Deep C++ SDK introspection of a live scene object with actual values.
Deep C++ SDK introspection of a live scene object with actual values.
introspect_osltool Inspect the API surface of any material, texturemap, or modifier class.
Inspect the API surface of any material, texturemap, or modifier class.
isolate_and_capture_selectedtool Capture isolated viewport screenshots of each selected object (resolves to top-level parents).
Capture isolated viewport screenshots of each selected object (resolves to top-level parents).
keyframe_trackstool Deterministic native animation edits. Actions: timeline; list/set; delete_keys/move_keys/scale_keys; resample or bake; normalize_tangents/style; match/loop; ort
Deterministic native animation edits. Actions: timeline; list/set; delete_keys/move_keys/scale_keys; resample or bake; normalize_tangents/style; match/loop; ort. Key-time edits use time/times or from_time/to_time. bake replaces keys in its sample window by default; resample preserves them unless replace_keys is true.
learn_scene_patternstool Analyze the current scene to learn real-world class usage patterns.
Analyze the current scene to learn real-world class usage patterns.
list_dc_operatorstool Discover the live Data Channel operator catalog.
Discover the live Data Channel operator catalog.

    Use a narrow query with include_properties=true before building a graph;
    this keeps responses compact while exposing the exact properties available
    in the running 3ds Max version.
list_dc_presetstool List available Data Channel presets without creating a scene object.
List available Data Channel presets without creating a scene object.
list_max_instancestool List live Max instances in default order without selecting one.
List live Max instances in default order without selecting one.

    `window` gives each instance's title (it names the open scene), `minimized` and
    `foreground`. The default is the Max the user can see: a shown window before a
    minimized one, then the one nearer the front. With several instances, check that the
    default is the one the user is working in, or select_max_instance the right one.
list_plugin_classestool List classes likely tied to a plugin or superclass family.Network
List classes likely tied to a plugin or superclass family.
list_tyflow_operatorstool Query the cached tyFlow operator manifest (no Max traffic).FilesEnv varsoutside text
Query the cached tyFlow operator manifest (no Max traffic).

    Matches query tokens against operator type names and property names
    (case-insensitive substrings). Each entry's `available` reports whether this
    installation could add that type when probed, and `family` which events
    take it: an event holds operators of one family (particle, terrain, vdb,
    inferno), set by its first operator. Run harvest_tyflow_manifest first if no
    cache exists.
list_wireable_paramstool Discover sub-anim parameters on an object that can be wired.
Discover sub-anim parameters on an object that can be wired.
load_dc_presettool Load a Data Channel preset into the object's DC modifier internal stack.
Load a Data Channel preset into the object's DC modifier internal stack.
loft_meshtool Create/read/update a parameterized quad loft stored on its mesh node in the .max file.
Create/read/update a parameterized quad loft stored on its mesh node in the .max file.

    create: name + sections [[[x,y,z],...],...], with matched point counts and
    corresponding point order. Coordinates start in world space. profile_closed
    wraps each section; close_path joins last section to first. Never duplicate
    the first point/section. caps adds n-gon ends only for closed profiles/open
    paths (planar, simple end profiles recommended); reverse flips all winding.
    Side faces stay quads. No automatic resampling, smoothing or intersection repair.
    Coordinates may be numbers or arithmetic strings using numeric parameters:
    '-width/2', 'radius*cos(pi/4)'. Supports + - * / % **, sin/cos (radians),
    sqrt, abs, min/max, pi; no Python/MAXScript execution or external dependencies.
    read: name/handle (or one selected node) returns compact parameters/counts/state.
    include_definition=true adds the full source sections on any action; default
    false avoids returning large construction arrays just to query a dimension.
    update: name/handle + parameters to change existing named values. Keeps vertex
    IDs, node placement, materials and modifiers. Rejects manual cage/topology
    changes and instanced bases. Definition/options cannot change during update.
    Creation + definition share one hold; updates roll back geometry and AppData
    on failure. Up to 16 cage/parameter states are retained to recognize geometry
    undo without depending on AppData undo behavior. Older unmatched cages fail.
main_threadtool Inspect or clean up what runs on the Max main/UI thread.
Inspect or clean up what runs on the Max main/UI thread.

    action:
      - "list" (default) — enumerate main-thread activity as JSON:
            redrawCallbacks {enabled, count, raw}  (run on EVERY viewport redraw)
            dotNetTimers [{scope,name,class,enabled,intervalMs}]
                (enabled=true => firing; tiny intervalMs = a landmine)
            generalCallbackHandlers (count of event-driven callbacks)
            globalsScanned, state {isAnimPlaying, activeShadeRenderer}
      - "native_threads" — the C++ side: every process thread attributed to its
            owning DLL, with per-thread CPU sampled over ~500 ms. Returns
            byModule [{module,threads,cpuMsDelta,cpuMsTotal,pctBusy}] and
            topThreads [{tid,module,cpuMsDelta}] — shows which native plugin is
            burning cycles (SetTimer/RegisterNotification have no enumeration API,
            but a chugging C++ timer/worker shows up here as CPU on its module).
      - "unregister_redraw"  name=<global fn>    remove one redraw-views callback
                                                 (e.g. name="gw_viewInfo")
      - "disable_all_redraw"                     disable ALL redraw-views callbacks
      - "enable_all_redraw"                      re-enable them
      - "stop_timer"         name=<global timer> .Stop() + .Enabled=false
                                                 (e.g. name="gSimClock")
      - "remove_callback"    name=<callback id>  callbacks.removeScripts id:<name>

    Reversible: redraw callbacks re-register on Max restart; enable_all_redraw
    undoes disable_all_redraw. Kill actions return JSON {ok, action, name?, error?}.
make_modifier_uniquetool Make an instanced modifier unique (de-instance it).
Make an instanced modifier unique (de-instance it).
manage_data_channel_stacktool Safely edit a Data Channel stack.
Safely edit a Data Channel stack.

    Actions: delete, reorder, set_enabled, set_frozen, set_blend,
    set_display, select. operator_index and reorder entries are 1-based visible
    stack positions, never the modifier's stale internal storage indexes.
manage_groupstool Manage object groups — create, ungroup, open, close, attach, detach.
Manage object groups — create, ungroup, open, close, attach, detach.
manage_layerstool Manage scene layers — create, delete, list, set properties, move objects.
Manage scene layers — create, delete, list, set properties, move objects.
manage_scenetool Manage the 3ds Max scene file. action: hold | fetch | reset | save | info.
Manage the 3ds Max scene file. action: hold | fetch | reset | save | info.

    save writes the current file path (never Save As); fetch and reset show their prompts.
manage_selection_setstool Manage named selection sets — create, delete, list, select, replace.
Manage named selection sets — create, delete, list, select, replace.
map_class_relationshipstool Map which classes can reference which types via their ParamBlock2 params.
Map which classes can reference which types via their ParamBlock2 params.
material_rolestool Read the files connected to each material slot, including wrappers and submaterials.Network
Read the files connected to each material slot, including wrappers and submaterials.

    Supply unique object/material names OR scan_scene=true for assigned scene
    materials. Distinct slots, shared maps, composite inputs and file tiles stay
    separate. Each row carries the submaterial and source path; procedural maps
    can have no file. The operation is read-only.

    Filename mismatches are advisory: inspect channel selection, conversions and
    renderer modes before changing anything. Mask inputs are identified separately.
    only_problems retains missing files, mismatches, warnings and incomplete reads.
    Follow next_offset for more results; pages are stable while the scene is unchanged.
    complete=false means there are unread pages, failed targets, a truncated graph or
    an image map whose path could not be read (FILE_PATH_UNREADABLE warning).
    Increase depth/max_nodes for truncated graphs. Use inspect_material_network for
    parameter values. Requires a native bridge supporting graphVersion 2 connections.
max_dialogstool Read and answer dialogs blocking 3ds Max, over an independent connection.FilesNetworkEnv varsoutside text
Read and answer dialogs blocking 3ds Max, over an independent connection.

    Works while Max's main thread sits inside the dialog, including a dialog
    that interrupted another MCP call (that call returns BLOCKED_BY_DIALOG).

    inspect: every blocking dialog with title, text, buttons (label, kind,
    enabled, default, role, checked), fields, which MCP calls it interrupted
    (during_requests) and expected_dialog; blocked_calls with the status or
    final result of calls that returned BLOCKED_BY_DIALOG or MAX_BUSY;
    recent_actions.
    respond: press one button. Pass dialog_id and expected_dialog from a fresh
    inspect and button as its label or index; a changed dialog is refused.
    Then waits up to wait_seconds for interrupted calls to finish and returns
    their results, or the next dialog holding them. A blocked call whose
    connection broke is reported with status "lost" (outcome unknown): inspect
    the scene before running it again.
    Only dialogs on Max's main thread can be read and pressed. One on another
    thread (main_thread false, e.g. a plugin's worker) is listed but never read,
    and pressing it fails with DIALOG_NOT_ON_MAIN_THREAD: ask the user to answer it
    in Max. A bridge without the dialog monitor (before 1.7.5) gives BRIDGE_OUTDATED.

    Answering is a decision. Choose yourself only when the user authorized
    unattended work and the task determines the answer. Otherwise show the
    user the dialog and ask; always ask before saving, overwriting, discarding
    changes (Save / Don't Save), Fetch, Reset or licensing choices, even when
    working unattended. Pressing posts a click; check what followed. Never repeat an interrupted call while it is waiting.
    Automatic: Script Controller Exception boxes are closed; recognized
    MAXScript error boxes with a sole OK are acknowledged during MCP calls,
    which then fail with MAX_DIALOG_ERROR. Requires the native bridge.
mcg_apply_modifiertool Compile and safely apply a temp MCG modifier using typed node references.FilesCredentialsEnv varsSensitive pathsoutside text
Compile and safely apply a temp MCG modifier using typed node references.

    ``node_parameters`` maps exact exposed PB2 names to scene object names or,
    preferably, stable node handles. Only scalar node-reference parameters are
    accepted by the native bridge.
mcg_apply_patchtool Patch a temp graph transactionally, then compile/test and roll back on failure.FilesCredentialsEnv varsSensitive pathsoutside text
Patch a temp graph transactionally, then compile/test and roll back on failure.

    Port names are accepted for ``connect.dest_port`` and resolved against the
    live typed operator depot before writing numeric MCG slot indices.
mcg_cleanup_workspacetool Delete one temp graph family or the entire process-scoped MCG workspace.Env vars
Delete one temp graph family or the entire process-scoped MCG workspace.
mcg_compile_graphtool Validate, compile, and optionally test one temp MCG graph.FilesCredentialsEnv varsSensitive pathsoutside text
Validate, compile, and optionally test one temp MCG graph.
mcg_create_graphtool Fork an Autodesk/source template into temp storage and optionally compile/test it.FilesCredentialsEnv varsSensitive pathsoutside text
Fork an Autodesk/source template into temp storage and optionally compile/test it.
mcg_get_contexttool Return the live MCG compiler, temp workspace, templates, and safety context.CredentialsEnv varsSensitive paths
Return the live MCG compiler, temp workspace, templates, and safety context.
mcg_inspect_graphtool Inspect a session graph or read-only source as normalized graph data.FilesEnv varsoutside text
Inspect a session graph or read-only source as normalized graph data.
mcg_inspect_instancetool Inspect one MCG modifier after proving its class ID and graph identity.FilesCredentialsEnv varsSensitive pathsoutside text
Inspect one MCG modifier after proving its class ID and graph identity.
mcg_list_graphstool List session graphs or read-only installed/sample graph sources.FilesCredentialsEnv varsSensitive pathsoutside text
List session graphs or read-only installed/sample graph sources.

    Mutating tools accept only ``graph_id`` values from the session scope.
    A ``source_id`` can be passed to ``mcg_create_graph(template_id=...)`` to
    fork a read-only graph into the temp workspace.
mcg_reload_operatorstool Explicitly refresh the global MCG depot; not used by the normal per-graph loop.CredentialsEnv varsSensitive paths
Explicitly refresh the global MCG depot; not used by the normal per-graph loop.
mcg_resolve_classtool Compile a temp modifier graph and resolve its exact native class descriptor.FilesCredentialsEnv varsSensitive pathsoutside text
Compile a temp modifier graph and resolve its exact native class descriptor.
mcg_restore_checkpointtool Transactionally restore an opaque checkpoint, then optionally compile/test it.FilesCredentialsEnv varsSensitive pathsoutside text
Transactionally restore an opaque checkpoint, then optionally compile/test it.
mcg_search_operatorstool Search typed inputs plus value(0)/function(1) outputs; fall back to XML offline.CredentialsEnv varsSensitive paths
Search typed inputs plus value(0)/function(1) outputs; fall back to XML offline.
mcg_set_node_parametertool Safely retarget one scalar node parameter on a compiled MCG modifier.FilesCredentialsEnv varsSensitive pathsoutside text
Safely retarget one scalar node parameter on a compiled MCG modifier.
mcg_test_tooltool Compile the current hash, then create/inspect/delete one disposable instance.FilesCredentialsEnv varsSensitive pathsoutside text
Compile the current hash, then create/inspect/delete one disposable instance.
merge_from_filetool Merge objects from an external .max file into the current scene.
Merge objects from an external .max file into the current scene.
mesh_edittool Edit vertices, edges, and faces as one undoable batch, rolling back on failure.
Edit vertices, edges, and faces as one undoable batch, rolling back on failure.

    Each operation: {op, level:vertex|edge|face, selection:{...}, operation values}.
    Selection uses inspect_mesh filters. Omitted selection uses current component
    selection; all:true is explicit. Geometric filters are reevaluated per step.
    ops: select; move(offset:[x,y,z]); scale(factors:[x,y,z],pivot?:world point);
    extrude(amount,mode:group|local|polygon); inset(amount,mode); bevel(amount,outline,mode);
    chamfer(amount,segments); connect(segments,pinch,slide); bridge(segments);
    delete; cap; relax(amount:0-1,iterations). Chamfer/connect/cap require edges;
    extrude/inset/bevel require faces; bridge accepts faces or edges.
    Moves/scales and selection filters use WORLD space. Surface-operation amounts
    use mesh LOCAL units; inspect transforms before editing scaled meshes.
    Edits the Editable Poly BASE cage, preserving modifiers above it. convert=true
    explicitly converts a non-poly object and collapses its stack in the same undo.
    expected_mesh optionally guards IDs with inspect_mesh's mesh_token. After topology
    edits, inspect again or use geometric selectors instead of reusing old IDs.
    show_selection displays the last component selection in Max's Modify panel.
    Shared base geometry changes in all instances; inspect_mesh reports instance_count.
modify_tyflow_operatortool Set operator properties on an existing tyFlow event/operator pair.FilesEnv varsoutside text
Set operator properties on an existing tyFlow event/operator pair.
palette_laydowntool Lay down folder textures into Compact Material Editor palette slots.
Lay down folder textures into Compact Material Editor palette slots.

    slot_content: material = one preview per bitmap (OpenPBR by default); bitmap = raw
    Bitmaptexture slots; pbr_material/full_pbr = grouped PBR material sets.
    material_class selects the renderer for previews and grouped PBR. Pass any
    value from tripback ``supported_material_classes`` — OpenPBR, Physical, Arnold,
    Redshift, V-Ray, CoronaPhysicalMtl, MaterialX, Octane variants, etc.
    include_displacement controls whether height/displacement maps are wired in
    grouped PBR mode.
    name_pattern: optional include glob(s) on texture-set / filename stems,
    comma-separated (e.g. ``*wood*`` or ``oak_*,birch_*``). Empty imports the
    first ``max_slots`` items alphabetically.
    exclude_pattern: optional exclude glob(s) on the same stems (comma-separated);
    anything matching is skipped even if it matched name_pattern — the
    "don't lay that down" filter (e.g. ``*_preview*`` or ``*atlas*,*lowpoly*``).
    recursive scans subfolders (default true).

    sample_mode:
        first — flat folder, first items alphabetically (default).
        random — flat folder, random selection (use random_seed to repeat).
        one_per_subfolder — first texture set / image from each child folder.
        random_per_subfolder — one random set / image per child folder; good for
            large asset libraries with many material categories (one per subfolder).

    overflow_mode:
        truncate — only fill up to max_slots (default).
        palette_then_library — overflow materials go to currentMaterialLibrary
            when there are more picks than Compact palette slots (max 24).
parameterstool Reflect on and edit the parameters of any object, modifier, material, map or controller.
Reflect on and edit the parameters of any object, modifier, material, map or controller.

    One model for every plugin: describe what an owner has, then set it by name.
    The same parameters the create/add_modifier/assign_material `params` dicts take.

    Owner: a node (`name` or `handle`) and a `path`, written as MAXScript reaches it:
    - `object` (default) - the base object, below the modifiers
    - `modifiers[Bend]` - by name, then class; `modifiers[1]` is the top of the stack
    - `material`, `material[2]` - the material, a sub-material (1-based or by name)
    - `.name` steps into a map/material slot or a subanim:
      `material.base_color_map`, `modifiers[Bend].gizmo`, `transform.position`
    - `transform` - the node's transform controller
    Or `class_name` (+ `kind`: modifier, material, texmap, geometry, shape, light,
    camera, helper, controller, renderer, ...) to describe a class with no instance.

    Actions:
    - describe: every parameter with type, value, default, range, named choices,
      UI label and animatable flag. `query` filters by name or label; follow
      `next_offset` when a page is full.
    - get: `names` -> {name: value}.
    - set: `values` {name: value} -> readback of each. Unknown names fail before
      anything changes, with the owner's parameter list and a suggestion.

    Values (MAXScript units): distances in scene units, angles in degrees,
    percentages 0-100, frames for times, colors [r, g, b(, a)] as 0-1 floats or
    "#rrggbb". Ints with choices take the choice's name ("Z", "Fractal").
    Transform subanims (gizmo, Lathe's axis) take {"position", "rotation" (degrees),
    "scale"}, any part. Map/material slots take null, {"handle": n},
    {"class": "Noise", "name": ..., "params": {...}} built in place (nested as deep
    as needed), or {"params": {...}} to edit what the slot already holds.
    Out-of-range values are set and reported in warnings.
pick_componenttool Target Editable Poly base-cage IDs from an AGENT VIEWPORT capture.FilesEnv varsoutside text
Target Editable Poly base-cage IDs from an AGENT VIEWPORT capture.

    x/y: normalized image coordinates, top-left origin. expected_view is the
    single capture's view_token. With no name/handle, the nearest surface hit
    chooses the node; explicit targets also support silhouettes and cage work.
    level: vertex | edge | face. selection uses inspect_mesh filters. tolerance
    is a fraction of the shorter image side (0..0.25); limit is 1..100 results.
    Screen tolerance uses full segments and face polygons, including interiors.
    prefer_surface=true ranks matches by world distance to the cursor's surface
    hit when it belongs to this node; false ranks screen distance first. This
    helps separate a visible rim from hidden cage edges that project over it.
    Returned IDs use mesh_edit expected_mesh=result.mesh_token.
    Nothing is selected, moved, converted or added to either viewport.

    Projection does not prove component visibility. Front/back and overlapping
    candidates can coincide; modifiers may move the visible surface away from
    the base cage. Nonplanar face-distance estimates are marked approximate.
    Inspect candidates and surface evidence before editing.
    Reads at most 1000 filtered components and 10000 unique vertices; incomplete
    inspection, unprojectable geometry and output truncation are explicit.
plugin_patchtool Atomically edit inspected PB2 properties with native typed readback.FilesEnv varsoutside text
Atomically edit inspected PB2 properties with native typed readback.

    Each edit: owner_ref, property_ref, expected_schema (schema_token),
    expected_state (state_token), value. Get these with
    inspect_plugin_instance(schema_version=2, fields=[...]). References are
    explicit owner_ref objects; arrays preserve their existing count. Values
    use the inspector's native units. Optional sharing="all_instances" explicitly
    permits changing a shared owner. Animated parameters are refused. No raw
    MAXScript, implicit cloning or controller replacement. Named enum values use
    value={"enum":"name"} from the inspector's published/provider choices.
pulze_inspecttool Read every Pulze Scene Manager setup in the open scene.
Read every Pulze Scene Manager setup in the open scene.

    Use when: you need what each setup renders: camera, resolution, frame range,
    output path, and which layer/element/object overrides it carries.
    Not when: you only want the current Max render settings (use query_scene).
    Reads a scene custom attribute; nothing in the scene changes. Also reports
    window_open: while the Scene Manager window is open, edits are refused.
    Each setup's camera.node is the scene camera as {handle, name}, the handle
    other tools take; None when the stored camera is gone (pulze_preflight says
    why). detail=full adds each setup's raw JSON as Scene Manager stores it:
    its camera.handle is a MAXScript node handle, a different number from the
    handle other tools take, so never pass it to them.
pulze_preflighttool Check Pulze setups for the faults that waste an overnight render.
Check Pulze setups for the faults that waste an overnight render.

    Use when: before starting or submitting a batch. Catches a camera whose node
    handle no longer resolves (even if a camera with the same name exists), a
    renamed camera, a missing or extension-less output path, an output folder
    that does not exist, two setups writing to the same file, an invalid or
    test-size resolution, and an unintended frame range.
    Not when: you want to fix them (that is pulze_set). This only reports.
    Checks render-enabled setups; include_disabled=true checks all of them.
pulze_restoretool Put Pulze setups back exactly as they were before a pulze_set.Filesoutside text
Put Pulze setups back exactly as they were before a pulze_set.

    backup_id is what pulze_set returned. Backups are files bound to the 3ds Max
    process and scene they came from. Refused, with nothing changed, on another
    scene or process, when the setups changed after that edit (restoring would
    overwrite newer work), or while the Scene Manager window is open. The
    restore is one undo step and is verified by read-back before reporting
    restored=true. Ctrl+Z in 3ds Max also reverts a pulze_set.
pulze_settool Edit existing Pulze setups in one guarded, undoable write.Filesoutside text
Edit existing Pulze setups in one guarded, undoable write.

    Each edit selects exactly one setup with index (int), id or name, plus any of
    resolution {width, height} (whole pixels 1..32768), camera (unique scene
    camera name; Scene Manager stores its node), output_path, render_enabled. Ambiguous names
    or ids are refused. expected_token comes from pulze_inspect or
    pulze_preflight; confirm must be true.

    Refused, with nothing changed, when the Scene Manager window is open (it
    would overwrite the edit when it closes), when another undo operation is in
    progress, when the scene or 3ds Max process changed, or when the setups
    changed since the token was read. The write is one undo step, is read back,
    and is rolled back if the read-back fails. Returns backup_id for pulze_restore.
    Creating new setups is not supported.
query_scenetool Unified scene query. action: overview | filter | class | property | selection | delta.Network
Unified scene query. action: overview | filter | class | property | selection | delta.

    Use when: reading scene state, finding nodes, checking selection, or verifying edits (delta).
    Not when: deep single-object dumps (inspect_object), bridge diagnosis (get_bridge_status),
    or bundling bridge+capabilities+scene (get_session_context — on demand only).

    overview — counts, materials, modifiers, layers, roots (max_roots)
    filter — paginated node list (class_name, pattern, layer, limit, offset, roots_only)
    class — find class instances (class_name, scope=nodes|refs|auto, superclass, limit)
    property — find objects by property (property_name, property_value, class_filter)
    selection — current selection (detail=compact|full, max_items)
    delta — changes since last baseline (capture=true to reset; unchanged_since=N for cheap journal no-op)
release_max_instancetool Release this MCP server process's target, including startup pinning; next connection uses the default.
Release this MCP server process's target, including startup pinning; next connection uses the default.

    This also releases it for every other session sharing this server process.
reload_native_coretool Report the native core's state, or reload a rebuilt core DLL into the running 3ds Max.FilesNetworkEnv varsoutside text
Report the native core's state, or reload a rebuilt core DLL into the running 3ds Max.

    Development only, for the hot layout (permanent shell GUP plus reloadable
    core DLL). Use action="reload" after rebuilding the core DLL so changed
    native handlers load without restarting Max. Python changes need a fresh
    MCP server process instead. Never call this as a session preamble.

    action:
      - "status" (default): safe at any time; changes nothing. wait_ms is
        ignored and path is rejected.
      - "reload": must be requested explicitly. Waits up to wait_ms (0-600000)
        for in-flight native calls to drain, then swaps in the core from path
        (optional; omitted, the shell loads its configured core). With wait_ms
        at most 20000, CORE_BUSY is retried up to 3 attempts before it is
        returned; a longer wait makes one attempt and returns CORE_BUSY directly.

    Result: layout ("static"|"hot"), loaded, build, bridge_version,
    core_api_version, host_api_version, source, loaded_from, loaded_at_ms,
    reloads, in_flight, last_error; reload adds reloaded, previous_build and
    drain_ms. next_step says what to do next; on failure it is in
    error.details.next_step and the hint.

    Errors: CORE_STATIC: static layout, reload unsupported; do not retry; a
    native change applies after the rebuilt GUP is installed and Max restarts. CORE_BUSY
    (retryable): native calls were still running; retry later or with a larger
    wait_ms. CORE_LOAD_FAILED and CORE_VERSION_MISMATCH: the old core keeps
    running unchanged; fix and rebuild the core, then reload again.
remove_modifiertool Remove a modifier from an object by name.
Remove a modifier from an object by name.
remove_tyflow_elementtool Remove operator from an event, or remove event when operator_name is empty.FilesEnv varsoutside text
Remove operator from an event, or remove event when operator_name is empty.
replace_materialtool Put source_material wherever target_material is used, on objects and in sub-material slots.
Put source_material wherever target_material is used, on objects and in sub-material slots.

    source = material to APPLY; target = material to REPLACE. Names match
    exactly. Objects whose own material is the target are reassigned; with
    include_sub_materials (default) a target in any sub-material slot of an
    object's material tree (Multi/Sub, Blend, Shell...) is replaced in that
    slot. The source is the first material with that name found in this order:
    node (object materials), sub_material, material_editor, scene_materials,
    material_library; source_from = one of those limits the search to it, e.g.
    "material_editor" for a re-imported copy that shares its name with the
    material on objects. A slot where the source would create a reference loop
    is skipped with a reason.

    Reports replaced_objects, replaced_slots (parent material, 1-based
    slot_index, slot_name) and skipped. status: "replaced" when something
    changed, "no_match" when no material has the target name (check the
    direction), "no_objects" when it exists only in the Material Editor,
    "blocked" when every match was skipped (not reversed: do not swap),
    "unchanged" when every match already uses the source. preview=True returns
    the same report with status "preview" and changes nothing; a preview whose
    source is missing still lists the matches, with source_exists false.
    Example: source_material="Brick_A", target_material="Brick_B" -> every Brick_B use becomes Brick_A.
replicate_materialtool Preview or apply a structure-preserving material clone/remap through native C++.
Preview or apply a structure-preserving material clone/remap through native C++.
reset_tyflow_simulationtool Reset simulation for one tyFlow object or for all tyFlow objects.
Reset simulation for one tyFlow object or for all tyFlow objects.
resolve_node_refstool Resolve NodeRefs to canonical identities plus mutation sceneSeq.
Resolve NodeRefs to canonical identities plus mutation sceneSeq.

    Each ref accepts ``handle``, ``name``, or ``path``. Paths are absolute
    JSON-Pointer hierarchy paths, for example ``/Rig/Camera``; ``~1`` escapes
    a slash inside a node name and ``~0`` escapes a tilde. Supplying multiple
    selectors cross-checks them instead of silently retargeting a stale handle.
    Name-only refs must be globally unique and path-only refs must be unique at
    every hierarchy segment.

    ``sceneSeq`` advances only for persistent scene mutations. Selection and
    sub-object selection remain visible in ``activitySeq`` but do not stale a
    guarded patch.
scatter_forest_packtool Create a Forest Pack scatter object and wire surfaces + source geometry.
Create a Forest Pack scatter object and wire surfaces + source geometry.

    Footprint ``widthlist``/``heightlist`` are auto-sized per geometry item from each
    source node's bounding box (Forest Pack skips items with zero footprint).
scene_patchtool Preflight and atomically apply mechanical node edits in one native undo step.
Preflight and atomically apply mechanical node edits in one native undo step.

    Every operation has ``target`` (a NodeRef) and one of these ``op`` values:

    - ``rename``: ``name``.
    - ``transform``: relative ``move``/``rotate``/``scale`` arrays and optional
      ``coordinate_system`` (``world`` or ``local``). Rotation is in degrees about X,
      then Y, then Z, counterclockwise like MAXScript ``rotate`` (``[0, 0, 90]`` turns +X to +Y).
    - ``set_flags``: any of ``hidden``, ``frozen``, ``renderable``,
      ``cast_shadows``, or ``receive_shadows``.
    - ``set_parent``: required ``parent`` NodeRef or null (detach), plus optional
      ``keep_transform``.

    Pass ``expected_scene_seq`` from ``resolve_node_refs`` to reject plans made
    stale by persistent scene edits. Selection and sub-object selection do not
    invalidate this token. ``dry_run`` performs the same resolution and validation
    without opening an undo hold or changing the scene. All refs and operations
    are resolved against the pre-patch scene and validated before the first edit;
    use handles when a patch renames or reparents a target. An apply failure
    cancels the native hold.
scene_qatool Scan or repair non-mesh scene hygiene using the native SDK.
Scan or repair non-mesh scene hygiene using the native SDK.

    Checks are limited to names, transforms, hierarchy/group metadata, frame rate,
    and animation range. No mesh, UV, normals, topology, skinning, or visual-quality
    judgement is performed. ``action=fix`` only applies explicitly deterministic
    repairs (currently ``name_collisions`` and ``empty_names``), inside one undo step.
    Pass ``expected_scene_seq`` to reject an apply against persistently changed
    scene state; selection-only interaction does not invalidate the token.
script_controllertool Inspect, validate or atomically apply a script controller with typed inputs.
Inspect, validate or atomically apply a script controller with typed inputs.

    target: {node:{handle and/or name}, track:"position"|"rotation"|"scale"|
    a path from inspect_track_view|[1-based sub-anim indices/names]}.
    Handles are animatable handles from MCP, not maxOps node handles.
    inspect returns expected_controller; apply requires that token.
    validate stages off-track and samples without assigning. apply repeats those
    checks, assigns in one undo step, verifies, and rolls back on failure.
    sample_frames: up to 64 explicit frames; validate/apply default to current time.
    inspect without frames does not evaluate the script.

    bindings maps variable names to {kind:"constant",value:...},
    {kind:"node",node:{handle/name}}, {kind:"track",target:{node,track},
    offset_frames:0}, or {kind:"controller",target:{node,track}}.
    Constants optionally use value_type:"point3"|"quat" with 3/4 components.
    Omit bindings to preserve existing script bindings; {} clears user bindings.
    Float/position/rotation/scale/point3 output is inferred from the destination.
    Existing script settings are copied; assignment replaces only this track.

    Write value-only expressions, using declared inputs and T/S/F/NT/this.
    Validation executes real MAXScript, not a sandbox or an execution timeout.
    Successful samples do not prove all frames. A later failing frame makes Max
    show a Script Controller Exception box; the native bridge closes it and
    max_dialogs lists it. The failed controller then returns zero at every
    frame until reapplied. Use inspect with sample_frames to find the frame.
search_max_filestool Search .max files in a folder for objects matching a name pattern.
Search .max files in a folder for objects matching a name pattern.
select_max_instancetool Bind this MCP server process to a live Max PID until explicitly changed or released.
Bind this MCP server process to a live Max PID until explicitly changed or released.

    The binding is shared by every session that uses this server process, so another session
    can move it. Note the returned selection_generation and pass expected_pid=pid to calls that
    must not reach another Max; they are refused (nothing sent) if the target moved.
select_objectstool Select objects in the 3ds Max scene. An explicit names=[] clears selection.
Select objects in the 3ds Max scene. An explicit names=[] clears selection.
set_controller_propstool Modify script text or properties on an existing controller.
Modify script text or properties on an existing controller.

    Prefer script_controller for guarded script edits and frame validation.
set_data_channel_operatortool Set properties on a 1-based visible stack operator with rollback on error.
Set properties on a 1-based visible stack operator with rollback on error.
set_material_propertiestool Set multiple properties on an object's material in a single call.
Set multiple properties on an object's material in a single call.

    Typed values go through the parameter model and are read back in `values`;
    string values are MAXScript literals.
set_material_propertytool Set a property on an object's material (or sub-material).
Set a property on an object's material (or sub-material).

    value: a typed value (number, bool, 0-1 color list or "#rrggbb" for a color,
    choice name, {"class": ..., "params": {...}} for a map slot) goes through the
    parameter model and is read back; a string is a MAXScript literal.
set_modifier_propertytool Set a modifier parameter on one object or many.
Set a modifier parameter on one object or many.

    Object scope: pass `name` for one node, `names` for several, or `selection_only=true`.
    Leave all three empty only when using `modifier_class` to update every matching modifier in the scene.

    Modifier target (pick one):
    - `modifier_index` (1-based stack index) — best for a single known modifier
    - `modifier_name` — match by modifier stack entry name
    - `modifier_class` — every modifier of that class on each scoped object (batch)

    property_value: a typed value (number, bool, [x, y, z], 0-1 color, choice name,
    {"rotation": [...]} for a gizmo) is set through the parameter model and read
    back per hit; a string is a MAXScript literal ("2", "true", "#z").

    Examples:
    - One TurboSmooth on Box001: name="Box001", modifier_index=1, property_name="iterations", property_value=2
    - All Smooth modifiers on selection: selection_only=true, modifier_class="Smooth", property_name="autosmooth", property_value="true"
set_modifier_statetool Set the enable state of a modifier with viewport/render granularity.
Set the enable state of a modifier with viewport/render granularity.
set_object_propertytool Set a property on a named object in the 3ds Max scene.
Set a property on a named object in the 3ds Max scene.
set_parenttool Parent or unparent objects in the 3ds Max scene.
Parent or unparent objects in the 3ds Max scene.
set_railclone_styletool Replace a RailClone graph using setXMLStyle and return actual XML readback.
Replace a RailClone graph using setXMLStyle and return actual XML readback.

    Read first; expected_style is the returned style_token, checked in Max before
    applying. Requires well-formed <scene> XML. RailClone's Ok means XML acceptance,
    not graph/geometry correctness; verify generated results with get_railclone_output.
    setXMLStyle itself is not undoable, so the edit is staged on a copy of the
    RailClone base and adopted in one undo step. Node identity, transform, material
    and modifier stack stay intact; base identity changes. Instanced bases and
    master/slave style links are refused. Source geometry is not created here.
    Rejected styles never replace the original base. Maximum XML: 4 million chars.
set_sub_materialtool Create or assign a sub-material in a Multi/Sub-Object material slot.
Create or assign a sub-material in a Multi/Sub-Object material slot.

    sub_material_index is the 1-based slot (1 = material ID 1); it is required.
set_texture_map_propertiestool Set properties on a texture map stored as a MAXScript global variable.
Set properties on a texture map stored as a MAXScript global variable.
set_tyflow_physxtool Set object-level PhysX settings on a tyFlow; only the settings passed change.
Set object-level PhysX settings on a tyFlow; only the settings passed change.

    enabled: gravity on/off; gravity: gravity value (scene units/s^2, e.g. -980);
    substeps; pos_iterations / vel_iterations: solver iterations.
set_tyflow_shapetool Set Shape operator with validated 3D shape IDs.FilesEnv varsoutside text
Set Shape operator with validated 3D shape IDs.
set_tyflow_wiring_ledgertool Reconcile the wiring ledger by hand (e.g. after reading an editor capture).FilesEnv varsoutside text
Reconcile the wiring ledger by hand (e.g. after reading an editor capture).

    Only needed when get_tyflow_graph reports wiring_source "ledger" (an older
    bridge); with "scene" the edges are read from the flow itself. Each edge: {"from_event", "from_op" (alias "from_operator"), "to_event"}.
    mode=replace overwrites all ledger edges; mode=merge keeps existing edges
    except those with a matching (from_event, from_op). Event names not present
    in the live flow are recorded but flagged in warnings. Marks the ledger
    fresh by definition (hash restamped from the live read).
set_viewporttool Set the agent modeling view when open, otherwise the active viewport.
Set the agent modeling view when open, otherwise the active viewport.

    view: perspective | orthographic | front | back | left | right | top | bottom.
    eye + target: world coordinates in scene units (Z up), for perspective/orthographic.
    frame_names: fit these exact nodes' world bounds after setting orientation.
    Without eye/target, perspective uses a useful front-right elevated direction.
    fov is perspective horizontal degrees (1-175); orthographic views use zoom.
    padding adds framing margin (1-3).
    shading: smooth | wireframe | flat.
    Follow with capture_viewport to see the result. No rendering is performed.
    source: auto | agent | active. Explicit agent never falls back into a user view.
set_visibilitytool Show, hide, freeze, or unfreeze objects.
Show, hide, freeze, or unfreeze objects.
smart_importtool Batch-import 3D meshes from a folder, auto-assigning materials by stem matching.
Batch-import 3D meshes from a folder, auto-assigning materials by stem matching.

    folder:
        Directory to scan for mesh files. Supported extensions: .max .fbx .obj .3ds
        .dae .dwg .dxf .stl .ply .abc .usd .usda .usdc .usdz .glb .gltf .skp .ifc
        .step .stp .iges .igs. .max is merged with mergeMaxFile and keeps its existing
        materials; .usd* is imported with sibling .mtlx if present; everything else
        gets a PBR material built from textures with matching names.
    texture_folder:
        Where to look for textures to wire to the imported meshes. Defaults to *folder*
        when empty. Textures are matched by longest-stem-prefix against mesh stems and
        grouped by PBR channel using the same detection patterns as palette_laydown.
        Shared-atlas assets (``assetid_LOD0.fbx`` + ``assetid_4K_Albedo.jpg``) match
        on the shared asset id; highest resolution map wins per channel. Per-asset
        folders with a generic mesh name (``mesh.fbx``) and a sibling ``tex/`` folder
        also match by co-location — no shared stem required.
    recursive:
        Scan subfolders for meshes and textures (default true — asset libraries
        often store one asset per subfolder).
    material_class:
        Renderer for auto-built PBR materials. Pass any value from tripback
        ``supported_material_classes`` / ``hint.renderers`` — OpenPBR (default),
        Physical, Arnold, Redshift, V-Ray, CoronaPhysicalMtl, MaterialX, Octane variants, etc.
        Empty defaults to OpenPBR. Ignored for .max and .usd* assets.
    include_displacement:
        Wire height/displacement maps when present (default true).
    grid_spacing:
        XY spacing in scene units between imported asset centers. The grid is
        roughly square (ceil(sqrt(N)) columns).
    lod_filter:
        ``lod0`` (default) — import only ``*_LOD0`` meshes; skip ``*_LOD1+``; meshes
        without a LOD suffix are kept. ``all`` — import every LOD file found.
    name_pattern:
        Optional include glob(s) on mesh filename stems (case-insensitive).
        Comma-separated for several, e.g. ``*wood*``, ``oak_*,birch_*``, ``*_LOD0``.
        Empty or ``*`` imports every mesh.
    exclude_pattern:
        Optional exclude glob(s) on mesh stems (case-insensitive, comma-separated).
        Anything matching is skipped even if it also matched name_pattern — e.g.
        ``*_broken*`` or ``*debris*,*lowpoly*``. The "don't import that" filter.

    Dedup: a mesh file is skipped if any scene object's name starts with its stem.
toggle_effecttool Enable or disable an atmospheric or render effect by index.
Enable or disable an atmospheric or render effect by index.
tool_helptool Full manual and JSON input schema of one tool; listings show a summary and signature.read-only (declared)
Full manual and JSON input schema of one tool; listings show a summary and signature.
transform_objecttool Move, rotate, and/or scale an object by world/local offsets.
Move, rotate, and/or scale an object by world/local offsets.

    rotate: [x, y, z] degrees about X, then Y, then Z, counterclockwise looking down each
    axis, as MAXScript's rotate node (eulerAngles x y z): [0, 0, 90] turns +X to +Y.

    Use when: posing unkeyed (or intentionally current-frame) objects.
    Not when: editing animation on keyed tracks — prefer keyframe_tracks value/move at
    explicit times; this tool can rewrite keys at the current slider frame.
tyflow_apply_patchtool Apply a batch of tyFlow graph operations as one transaction.FilesEnv varsoutside text
Apply a batch of tyFlow graph operations as one transaction.

    Operations (dicts with "op"): add_event, remove_event, add_operator,
    remove_operator, set_properties, connect, disconnect, rename_event,
    rename_operator, set_event_position, set_enabled. See _REQUIRED_FIELDS.

    `expected_hash` should be the `graph_hash` from a prior get_tyflow_graph —
    a mismatch means the flow changed since (user edit) and the patch is refused.
    With `verify_frames`, the sim is reset and particle counts asserted at those
    frames (min_particles/max_particles, -1 disables). On failure with
    `rollback_on_failure`: additive-only patches (add_event/add_operator/connect/
    set_event_position) roll back via synthesized inverse operations — no clone
    churn; patches containing other ops use a checkpoint clone that replaces the
    patched flow (caveat: external references to the flow node do not survive
    the swap). Script operators require allow_executable=true.
tyflow_event_censustool Per-event particle counts at probe frames via temporary instrumentation.
Per-event particle counts at probe frames via temporary instrumentation.

    method=mapping stamps event ordinals into UVW `channel` (unlimited events);
    method=groups uses export-group bits (16-event limit). The flow is mutated
    for the duration of the call (operators named zzz_mcp_census) and cleaned up
    unless cleanup=false. Response includes which properties the instrumentation
    resolved, so failures are debuggable.
tyflow_scripttool Write, check and run tyFlow Script operator C# with full error feedback.FilesEnv varsoutside text
Write, check and run tyFlow Script operator C# with full error feedback.

    action:
      api   - the installed tyFlow's script API (callbacks, script-class fields and
              helpers like tf, f, eventParticleCount, Print, GetFloat; types such as
              tyFlow, Point3, Matrix3, tfObj). Read it before writing code.
      get   - the operator's code, script objects (obj001...), texmaps (tex001...),
              enabled floats (read with GetFloat(name)) and settings.
      check - compile `code` (or the operator's current code) against tyFlow's API.
              Returns diagnostics with line/column; nothing runs.
      set   - check, then apply `code` to the operator. Needs allow_executable=true:
              the code runs inside 3ds Max. Code with errors
              is refused unchanged. With frames > 0 it also runs (see run).
      run   - reset and simulate the flow to `frames`; returns `compiled` (tyFlow
              compiled this operator), `output` (Print lines), `exceptions` thrown
              by the callbacks (tyFlow itself reports none) and the particle count.
    A script must declare simulationStart(), simulationStep() and
    simulationStepThreaded(int startInx, int endInx, int threadInx);
    postSimulationStep() is optional. Never put '%' in Print/PrintAll text:
    tyFlow formats it printf-style and 3ds Max crashes (check refuses literals).
    Edit until check is clean and run shows compiled=true with no exceptions.
undo_lasttool Undo the last 3ds Max scene operation.
Undo the last 3ds Max scene operation.
unwire_paramstool Disconnect a wired parameter.
Disconnect a wired parameter.
walk_referencestool Walk the full reference dependency graph of a scene object.
Walk the full reference dependency graph of a scene object.
watch_scenetool Live scene event watcher — track what happens in 3ds Max in real-time.
Live scene event watcher — track what happens in 3ds Max in real-time.
wire_paramstool Connect parameters between objects with a wire expression.
Connect parameters between objects with a wire expression.
write_osl_shadertool Write an OSL shader to disk and create an OSLMap from it.
Write an OSL shader to disk and create an OSLMap from it.

Text the model reads (185)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

set_tyflow_wiring_ledger tool
Reconcile the wiring ledger by hand (e.g. after reading an editor capture).

    Only needed when get_tyflow_graph reports wiring_source "ledger" (an older
    bridge); with "scene" the edges are read from the flow itself. Each edge: {"from_event", "from_op" (alias "from_operator"), "to_event"}.
    mode=replace overwrites all ledger edges; mode=merge keeps existing edges
    except those with a matching (from_event, from_op). Event names not present
    in the live flow are recorded but flagged in warnings. Marks the ledger
    fresh by definition (hash restamped from the live read).
tool_help tool
Full manual and JSON input schema of one tool; listings show a summary and signature.
script_controller tool
Inspect, validate or atomically apply a script controller with typed inputs.

    target: {node:{handle and/or name}, track:"position"|"rotation"|"scale"|
    a path from inspect_track_view|[1-based sub-anim indices/names]}.
    Handles are animatable handles from MCP, not maxOps node handles.
    inspect returns expected_controller; apply requires that token.
    validate stages off-track and samples without assigning. apply repeats those
    checks, assigns in one undo step, verifies, and rolls back on failure.
    sample_frames: up to 64 explicit frames; validate/apply default to current time.
    inspect without frames does not evaluate the script.

    bindings maps variable names to {kind:"constant",value:...},
    {kind:"node",node:{handle/name}}, {kind:"track",target:{node,track},
    offset_frames:0}, or {kind:"controller",target:{node,track}}.
    Constants optionally use value_type:"point3"|"quat" with 3/4 components.
    Omit bindings to preserve existing script bindings; {} clears user bindings.
    Float/position/rotation/scale/point3 output is inferred from the destination.
    Existing script settings are copied; assignment replaces only this track.

    Write value-only expressions, using declared inputs and T/S/F/NT/this.
    Validation executes real MAXScript, not a sandbox or an execution timeout.
    Successful samples do not prove all frames. A later failing frame makes Max
    show a Script Controller Exception box; the native bridge closes it and
    max_dialogs lists it. The failed controller then returns zero at every
    frame until reapplied. Use inspect with sample_frames to find the frame.
assign_controller tool
Create and assign a controller to a sub-anim track.

    Prefer script_controller for script authoring: it validates typed bindings,
    reports compilation/evaluation errors, and guards assignment with readback.
inspect_controller tool
Inspect the controller on a specific sub-anim track.
inspect_track_view tool
Inspect an object's controller/track tree in a Track View-style hierarchy.
add_controller_target tool
Add a node variable or constraint target to an existing controller.
set_controller_props tool
Modify script text or properties on an existing controller.

    Prefer script_controller for guarded script edits and frame validation.
keyframe_tracks tool
Deterministic native animation edits. Actions: timeline; list/set; delete_keys/move_keys/scale_keys; resample or bake; normalize_tangents/style; match/loop; ort. Key-time edits use time/times or from_time/to_time. bake replaces keys in its sample window by default; resample preserves them unless replace_keys is true.
list_wireable_params tool
Discover sub-anim parameters on an object that can be wired.
wire_params tool
Connect parameters between objects with a wire expression.
get_wired_params tool
Show existing wire connections on an object.
unwire_params tool
Disconnect a wired parameter.
cosmos_search tool
Find compatible Cosmos assets for the selected Max instance.
    Returns asset IDs, kinds, preview URLs, file sizes and download states. Filter models,
    materials or HDRIs with kind. Renderer defaults to the current scene renderer.
    image_path (absolute .png/.jpg/.jpeg/.webp, instead of query) finds assets that look
    like the image, best match first, e.g. a reference photo or a viewport capture.
    sizes=true adds each model's bounding box: bbox_cm, size_cm and size_scene [x,y,z].
    image_path and sizes need Cosmos Browser 2026.11.04 or newer.
    thumbnails=true also saves one labeled contact sheet of the page and returns its
    file path in contact_sheet; read that file to see the assets. Tile N is the asset
    whose tile is N. Use cosmos_download to cache an asset or cosmos_import to import it.
cosmos_download tool
Download a Cosmos model, material or HDRI without importing it.
    Existing downloads are reused. Waits up to 0..60 seconds and returns ready,
    queued or downloading; call again to continue waiting. Requires Cosmos sign-in.
    The asset ID comes from cosmos_search.
cosmos_import tool
Download if needed and import one Cosmos asset into the selected Max instance.
    Returns imported nodes, materials or maps and their file checks. Materials/maps
    use the renderer's normal importer; selection is preserved. A pending
    download makes no scene edit. Repeating a completed model import creates another
    instance. If import completion is unknown, inspect the scene before retrying.
add_data_channel tool
Append operators to a Data Channel modifier's internal stack.

    Reuses the first Data Channel modifier on the object by default. Operators
    are added via DataChannelModifier.AddOperator at StackCount() — not by
    stacking another Data Channel modifier on the object.

    modifier_index: 1-based object modifier stack slot (must be Data Channel).
    create_new: force a new Data Channel modifier on the object stack.
list_dc_operators tool
Discover the live Data Channel operator catalog.

    Use a narrow query with include_properties=true before building a graph;
    this keeps responses compact while exposing the exact properties available
    in the running 3ds Max version.
inspect_data_channel tool
Inspect the active Data Channel stack in processing order.

    operator_index is always the 1-based visible stack position. storageIndex
    is returned only as diagnostic proof because deleted operators leave stale
    entries in the modifier's internal operators array.
set_data_channel_operator tool
Set properties on a 1-based visible stack operator with rollback on error.
manage_data_channel_stack tool
Safely edit a Data Channel stack.

    Actions: delete, reorder, set_enabled, set_frozen, set_blend,
    set_display, select. operator_index and reorder entries are 1-based visible
    stack positions, never the modifier's stale internal storage indexes.
add_dc_script_operator tool
Add the legacy MAXScript input operator with explicit executable authorization.
list_dc_presets tool
List available Data Channel presets without creating a scene object.
load_dc_preset tool
Load a Data Channel preset into the object's DC modifier internal stack.
inspect_max_file tool
Inspect an external .max file without opening it.
merge_from_file tool
Merge objects from an external .max file into the current scene.
batch_file_info tool
Read metadata from multiple .max files in a single call.
search_max_files tool
Search .max files in a folder for objects matching a name pattern.
inspect_object tool
Get a deep exploratory object summary (props, modifiers, material, instances).

    Target by name, or by handle when several objects share the name.

    Use when: you need a full dump of one object before editing it.
    Not when: listing/finding many nodes (query_scene) or a compact property snapshot
    (get_object_properties).
inspect_properties tool
Deep-inspect all properties of an object, modifier, base object, or material.
introspect_osl tool
Inspect the API surface of any material, texturemap, or modifier class.
walk_references tool
Walk the full reference dependency graph of a scene object.
map_class_relationships tool
Map which classes can reference which types via their ParamBlock2 params.
learn_scene_patterns tool
Analyze the current scene to learn real-world class usage patterns.
watch_scene tool
Live scene event watcher — track what happens in 3ds Max in real-time.
parameters tool
Reflect on and edit the parameters of any object, modifier, material, map or controller.

    One model for every plugin: describe what an owner has, then set it by name.
    The same parameters the create/add_modifier/assign_material `params` dicts take.

    Owner: a node (`name` or `handle`) and a `path`, written as MAXScript reaches it:
    - `object` (default) - the base object, below the modifiers
    - `modifiers[Bend]` - by name, then class; `modifiers[1]` is the top of the stack
    - `material`, `material[2]` - the material, a sub-material (1-based or by name)
    - `.name` steps into a map/material slot or a subanim:
      `material.base_color_map`, `modifiers[Bend].gizmo`, `transform.position`
    - `transform` - the node's transform controller
    Or `class_name` (+ `kind`: modifier, material, texmap, geometry, shape, light,
    camera, helper, controller, renderer, ...) to describe a class with no instance.

    Actions:
    - describe: every parameter with type, value, default, range, named choices,
      UI label and animatable flag. `query` filters by name or label; follow
      `next_offset` when a page is full.
    - get: `names` -> {name: value}.
    - set: `values` {name: value} -> readback of each. Unknown names fail before
      anything changes, with the owner's parameter list and a suggestion.

    Values (MAXScript units): distances in scene units, angles in degrees,
    percentages 0-100, frames for times, colors [r, g, b(, a)] as 0-1 floats or
    "#rrggbb". Ints with choices take the choice's name ("Z", "Fractal").
    Transform subanims (gizmo, Lathe's axis) take {"position", "rotation" (degrees),
    "scale"}, any part. Map/material slots take null, {"handle": n},
    {"class": "Noise", "name": ..., "params": {...}} built in place (nested as deep
    as needed), or {"params": {...}} to edit what the slot already holds.
    Out-of-range values are set and reported in warnings.
plugin_patch tool
Atomically edit inspected PB2 properties with native typed readback.

    Each edit: owner_ref, property_ref, expected_schema (schema_token),
    expected_state (state_token), value. Get these with
    inspect_plugin_instance(schema_version=2, fields=[...]). References are
    explicit owner_ref objects; arrays preserve their existing count. Values
    use the inspector's native units. Optional sharing="all_instances" explicitly
    permits changing a shared owner. Animated parameters are refused. No raw
    MAXScript, implicit cloning or controller replacement. Named enum values use
    value={"enum":"name"} from the inspector's published/provider choices.
list_plugin_classes tool
List classes likely tied to a plugin or superclass family.
discover_plugin_surface tool
Discover plugin-related classes and summarize likely entry points.
inspect_plugin_class tool
Inspect a plugin class. schema_version=2 provides bounded SDK metadata,
    exact class/property refs, labels, declared limits, published enums and coverage.
    Query names/descriptions or request fields; follow next_offset for more.
    Version 1 preserves the legacy showClass response.
inspect_plugin_constructor tool
Return likely creation notes for a plugin class.
inspect_plugin_instance tool
Inspect a live plugin. Version 1 preserves the legacy scene-node response.
    schema_version=2 returns bounded native values, exact owner/property refs,
    schema/state guards, controllers and traversable map references. Query names
    or request fields; paginate with next_offset. owner_ref accepts returned refs,
    {node:{name/handle/path},scope:base_object|material|modifier,modifier_index:1},
    {root:renderer}, or {root:environment}. Modifier indices are 1-based.
get_plugin_manifest tool
Return a structured plugin manifest derived from live runtime data plus curated hints.

    The manifest is rebuilt from the live runtime on every call; nothing is cached.
discover_plugin_classes tool
Enumerate ALL registered classes in 3ds Max's DLL directory via native C++ SDK.
introspect_class tool
Inspect SDK class descriptors and published interfaces; unpublished APIs may be absent.
introspect_instance tool
Deep C++ SDK introspection of a live scene object with actual values.
inspect_material_network tool
Inspect a material graph: wired slots, nested maps, file manifest, and health issues.

    complete=false means part of the graph was not read, and hints.replicateReady is
    then false. truncated.depthLimited lists nodes with unread inputs: call again with
    a higher depth (up to 16). nodesOmitted/edgesOmitted need a higher max_nodes.
replicate_material tool
Preview or apply a structure-preserving material clone/remap through native C++.
assign_material tool
Create a material, or share an existing object's material with targets.

    params: {name: value} in MAXScript units: colors [r, g, b] as 0-1 floats or
    "#rrggbb", choice names, and maps built in place
    ({"base_color_map": {"class": "Bitmaptexture", "params": {"filename": "..."}}}).
    The reply reads each one back. parameters(class_name=..., kind="material")
    lists what a material takes. Legacy "key:value" text is still accepted.

    Existing material: pass source_name/source_handle (the OBJECT that wears it, not
    the material's name) instead of material_class, material_name and params. Both
    source selectors cross-check when supplied.
    This instances the actual material, including maps and sub-materials, so
    later material edits remain shared. Targets are preflighted and assigned in
    one undo step; missing/ambiguous nodes fail without partial assignment.
set_material_property tool
Set a property on an object's material (or sub-material).

    value: a typed value (number, bool, 0-1 color list or "#rrggbb" for a color,
    choice name, {"class": ..., "params": {...}} for a map slot) goes through the
    parameter model and is read back; a string is a MAXScript literal.
set_material_properties tool
Set multiple properties on an object's material in a single call.

    Typed values go through the parameter model and are read back in `values`;
    string values are MAXScript literals.
get_material_slots tool
Get compact material slot/property info without schema caches.

    Use when: inspecting map/param slots on a known material (prefer slot_scope='map').
    Not when: listing scene materials (get_materials) or building materials from textures
    (create_material_from_textures / smart_import). Avoid slot_scope='all' + include_values
    on Arnold/Physical — output is huge.
create_texture_map tool
Create a texture map and store it as a MAXScript global variable.
set_texture_map_properties tool
Set properties on a texture map stored as a MAXScript global variable.
set_sub_material tool
Create or assign a sub-material in a Multi/Sub-Object material slot.

    sub_material_index is the 1-based slot (1 = material ID 1); it is required.
write_osl_shader tool
Write an OSL shader to disk and create an OSLMap from it.
create_material_from_textures tool
Create a fully-wired PBR material from a folder of texture maps.

    Pass ``material_class`` to pick the renderer — any value from tripback
    ``supported_material_classes`` / ``hint.renderers`` (OpenPBR default, Physical,
    Arnold, Redshift, V-Ray, CoronaPhysicalMtl, MaterialX, Octane, etc.).
create_shell_material tool
Wrap render + export materials in a Shell Material (dual pipeline).

    **Wrap existing materials** — pass ``render_material`` and optionally
    ``export_material`` (material names already in the scene).

    **Build from textures** — pass ``texture_folder`` and ``render_material_class``
    (any PBR class from tripback: OpenPBR, Physical, CoronaPhysicalMtl, Arnold, Octane, etc.).
    Optionally set ``export_material_class`` for a different export/viewport material;
    defaults to the same class as the render side. Names default to
    ``{shell_name}_render`` / ``{shell_name}_export`` unless overridden via
    ``render_material`` / ``export_material``.
replace_material tool
Put source_material wherever target_material is used, on objects and in sub-material slots.

    source = material to APPLY; target = material to REPLACE. Names match
    exactly. Objects whose own material is the target are reassigned; with
    include_sub_materials (default) a target in any sub-material slot of an
    object's material tree (Multi/Sub, Blend, Shell...) is replaced in that
    slot. The source is the first material with that name found in this order:
    node (object materials), sub_material, material_editor, scene_materials,
    material_library; source_from = one of those limits the search to it, e.g.
    "material_editor" for a re-imported copy that shares its name with the
    material on objects. A slot where the source would create a reference loop
    is skipped with a reason.

    Reports replaced_objects, replaced_slots (parent material, 1-based
    slot_index, slot_name) and skipped. status: "replaced" when something
    changed, "no_match" when no material has the target name (check the
    direction), "no_objects" when it exists only in the Material Editor,
    "blocked" when every match was skipped (not reversed: do not swap),
    "unchanged" when every match already uses the source. preview=True returns
    the same report with status "preview" and changes nothing; a preview whose
    source is missing still lists the matches, with source_exists false.
    Example: source_material="Brick_A", target_material="Brick_B" -> every Brick_B use becomes Brick_A.
batch_replace_materials tool
Run several replace_material entries ({source, target}) as one undoable operation.

    source = material to apply, target = material to replace, as in
    replace_material. Entries apply in order, and each one is evaluated against
    the scene as the previous entries left it, so chains such as A->B then B->C
    are deterministic and A->B then B->A does not swap (go through a temporary
    material). Each result carries replace_material's fields and status;
    preview/dry_run plans the same chain without changing the scene.
    source_from applies to every entry unless an entry has its own source_from.
material_roles tool
Read the files connected to each material slot, including wrappers and submaterials.

    Supply unique object/material names OR scan_scene=true for assigned scene
    materials. Distinct slots, shared maps, composite inputs and file tiles stay
    separate. Each row carries the submaterial and source path; procedural maps
    can have no file. The operation is read-only.

    Filename mismatches are advisory: inspect channel selection, conversions and
    renderer modes before changing anything. Mask inputs are identified separately.
    only_problems retains missing files, mismatches, warnings and incomplete reads.
    Follow next_offset for more results; pages are stable while the scene is unchanged.
    complete=false means there are unread pages, failed targets, a truncated graph or
    an image map whose path could not be read (FILE_PATH_UNREADABLE warning).
    Increase depth/max_nodes for truncated graphs. Use inspect_material_network for
    parameter values. Requires a native bridge supporting graphVersion 2 connections.
get_materials tool
List all materials assigned to objects in the current 3ds Max scene.
get_material_library tool
Inspect the active material library scratchpad and Material Editor slots.

    source accepts:
      current — 3ds Max currentMaterialLibrary, also known as the temporary
        material library or scratchpad.
      medit — the 24 Compact Material Editor sample slots (meditMaterials).
      combined — currentMaterialLibrary followed by meditMaterials.
      all — currentMaterialLibrary and meditMaterials as separate sections.
backup_material_library tool
Save material-library scratchpads to .mat files without changing the scene.

    source accepts current, medit, combined, or all. The default all writes three
    files: currentMaterialLibrary, meditMaterials, and a combined scratchpad.
    Pass file_path only when saving a single source; backup_dir is used for
    timestamped backups.
palette_laydown tool
Lay down folder textures into Compact Material Editor palette slots.

    slot_content: material = one preview per bitmap (OpenPBR by default); bitmap = raw
    Bitmaptexture slots; pbr_material/full_pbr = grouped PBR material sets.
    material_class selects the renderer for previews and grouped PBR. Pass any
    value from tripback ``supported_material_classes`` — OpenPBR, Physical, Arnold,
    Redshift, V-Ray, CoronaPhysicalMtl, MaterialX, Octane variants, etc.
    include_displacement controls whether height/displacement maps are wired in
    grouped PBR mode.
    name_pattern: optional include glob(s) on texture-set / filename stems,
    comma-separated (e.g. ``*wood*`` or ``oak_*,birch_*``). Empty imports the
    first ``max_slots`` items alphabetically.
    exclude_pattern: optional exclude glob(s) on the same stems (comma-separated);
    anything matching is skipped even if it matched name_pattern — the
    "don't lay that down" filter (e.g. ``*_preview*`` or ``*atlas*,*lowpoly*``).
    recursive scans subfolders (default true).

    sample_mode:
        first — flat folder, first items alphabetically (default).
        random — flat folder, random selection (use random_seed to repeat).
        one_per_subfolder — first texture set / image from each child folder.
        random_per_subfolder — one random set / image per child folder; good for
            large asset libraries with many material categories (one per subfolder).

    overflow_mode:
        truncate — only fill up to max_slots (default).
        palette_then_library — overflow materials go to currentMaterialLibrary
            when there are more picks than Compact palette slots (max 24).
smart_import tool
Batch-import 3D meshes from a folder, auto-assigning materials by stem matching.

    folder:
        Directory to scan for mesh files. Supported extensions: .max .fbx .obj .3ds
        .dae .dwg .dxf .stl .ply .abc .usd .usda .usdc .usdz .glb .gltf .skp .ifc
        .step .stp .iges .igs. .max is merged with mergeMaxFile and keeps its existing
        materials; .usd* is imported with sibling .mtlx if present; everything else
        gets a PBR material built from textures with matching names.
    texture_folder:
        Where to look for textures to wire to the imported meshes. Defaults to *folder*
        when empty. Textures are matched by longest-stem-prefix against mesh stems and
        grouped by PBR channel using the same detection patterns as palette_laydown.
        Shared-atlas assets (``assetid_LOD0.fbx`` + ``assetid_4K_Albedo.jpg``) match
        on the shared asset id; highest resolution map wins per channel. Per-asset
        folders with a generic mesh name (``mesh.fbx``) and a sibling ``tex/`` folder
        also match by co-location — no shared stem required.
    recursive:
        Scan subfolders for meshes and textures (default true — asset libraries
        often store one asset per subfolder).
    material_class:
        Renderer for auto-built PBR materials. Pass any value from tripback
        ``supported_material_classes`` / ``hint.renderers`` — OpenPBR (default),
        Physical, Arnold, Redshift, V-Ray, CoronaPhysicalMtl, MaterialX, Octane variants, etc.
        Empty defaults to OpenPBR. Ignored for .max and .usd* assets.
    include_displacement:
        Wire height/displacement maps when present (default true).
    grid_spacing:
        XY spacing in scene units between imported asset centers. The grid is
        roughly square (ceil(sqrt(N)) columns).
    lod_filter:
        ``lod0`` (default) — import only ``*_LOD0`` meshes; skip ``*_LOD1+``; meshes
        without a LOD suffix are kept. ``all`` — import every LOD file found.
    name_pattern:
        Optional include glob(s) on mesh filename stems (case-insensitive).
        Comma-separated for several, e.g. ``*wood*``, ``oak_*,birch_*``, ``*_LOD0``.
        Empty or ``*`` imports every mesh.
    exclude_pattern:
        Optional exclude glob(s) on mesh stems (case-insensitive, comma-separated).
        Anything matching is skipped even if it also matched name_pattern — e.g.
        ``*_broken*`` or ``*debris*,*lowpoly*``. The "don't import that" filter.

    Dedup: a mesh file is skipped if any scene object's name starts with its stem.
mcg_get_context tool
Return the live MCG compiler, temp workspace, templates, and safety context.
mcg_list_graphs tool
List session graphs or read-only installed/sample graph sources.

    Mutating tools accept only ``graph_id`` values from the session scope.
    A ``source_id`` can be passed to ``mcg_create_graph(template_id=...)`` to
    fork a read-only graph into the temp workspace.
mcg_inspect_graph tool
Inspect a session graph or read-only source as normalized graph data.
mcg_search_operators tool
Search typed inputs plus value(0)/function(1) outputs; fall back to XML offline.
mcg_create_graph tool
Fork an Autodesk/source template into temp storage and optionally compile/test it.
mcg_compile_graph tool
Validate, compile, and optionally test one temp MCG graph.
mcg_resolve_class tool
Compile a temp modifier graph and resolve its exact native class descriptor.
mcg_apply_modifier tool
Compile and safely apply a temp MCG modifier using typed node references.

    ``node_parameters`` maps exact exposed PB2 names to scene object names or,
    preferably, stable node handles. Only scalar node-reference parameters are
    accepted by the native bridge.
mcg_set_node_parameter tool
Safely retarget one scalar node parameter on a compiled MCG modifier.
mcg_inspect_instance tool
Inspect one MCG modifier after proving its class ID and graph identity.
mcg_test_tool tool
Compile the current hash, then create/inspect/delete one disposable instance.
mcg_apply_patch tool
Patch a temp graph transactionally, then compile/test and roll back on failure.

    Port names are accepted for ``connect.dest_port`` and resolved against the
    live typed operator depot before writing numeric MCG slot indices.
mcg_restore_checkpoint tool
Transactionally restore an opaque checkpoint, then optionally compile/test it.
mcg_reload_operators tool
Explicitly refresh the global MCG depot; not used by the normal per-graph loop.
mcg_cleanup_workspace tool
Delete one temp graph family or the entire process-scoped MCG workspace.
boolean_operation tool
Boolean modeling on a base object via the Boolean modifier (BooleanMod).

    Actions:
    - apply: append `operands` (node names) and/or `cutters` (inline defs) with
      `operation` — union | subtract | intersect | merge | attach | insert | split.
      Reuses the topmost BooleanMod unless new_modifier=true. Non-live operands are
      CONSUMED (scene node deleted, geometry captured; the operand keeps its name
      inside the modifier). live=true keeps operand nodes in the scene (hidden).
      `operations` optionally overrides per operand (parallel to `operands`).
      operation_option: imprint (edges only) | cookie (cut without adding faces).
      method: mesh (default) | openvdb (+ voxel_size for VDB resolution).
      `cutters`: scratch primitives built and applied in the same call — never
      litter the scene. Each: {name (required), shape: box|cylinder|sphere (default
      box), size: [x,y,z] or number, pos: [x,y,z] bbox CENTER, rot: [deg,deg,deg],
      operation?, segments? (4-256; cylinder default 64, sphere 32)}.
      Cylinder size is [diameterX,diameterY,height], using the smaller diameter.
      Cylinder is Z-axis (rot to orient); size a through-cut past both
      faces. `repeat` {count, axis: x|y|z|-x|-y|-z, spacing} arrays every cutter
      along the axis, naming instances <name>_1..N.
    - list: enumerate operand stack — flat index, name, operation, option, disabled.
    - set_operand: retune operand at operand_index — operation / operation_option /
      rename (anchor-friendly) / disable.
    - remove_operand: delete operand at operand_index from the stack.
    - extract_operand: copy operand at operand_index back out as a scene object.

    Use when: cutting holes, insets, panel lines, or fusing parts on geometry.
    Not when: collapsing the result (collapse_modifier_stack) or spline booleans.

    backend: auto uses BooleanMod when available (2024+), otherwise ProBoolean
    for Max 2023; existing ProBoolean bases retain their route. Explicit modifier
    or proboolean selects a route. ProBoolean supports apply only, with mesh
    union/subtract/intersect/merge, inline cutters and repeats. Live references,
    imprint/cookie and operand-stack actions require the modifier route.
    It retains an editable compound base, requires no
    modifiers or instances on the base, and rejects modifier-only options/actions.
pick_component tool
Target Editable Poly base-cage IDs from an AGENT VIEWPORT capture.

    x/y: normalized image coordinates, top-left origin. expected_view is the
    single capture's view_token. With no name/handle, the nearest surface hit
    chooses the node; explicit targets also support silhouettes and cage work.
    level: vertex | edge | face. selection uses inspect_mesh filters. tolerance
    is a fraction of the shorter image side (0..0.25); limit is 1..100 results.
    Screen tolerance uses full segments and face polygons, including interiors.
    prefer_surface=true ranks matches by world distance to the cursor's surface
    hit when it belongs to this node; false ranks screen distance first. This
    helps separate a visible rim from hidden cage edges that project over it.
    Returned IDs use mesh_edit expected_mesh=result.mesh_token.
    Nothing is selected, moved, converted or added to either viewport.

    Projection does not prove component visibility. Front/back and overlapping
    candidates can coincide; modifiers may move the visible surface away from
    the base cage. Nonplanar face-distance estimates are marked approximate.
    Inspect candidates and surface evidence before editing.
    Reads at most 1000 filtered components and 10000 unique vertices; incomplete
    inspection, unprojectable geometry and output truncation are explicit.
contact_check tool
Find meshes that pass through each other, touch, or float just short of contact.

    Scope: `names` checks those nodes pairwise. `names` + `against` checks each
    name only against the `against` nodes (e.g. all legs against the floor and
    seat). With neither, the current selection is used, or all visible geometry
    when nothing is selected. Only pairs whose world bounding boxes come within
    near_gap are measured.

    Named nodes that are not meshes (group heads, dummies, shapes, lights),
    empty meshes and meshes over max_faces are returned in `skipped` with a
    reason and a warning; missing or ambiguous names still fail. At least two
    meshes must remain, with one in `names` and one in `against` when `against`
    is used.

    time_budget_s (1-300) bounds the run. Pairs are measured fewest faces
    first; when time runs out the result has complete=false, pairs_measured
    below candidate_pairs and a warning. Unmeasured pairs are unchecked, not clear.

    Status per pair, most severe first:
      penetrating  - a vertex (or, failing that, a face center) lies inside the other
                     closed mesh deeper than tolerance
      intersecting - surfaces cross with no vertex inside (thin parts, open meshes)
      touching     - closest vertex within tolerance of the other surface
      near_gap     - clearance above tolerance but within near_gap (floating parts)
      separate     - hidden unless include_separate=true

    depth is a lower bound (deepest inside vertex to surface); gap is an upper
    bound (vertex to surface). Both in scene units, world space, evaluated
    meshes with modifiers. tolerance defaults to 0.1 mm and near_gap to 10 mm,
    converted to scene units. Points are world positions to aim a camera or
    inspect_mesh at. An open mesh has no inside, so a part piercing it reports
    intersecting; its own vertices can still sit inside a closed part and report
    penetrating. Read only; the scene is not changed.
inspect_curve tool
Read an editable spline's world knots/handles, QA, and stale-edit token.

    Spline is 1-based. knot_ids filters output; limit caps rows, not QA. read
    reports sampled planarity/intersections, tangent breaks, and analytic per-segment
    backtracking along endpoint chords (corners and backtracking can be intended).
    capture labels K#/I#/O# into an AGENT VIEWPORT image, never the user's view.
    pick needs x/y normalized to that image and expected_view; ranks knot and
    handle candidates within tolerance (fraction of shorter image dimension).
    Visibility is not guaranteed: overlapping front/back handles are ambiguous.
    Pass curve_token as edit_curve.expected_curve. Any base-geometry, topology
    or object-transform change invalidates it; selection alone does not.
    No conversion, selection changes or scene helper objects. Maximum 2000 base
    knots; QA uses a bounded polyline approximation, not an exact intersection test.
edit_curve tool
Atomic world-space base-spline edits guarded by inspect_curve.curve_token.

    edits: [{op:"set",spline:1,knot:2,pos:[x,y,z],in_vec:...,out_vec:...,
    type:corner|smooth|bezier|bezierCorner}]. Fields are optional; moving pos
    translates existing handles unless explicitly replaced. Handles are absolute
    world positions. Each knot appears once per batch; all IDs preflight before
    writes. Editing smooth/corner handles requires type:"bezierCorner" or "bezier".

    Topology operations: {op:"insert",spline:1,segment:2,param:.5},
    {op:"delete",spline:1,knot:2}, {op:"reverse",spline:1},
    {op:"close"|"open",spline:1}. Use one topology operation per call and
    inspect again for new IDs. No conversion or stack collapse. Shared bases are
    rejected; make unique first. A manual edit to a curve_model object blocks its
    parameter updates until geometry returns to a retained recipe state.
curve_model tool
Construct editable curves, swept profiles or matched quad lofts with saved controls.

    preview evaluates locally without Max. create saves a new named object and its
    recipe in one undo step. read returns controls/token; include_definition adds
    source. update requires expected_model from read and changes existing numeric
    parameters, preserving node placement/materials/modifiers and component count.
    Manual geometry edits, instanced bases and stale recipes block updates.

    definition={curves:{name:curve,...},output:{kind:curve|sweep|loft,...},tolerance:.01}.
    Curve kinds: polyline, spline (through points), bezier (4 control points), path
    (start + line/arc/tangent_arc/bezier segments), circle, arc, rounded_rectangle.
    plane: xy|xz|yz or {origin,x_axis,normal}. Points have 2/3 local coordinates.
    Dimensions accept arithmetic strings referring to parameters; angles are degrees.
    polyline supports closed, fillet radius, and outward miter offset for closed XY.
    rounded_rectangle: width,depth,radius. circle/arc: radius,center,start_angle,sweep.
    path segment: {kind,to,label?}; arc adds radius/clockwise; tangent_arc adds
    tangent (or inherits previous); bezier adds start_tangent/end_tangent and
    start_length/end_length (directions of travel, positive handle lengths).

    output curve: {kind:"curve",curve:"outline"}.
    output sweep: {kind:"sweep",path:"rail",profile:"section",up:[0,0,1],
      path_samples:48,profile_samples:32,twist:0,scale:[1,1],caps:true}.
    Profile is CCW in world XY at z=0. up sets its initial Y direction; must not
    parallel the path. Frames follow bends without arbitrary roll. Closed paths
    need caps:false, equal scales and whole-turn twist.
    output loft: {kind:"loft",sections:["a","b"],profile_samples:32,
      align:"start"|"auto",caps:true}. Same winding required; auto chooses cyclic
    seams at creation and locks correspondence across parameter updates.
    All outputs support reverse on meshes. No extra scene helper nodes. Recipes
    retain source curves; mesh outputs are editable quad cages, not live Sweep
    modifiers. Curve QA is sampled; intersections/thickness of surfaces are not
    certified. Preview, create, inspect visually, then refine controls.
geometry_qa tool
Check evaluated mesh topology without changing the scene or collapsing its stack.

    Pass name/handle, or omit both for the one selected node. Counts boundary
    edges, >2-face non-manifold edges, inconsistent adjacent triangle winding,
    degenerate/duplicate triangles, disconnected edge-components and isolated
    vertices. Samples include world positions; limit=1..100 caps samples only.
    All geometry is checked up to max_faces (default 100000, maximum 500000;
    vertices capped at 3*max_faces). A limit failure never returns partial QA.
    area_epsilon uses squared scene units; 0 chooses bbox_diagonal^2 * 1e-12.
    IDs are evaluated snapshot vertices/triangles, NOT inspect_mesh base-cage IDs.
    Use sample centers to inspect the base cage before editing. snapshot_token
    identifies this report only and is not a mesh_edit expected_mesh token.
    Open boundaries/separate components can be intentional. No welding, repair,
    self-intersection, thickness, vertex-manifoldness, or custom-normal checks.
loft_mesh tool
Create/read/update a parameterized quad loft stored on its mesh node in the .max file.

    create: name + sections [[[x,y,z],...],...], with matched point counts and
    corresponding point order. Coordinates start in world space. profile_closed
    wraps each section; close_path joins last section to first. Never duplicate
    the first point/section. caps adds n-gon ends only for closed profiles/open
    paths (planar, simple end profiles recommended); reverse flips all winding.
    Side faces stay quads. No automatic resampling, smoothing or intersection repair.
    Coordinates may be numbers or arithmetic strings using numeric parameters:
    '-width/2', 'radius*cos(pi/4)'. Supports + - * / % **, sin/cos (radians),
    sqrt, abs, min/max, pi; no Python/MAXScript execution or external dependencies.
    read: name/handle (or one selected node) returns compact parameters/counts/state.
    include_definition=true adds the full source sections on any action; default
    false avoids returning large construction arrays just to query a dimension.
    update: name/handle + parameters to change existing named values. Keeps vertex
    IDs, node placement, materials and modifiers. Rejects manual cage/topology
    changes and instanced bases. Definition/options cannot change during update.
    Creation + definition share one hold; updates roll back geometry and AppData
    on failure. Up to 16 cage/parameter states are retained to recognize geometry
    undo without depending on AppData undo behavior. Older unmatched cages fail.
inspect_mesh tool
Inspect an Editable Poly BASE cage with actionable component IDs and optional labeled capture.

    level: vertex | edge | face. Omit name/handle to inspect the one selected node.
    selection filters (intersect): indices:[1,...], current:true, all:true,
    bbox:[minx,miny,minz,maxx,maxy,maxz], near:[x,y,z]+radius,
    normal:[x,y,z]+angle (faces, degrees, default 10), boundary:true (edges),
    sharp:30 (edges with at least this dihedral angle, excludes open borders).
    Bbox/near match component CENTERS in world space; normals are world normals.
    Defaults to all components, capped by limit (1-1000). Does not convert geometry.
    Returns counts, selected IDs, ordered vertex IDs, positions, normals, mesh_token.
    IDs belong to the base cage beneath modifiers, not the subdivided surface.
    capture=true labels up to 100 matched components in AGENT VIEWPORT when open,
    otherwise the current viewport, and
    saves a PNG; inspect that file. Narrow the filter for legible labels.
mesh_edit tool
Edit vertices, edges, and faces as one undoable batch, rolling back on failure.

    Each operation: {op, level:vertex|edge|face, selection:{...}, operation values}.
    Selection uses inspect_mesh filters. Omitted selection uses current component
    selection; all:true is explicit. Geometric filters are reevaluated per step.
    ops: select; move(offset:[x,y,z]); scale(factors:[x,y,z],pivot?:world point);
    extrude(amount,mode:group|local|polygon); inset(amount,mode); bevel(amount,outline,mode);
    chamfer(amount,segments); connect(segments,pinch,slide); bridge(segments);
    delete; cap; relax(amount:0-1,iterations). Chamfer/connect/cap require edges;
    extrude/inset/bevel require faces; bridge accepts faces or edges.
    Moves/scales and selection filters use WORLD space. Surface-operation amounts
    use mesh LOCAL units; inspect transforms before editing scaled meshes.
    Edits the Editable Poly BASE cage, preserving modifiers above it. convert=true
    explicitly converts a non-poly object and collapses its stack in the same undo.
    expected_mesh optionally guards IDs with inspect_mesh's mesh_token. After topology
    edits, inspect again or use geometric selectors instead of reusing old IDs.
    show_selection displays the last component selection in Max's Modify panel.
    Shared base geometry changes in all instances; inspect_mesh reports instance_count.
create_mesh tool
Create an Editable Poly from explicit WORLD vertices and ordered polygon faces.

    faces use 1-based vertex IDs, at least three distinct IDs each. Counterclockwise
    winding viewed from outside gives outward normals. Supports quads and n-gons;
    no forced triangulation. Useful for curved furniture, lofted sections, and custom
    architectural details; then refine through inspect_mesh/mesh_edit.
    Rejects an existing name. Creation is one undo step with rollback on error.
add_modifier tool
Add a modifier to an object, with its parameters set in the same step.

    params: {name: value} in MAXScript units (degrees, 0-1 colors, choice names
    such as {"BendAxis": "x"}, transforms such as {"gizmo": {"rotation": [0, 0, 45]}});
    the reply reads each one back. parameters(class_name=..., kind="modifier")
    lists what a modifier takes. Legacy "key:value" text is still accepted.
remove_modifier tool
Remove a modifier from an object by name.
set_modifier_state tool
Set the enable state of a modifier with viewport/render granularity.
collapse_modifier_stack tool
Collapse the modifier stack on an object.
make_modifier_unique tool
Make an instanced modifier unique (de-instance it).
set_modifier_property tool
Set a modifier parameter on one object or many.

    Object scope: pass `name` for one node, `names` for several, or `selection_only=true`.
    Leave all three empty only when using `modifier_class` to update every matching modifier in the scene.

    Modifier target (pick one):
    - `modifier_index` (1-based stack index) — best for a single known modifier
    - `modifier_name` — match by modifier stack entry name
    - `modifier_class` — every modifier of that class on each scoped object (batch)

    property_value: a typed value (number, bool, [x, y, z], 0-1 color, choice name,
    {"rotation": [...]} for a gizmo) is set through the parameter model and read
    back per hit; a string is a MAXScript literal ("2", "true", "#z").

    Examples:
    - One TurboSmooth on Box001: name="Box001", modifier_index=1, property_name="iterations", property_value=2
    - All Smooth modifiers on selection: selection_only=true, modifier_class="Smooth", property_name="autosmooth", property_value="true"
edit_vertices tool
Read and manipulate Editable_Poly vertices in world space.

    Actions:
    - get: vertex positions — filter by `indices`, `in_bbox` [minx,miny,minz,
      maxx,maxy,maxz], or `near_point` + `radius`; capped at max_verts.
    - move: translate `indices` (all verts if omitted) by `offset` [x,y,z].
      falloff>0 also drags surrounding verts with (1-d/r)^2 soft weighting.
    - set: place `indices` at explicit `positions` (parallel lists).
    - conform: pull `indices` (all if omitted) onto `target` — a spline (closest
      point on curve `spline_index`) or geometry (ray-cast along `axis`:
      x|y|z casts both ways, +x/-x/... one way). `axes` masks which world axes
      the displacement applies to (e.g. "xz" fits a silhouette while preserving
      width); `strength` is the fraction moved (1.0 = all the way).

    Edits hit the Editable_Poly BASE object beneath any modifiers (cage editing —
    TurboSmooth etc. update live). Non-poly bases: pass convert=true (collapses
    the stack) or use collapse_modifier_stack first.

    Use when: fitting geometry to a reference profile, shaping after blockout,
    fixing silhouettes, targeted vertex surgery no modifier expresses.
    Not when: uniform deformations (Bend/Taper/FFD via add_modifier) or
    sub-object face/edge ops (Edit_Poly workflows).
draw_spline tool
Draw and edit spline shapes from explicit points (world-space).

    Actions:
    - create: new shape from `points` — each point is [x,y,z] or a dict
      {pos, type: corner|smooth|bounded|bezier|bezierCorner, seg: line|curve, in_vec, out_vec}
      (bezier handle vecs are absolute positions). closed=true closes the loop.
      knot_type sets the default; thickness>0 makes it renderable; center_pivot
      moves the pivot to the bbox center. Default smooth uses Max auto tangents and
      can overshoot uneven point spacing. Use bounded for sampled pipe/cable paths:
      it generates explicit short, aligned Bezier handles without segment backtracking
      along endpoint chords. This is not a global self-intersection guarantee.
      bounded is supported by create/add_spline only; corner preserves a polyline.
    - add_spline: add another spline (from `points`) to an existing shape — holes,
      multi-outline shapes. Converts parametric shapes to editable SplineShape.
    - get: read back splines/knots (positions, types, handle vecs) plus optional
      `samples` length-uniform points per spline for silhouette comparison.
    - set_knots: edit knots via `knots` list — {spline, knot, pos, in_vec, out_vec,
      type}; moving a bezier knot without explicit vecs drags its handles along.
    - insert_knot: refine `segment` of spline_index at `param` (0-1) — adds a knot.
    - delete_knot: remove knot_index from spline_index.
    - delete_spline: remove spline_index entirely.
    - set_render: toggle renderable mesh — thickness (0 disables), sides.

    Edits target the spline BASE, preserving Surface, CrossSection, Sweep, etc.
    A parametric base with modifiers requires convert=true to collapse explicitly;
    bare parametric shapes still convert automatically. A drawn Line already
    counts as editable and is never converted. Coordinates are world-space.
    Pair with modifiers for solids: Extrude, Lathe, Bevel, Sweep on the result.
    Use when: tracing reference profiles/silhouettes, drawing paths, building
    curved forms parametric primitives cannot express, refining spline curves.
    Not when: simple parametric shapes (create_object: Circle, Rectangle, ...).
clone_objects tool
Clone (copy/instance/reference) objects in the scene.

    count is the number of NEW copies per source (1-200), excluding the original.
    Each repetition uses offset * (1..count) from the original in world units.
    Example: count=14, offset=[60,0,0], mode="instance" builds a 15-beam row.
    Repeated arrays preserve hierarchies and run in one undo step.
    Returns actual cloned names and spatial snapshots; duplicate sources are ignored.
set_parent tool
Parent or unparent objects in the 3ds Max scene.
get_hierarchy tool
Get the hierarchy tree of an object (recursive children).
isolate_and_capture_selected tool
Capture isolated viewport screenshots of each selected object (resolves to top-level parents).
batch_rename_objects tool
Rename multiple objects in a single batch operation.
get_object_properties tool
Get compact properties of a named object (transform, class, material name).

    Use when: you need a small property snapshot for one known object.
    Not when: searching the scene (query_scene) or a deep exploratory dump (inspect_object).
set_object_property tool
Set a property on a named object in the 3ds Max scene.
create_object tool
Create a geometry object with spatial placement feedback.

    pos_mode controls how pos is interpreted:
    - ground (default): pos targets the bottom-center of the world bbox (floor contact).
    - center: pos targets the bbox geometric center.
    - pivot: pos sets the node pivot directly (legacy/advanced).

    params: {name: value} for any class's parameters in MAXScript units (degrees,
    0-1 colors, choice names); the reply reads each one back under "params".
    parameters(class_name=type) lists what a class takes. Legacy "key:value"
    text is still accepted.

    Returns JSON with name, class, placement, bbox, axes, pivot, and localAxesWorld.
delete_objects tool
Delete objects from the 3ds Max scene by name.
manage_layers tool
Manage scene layers — create, delete, list, set properties, move objects.
manage_groups tool
Manage object groups — create, ungroup, open, close, attach, detach.
manage_selection_sets tool
Manage named selection sets — create, delete, list, select, replace.
analyze_node_orientation tool
Inspect world-space orientation, pivots, bounding boxes, and local axes for scene nodes.
select_objects tool
Select objects in the 3ds Max scene. An explicit names=[] clears selection.
transform_object tool
Move, rotate, and/or scale an object by world/local offsets.

    rotate: [x, y, z] degrees about X, then Y, then Z, counterclockwise looking down each
    axis, as MAXScript's rotate node (eulerAngles x y z): [0, 0, 90] turns +X to +Y.

    Use when: posing unkeyed (or intentionally current-frame) objects.
    Not when: editing animation on keyed tracks — prefer keyframe_tracks value/move at
    explicit times; this tool can rewrite keys at the current slider frame.
set_visibility tool
Show, hide, freeze, or unfreeze objects.
pulze_inspect tool
Read every Pulze Scene Manager setup in the open scene.

    Use when: you need what each setup renders: camera, resolution, frame range,
    output path, and which layer/element/object overrides it carries.
    Not when: you only want the current Max render settings (use query_scene).
    Reads a scene custom attribute; nothing in the scene changes. Also reports
    window_open: while the Scene Manager window is open, edits are refused.
    Each setup's camera.node is the scene camera as {handle, name}, the handle
    other tools take; None when the stored camera is gone (pulze_preflight says
    why). detail=full adds each setup's raw JSON as Scene Manager stores it:
    its camera.handle is a MAXScript node handle, a different number from the
    handle other tools take, so never pass it to them.
pulze_preflight tool
Check Pulze setups for the faults that waste an overnight render.

    Use when: before starting or submitting a batch. Catches a camera whose node
    handle no longer resolves (even if a camera with the same name exists), a
    renamed camera, a missing or extension-less output path, an output folder
    that does not exist, two setups writing to the same file, an invalid or
    test-size resolution, and an unintended frame range.
    Not when: you want to fix them (that is pulze_set). This only reports.
    Checks render-enabled setups; include_disabled=true checks all of them.
pulze_set tool
Edit existing Pulze setups in one guarded, undoable write.

    Each edit selects exactly one setup with index (int), id or name, plus any of
    resolution {width, height} (whole pixels 1..32768), camera (unique scene
    camera name; Scene Manager stores its node), output_path, render_enabled. Ambiguous names
    or ids are refused. expected_token comes from pulze_inspect or
    pulze_preflight; confirm must be true.

    Refused, with nothing changed, when the Scene Manager window is open (it
    would overwrite the edit when it closes), when another undo operation is in
    progress, when the scene or 3ds Max process changed, or when the setups
    changed since the token was read. The write is one undo step, is read back,
    and is rolled back if the read-back fails. Returns backup_id for pulze_restore.
    Creating new setups is not supported.
pulze_restore tool
Put Pulze setups back exactly as they were before a pulze_set.

    backup_id is what pulze_set returned. Backups are files bound to the 3ds Max
    process and scene they came from. Refused, with nothing changed, on another
    scene or process, when the setups changed after that edit (restoring would
    overwrite newer work), or while the Scene Manager window is open. The
    restore is one undo step and is verified by read-back before reporting
    restored=true. Ctrl+Z in 3ds Max also reverts a pulze_set.
get_railclone_style tool
Read complete RailClone style XML and a token for guarded replacement.

    Requires RailClone 7.3.5+. Target by unique name or handle; both are cross-checked.
    XML is verbatim, including nested graphs and unknown fields. No reconstruction
    or truncation. Pass style_token as set_railclone_style.expected_style.
    Style XML is graph data, not a portable geometry/material asset package.
set_railclone_style tool
Replace a RailClone graph using setXMLStyle and return actual XML readback.

    Read first; expected_style is the returned style_token, checked in Max before
    applying. Requires well-formed <scene> XML. RailClone's Ok means XML acceptance,
    not graph/geometry correctness; verify generated results with get_railclone_output.
    setXMLStyle itself is not undoable, so the edit is staged on a copy of the
    RailClone base and adopted in one undo step. Node identity, transform, material
    and modifier stack stay intact; base identity changes. Instanced bases and
    master/slave style links are refused. Source geometry is not created here.
    Rejected styles never replace the original base. Maximum XML: 4 million chars.
get_railclone_output tool
Inspect RailClone getXMLOutput at the current frame, without rendering.

    Returns paged item attributes verbatim: index, source_segment, instanced, tm,
    box, tags, plus future fields. Matrix/bounds strings keep RailClone's native
    convention; no coordinate conversion is inferred. offset is a zero-based row
    offset. total and truncated describe pagination. include_xml adds the full,
    unpaginated XML. Each call reevaluates output; pages are not a snapshot.
    Empty output is valid. Complete XML is capped at 4 million characters.
get_effects tool
List all atmospheric effects and render effects in the scene.
toggle_effect tool
Enable or disable an atmospheric or render effect by index.
delete_effect tool
Delete an atmospheric or render effect by index.
render_automations tool
Arm a done-signal for the NEXT render, then report when it finishes.

    This does NOT start the render — firing a render from the bridge made Max
    loop, so you trigger the render yourself (hit Render, or execute_maxscript
    `max quick render`) after arming. The signal honors whatever Render Setup's
    Time Output produces; the bridge only detects completion.

    action:
      start    ARM the NOTIFY_POST_RENDER done-signal for the next render (does
               NOT render). Returns signal_path plus a background `watcher`
               command. After this, trigger the render yourself. Errors if a
               job is already armed/pending — never arm twice.
      status   Read the signal file for `job_id` (or `signal_path`). Never touches
               Max — "rendering" until it exists, else the completion record
               (the post-render event confirms the render ended, not its outcome;
               a crash or failure before that event can leave no signal).
      cancel   Request cancellation through Max's abort flag using a separate
               native pipe connection pinned to the same Max instance. It bypasses
               the normal connection's in-flight render. Cancellation is cooperative:
               the renderer must check the flag. A cancelling response is not proof
               that rendering has stopped; the completion signal does not reliably
               distinguish cancellation from success.
      cancel_capture  Save the unobscured VFB window image, then request cancellation for
               the matching armed job_id, through one independent connection.
               Use only for a render you armed and started. crop=[x,y,width,height]
               trims physical client-area pixels. capture_target=vray_vfb, corona_vfb or fstorm_vfb
               selects that renderer's frame buffer; capture_target=screen is an
               explicit desktop fallback for another renderer's visible framebuffer.
               Window capture excludes overlaps, requires an open/non-minimized VFB
               and never falls back to desktop pixels. Requires the updated bridge.
               Does not wait for render convergence or denoising.
               Configure progressive sampling and the renderer's denoiser BEFORE
               starting a production preview; this cannot retrofit a blocked render.
               The result is partial evidence, never proof of a stopped/denoised render.

    watch_timeout_sec caps the watcher (default 3600; 0 = wait forever). On cap
    it prints {"status":"timeout"} and exits 2 — check action=status before
    deciding anything. (`vfb` is accepted but ignored — the bridge no longer
    fires the render, so it can't set the VFB flag.)
render_setup tool
Light, frame and render the scene: the same call on every renderer.

    The script names what it wants in neutral terms; the active renderer's preset turns
    that into its own classes and parameters (Octane, FStorm, V-Ray, Corona, Scanline, ART).
    Never write renderer-specific light classes by hand. Every argument is optional and
    only what is given changes, in one undo step, verified by readback:

      render_setup()                              what this renderer offers and what the
                                                  scene has: kinds with their fields and
                                                  units, notes, lights, cameras, settings
      renderer="octane"                           make it the production renderer (a preset
                                                  id or a renderer name; not undoable, and
                                                  the renderer it replaces loses its
                                                  settings). A call that fails keeps the
                                                  renderer the scene had.
      quality="draft"|"preview"|"final"           the preset's sampling level
      settings={"samples": 600, "denoise": True}  neutral names, or the renderer's own
                                                  parameter names for anything else
      lights=[{"name": "Lamp", "kind": "sphere", "radius": 4, "position": [0, 0, 150],
               "intensity": 800, "unit": "lm", "kelvin": 2700}]
          kind: rectangle (width, height), disk (radius), sphere (radius), cylinder (radius,
          length), point. position, and aim_at or direction for the flat and tube shapes.
          Color is kelvin or rgb (linear, in the rendering space). Also enabled,
          cast_shadows, visible, double_sided where the renderer has them.
      sun={"elevation": 40, "azimuth": 220}       degrees above the horizon, and clockwise
                                                  from +Y (north) toward +X (180, south,
                                                  when omitted); or direction. One of the
                                                  two given alone keeps the other.
                                                  intensity is a multiplier (1 = the
                                                  renderer's physical sun).
      environment={"path": "C:/hdri/sky.exr", "intensity": 1, "rotation": 90}
                                                  an EXR or HDR lighting the scene;
                                                  replace=True to replace another one
      camera={"name": "Cam", "position": [300, -400, 150], "aim_at": [0, 0, 100], "fov": 55}
      render={"camera": "Cam", "size": [1280, 720]}
                                                  renders that camera (the active viewport
                                                  when no camera is given) to a JPG and
                                                  shows you the image. output= sets the file.

    A name that already exists is updated, with only the fields given: run the same script
    again to adjust, e.g. lights=[{"name": "Lamp", "kind": "sphere", "intensity": 400}].
    Lights without a name are always created. Delete with mx.delete.
    A sun, camera or environment without a name goes by its kind (Sun, Camera). Where
    another renderer's object holds that name, it is left alone and this renderer's own
    is Sun_<preset> (Sun_octane); the reply's name and notes say so.

    intensity: give unit (lm, cd, nits, W, or renderer for the renderer's own number); it
    defaults to the kind's unit. A unit the renderer lacks is converted when the shape
    defines it and the reply says so; otherwise the call fails naming the units it takes.
    For one script on several renderers: intensity={"lm": 800, "fstorm": 30} uses the
    first entry (a unit or a preset id) the active renderer takes.
    native={"parameter": value} writes any other parameter of the object by its own name.
    Distances are scene units unless distance_unit is mm, cm, m, in or ft.

    A render that outlives its wait returns {"status": "running", "job": ...}: call
    render_setup(job=...) to wait again and never start it twice. Render only when the
    user asked for one. A renderer without a preset is refused with the list of presets;
    presets are JSON files, and one dropped into %LOCALAPPDATA%/3dsmax-mcp/renderers adds
    a renderer without code.
get_state_sets tool
Get all State Sets with their camera assignments and frame ranges.
get_camera_sequence tool
Get only the camera-assigned State Sets, sorted by start frame.
scatter_forest_pack tool
Create a Forest Pack scatter object and wire surfaces + source geometry.

    Footprint ``widthlist``/``heightlist`` are auto-sized per geometry item from each
    source node's bounding box (Forest Pack skips items with zero footprint).
query_scene tool
Unified scene query. action: overview | filter | class | property | selection | delta.

    Use when: reading scene state, finding nodes, checking selection, or verifying edits (delta).
    Not when: deep single-object dumps (inspect_object), bridge diagnosis (get_bridge_status),
    or bundling bridge+capabilities+scene (get_session_context — on demand only).

    overview — counts, materials, modifiers, layers, roots (max_roots)
    filter — paginated node list (class_name, pattern, layer, limit, offset, roots_only)
    class — find class instances (class_name, scope=nodes|refs|auto, superclass, limit)
    property — find objects by property (property_name, property_value, class_filter)
    selection — current selection (detail=compact|full, max_items)
    delta — changes since last baseline (capture=true to reset; unchanged_since=N for cheap journal no-op)
manage_scene tool
Manage the 3ds Max scene file. action: hold | fetch | reset | save | info.

    save writes the current file path (never Save As); fetch and reset show their prompts.
undo_last tool
Undo the last 3ds Max scene operation.
resolve_node_refs tool
Resolve NodeRefs to canonical identities plus mutation sceneSeq.

    Each ref accepts ``handle``, ``name``, or ``path``. Paths are absolute
    JSON-Pointer hierarchy paths, for example ``/Rig/Camera``; ``~1`` escapes
    a slash inside a node name and ``~0`` escapes a tilde. Supplying multiple
    selectors cross-checks them instead of silently retargeting a stale handle.
    Name-only refs must be globally unique and path-only refs must be unique at
    every hierarchy segment.

    ``sceneSeq`` advances only for persistent scene mutations. Selection and
    sub-object selection remain visible in ``activitySeq`` but do not stale a
    guarded patch.
scene_patch tool
Preflight and atomically apply mechanical node edits in one native undo step.

    Every operation has ``target`` (a NodeRef) and one of these ``op`` values:

    - ``rename``: ``name``.
    - ``transform``: relative ``move``/``rotate``/``scale`` arrays and optional
      ``coordinate_system`` (``world`` or ``local``). Rotation is in degrees about X,
      then Y, then Z, counterclockwise like MAXScript ``rotate`` (``[0, 0, 90]`` turns +X to +Y).
    - ``set_flags``: any of ``hidden``, ``frozen``, ``renderable``,
      ``cast_shadows``, or ``receive_shadows``.
    - ``set_parent``: required ``parent`` NodeRef or null (detach), plus optional
      ``keep_transform``.

    Pass ``expected_scene_seq`` from ``resolve_node_refs`` to reject plans made
    stale by persistent scene edits. Selection and sub-object selection do not
    invalidate this token. ``dry_run`` performs the same resolution and validation
    without opening an undo hold or changing the scene. All refs and operations
    are resolved against the pre-patch scene and validated before the first edit;
    use handles when a patch renames or reparents a target. An apply failure
    cancels the native hold.
scene_qa tool
Scan or repair non-mesh scene hygiene using the native SDK.

    Checks are limited to names, transforms, hierarchy/group metadata, frame rate,
    and animation range. No mesh, UV, normals, topology, skinning, or visual-quality
    judgement is performed. ``action=fix`` only applies explicitly deterministic
    repairs (currently ``name_collisions`` and ``empty_names``), inside one undo step.
    Pass ``expected_scene_seq`` to reject an apply against persistently changed
    scene state; selection-only interaction does not invalidate the token.
get_instances tool
Get all instances (copies sharing the same base object) of a scene object.
get_dependencies tool
Trace what references an object (refs.dependents / refs.dependentnodes).

    direction: "dependents" lists every reference maker that depends on the object
    (controllers, modifiers, internal reference managers); "dependentnodes" lists only
    the nodes. For what the object itself references, use walk_references.
get_bridge_status tool
Ping the MCP bridge for protocol/transport metadata.

    Use when: a tool failed with a connection/transport/claim error and you need to diagnose.
    If Max is busy or hung, returns pong=false with bridge_state, what holds the main thread
    (this server's request, another MCP client's, or work outside the bridge) and process health.
    bridge_state blocked_by_dialog: a modal dialog holds a request; read it with max_dialogs.
    Not when: starting a session or before every task — prefer query_scene for scene work.
get_plugin_capabilities tool
Get 3ds Max version, available renderers, installed plugins, and class counts.
reload_native_core tool
Report the native core's state, or reload a rebuilt core DLL into the running 3ds Max.

    Development only, for the hot layout (permanent shell GUP plus reloadable
    core DLL). Use action="reload" after rebuilding the core DLL so changed
    native handlers load without restarting Max. Python changes need a fresh
    MCP server process instead. Never call this as a session preamble.

    action:
      - "status" (default): safe at any time; changes nothing. wait_ms is
        ignored and path is rejected.
      - "reload": must be requested explicitly. Waits up to wait_ms (0-600000)
        for in-flight native calls to drain, then swaps in the core from path
        (optional; omitted, the shell loads its configured core). With wait_ms
        at most 20000, CORE_BUSY is retried up to 3 attempts before it is
        returned; a longer wait makes one attempt and returns CORE_BUSY directly.

    Result: layout ("static"|"hot"), loaded, build, bridge_version,
    core_api_version, host_api_version, source, loaded_from, loaded_at_ms,
    reloads, in_flight, last_error; reload adds reloaded, previous_build and
    drain_ms. next_step says what to do next; on failure it is in
    error.details.next_step and the hint.

    Errors: CORE_STATIC: static layout, reload unsupported; do not retry; a
    native change applies after the rebuilt GUP is installed and Max restarts. CORE_BUSY
    (retryable): native calls were still running; retry later or with a larger
    wait_ms. CORE_LOAD_FAILED and CORE_VERSION_MISMATCH: the old core keeps
    running unchanged; fix and rebuild the core, then reload again.
capture_hang_diagnostics tool
Explain a hung 3ds Max from native thread stacks (what blocks the main thread).

    OS-only: never sends anything to Max, so it is safe while Max is hung; each
    thread is paused for a few milliseconds while its stack is read (on Windows 11
    the OS resumes it even if this server is killed meanwhile).
    Use when: a tool returned MAX_NOT_RESPONDING, or get_bridge_status reports
    not_responding.
    Not when: Max is responsive; this is not a profiler.
    pid defaults to the selected Max, else the only running one. all_threads=True
    dumps every thread (default: main thread, window owners, busy threads).
    save writes the full .txt/.json under %LOCALAPPDATA%/3dsmax-mcp/diagnostics
    (the newest 20 captures are kept).
    Returns findings, the main-thread stack preview, hung windows (visible ones;
    hidden ones are counted per thread) and process health.
execute_maxscript tool
Execute arbitrary MAXScript in 3ds Max and return the result.

    Use when: no dedicated MCP tool covers the operation (custom one-offs, rare APIs).
    Not when: objects, materials, selection, transforms, modifiers, layers, or scene queries —
    prefer the matching dedicated tool instead of raw MAXScript.

    By default the script runs in Max's quiet mode: prompts such as queryBox,
    overwrite and missing-file warnings silently take their default answer.
    A script that mentions resetMaxFile, loadMaxFile, fetchMaxFile, quitMax,
    checkForSave, "max file new/open", "max reset file", "max fetch" or the
    Interface's FileReset/FileFetch/LoadFromFile runs with prompts shown, because
    quiet mode skips the save-changes prompt (checkForSave() returns true and
    resetMaxFile() discards unsaved work): a save-changes prompt then returns
    BLOCKED_BY_DIALOG instead of discarding work (#noPrompt or quiet:true arguments
    in the script still suppress it, and so discard unsaved changes: add them only
    with the user's OK). quiet=False always shows prompts. quiet=True forces quiet
    mode, except on such a script: there it needs allow_discard=True as well; pass
    both only when the user agreed to lose unsaved changes. The check reads only
    this text: for a script that runs other scripts (fileIn, include,
    python.ExecuteFile, macros.run) that may reset, open or quit, pass quiet=False.
    Answer a shown prompt with max_dialogs. Such a script is refused with
    UNSAVED_CHANGES, before anything runs, while the scene has unsaved changes
    (loadMaxFile never asks to save, even with prompts on); save first, or pass
    allow_discard=True with the user's OK (a script that calls checkForSave()
    still shows its prompt then). Edits made with undo off, as plain
    execute_maxscript edits are by default, don't mark the scene modified, in Max too.

    Always pass #noPrompt to importFile, including OBJ/FBX imports:
    importFile @"C:/assets/model.fbx" #noPrompt
    Import dialogs block execution and can cause MCP timeouts. Configure importer
    options before importing; do not override #noPrompt with quiet:false.
execute_python tool
Execute Python in 3ds Max; return stdout, stderr and a JSON-compatible value.

    Use when no dedicated tool covers the operation. Runs on Max's main thread
    with pymxs and rt (pymxs.runtime) in scope.
    Assign `result` to return it in `value` (JSON-compatible; otherwise null).
    Each call has fresh variables; imported modules remain loaded in Max.
    Undoable scene edits form one undo step and roll back on an uncaught error.
    File I/O and other effects outside Max's undo system cannot be rolled back.
    Python errors include captured output and a traceback in error.details.
    Code that mentions a reset, open, fetch or quit command (rt.loadMaxFile,
    rt.resetMaxFile, ...; see execute_maxscript) runs with prompts shown and is
    refused with UNSAVED_CHANGES while the scene has unsaved changes; save
    first, or pass allow_discard=True with the user's OK.
max_dialogs tool
Read and answer dialogs blocking 3ds Max, over an independent connection.

    Works while Max's main thread sits inside the dialog, including a dialog
    that interrupted another MCP call (that call returns BLOCKED_BY_DIALOG).

    inspect: every blocking dialog with title, text, buttons (label, kind,
    enabled, default, role, checked), fields, which MCP calls it interrupted
    (during_requests) and expected_dialog; blocked_calls with the status or
    final result of calls that returned BLOCKED_BY_DIALOG or MAX_BUSY;
    recent_actions.
    respond: press one button. Pass dialog_id and expected_dialog from a fresh
    inspect and button as its label or index; a changed dialog is refused.
    Then waits up to wait_seconds for interrupted calls to finish and returns
    their results, or the next dialog holding them. A blocked call whose
    connection broke is reported with status "lost" (outcome unknown): inspect
    the scene before running it again.
    Only dialogs on Max's main thread can be read and pressed. One on another
    thread (main_thread false, e.g. a plugin's worker) is listed but never read,
    and pressing it fails with DIALOG_NOT_ON_MAIN_THREAD: ask the user to answer it
    in Max. A bridge without the dialog monitor (before 1.7.5) gives BRIDGE_OUTDATED.

    Answering is a decision. Choose yourself only when the user authorized
    unattended work and the task determines the answer. Otherwise show the
    user the dialog and ask; always ask before saving, overwriting, discarding
    changes (Save / Don't Save), Fetch, Reset or licensing choices, even when
    working unattended. Pressing posts a click; check what followed. Never repeat an interrupted call while it is waiting.
    Automatic: Script Controller Exception boxes are closed; recognized
    MAXScript error boxes with a sole OK are acknowledged during MCP calls,
    which then fail with MAX_DIALOG_ERROR. Requires the native bridge.
main_thread tool
Inspect or clean up what runs on the Max main/UI thread.

    action:
      - "list" (default) — enumerate main-thread activity as JSON:
            redrawCallbacks {enabled, count, raw}  (run on EVERY viewport redraw)
            dotNetTimers [{scope,name,class,enabled,intervalMs}]
                (enabled=true => firing; tiny intervalMs = a landmine)
            generalCallbackHandlers (count of event-driven callbacks)
            globalsScanned, state {isAnimPlaying, activeShadeRenderer}
      - "native_threads" — the C++ side: every process thread attributed to its
            owning DLL, with per-thread CPU sampled over ~500 ms. Returns
            byModule [{module,threads,cpuMsDelta,cpuMsTotal,pctBusy}] and
            topThreads [{tid,module,cpuMsDelta}] — shows which native plugin is
            burning cycles (SetTimer/RegisterNotification have no enumeration API,
            but a chugging C++ timer/worker shows up here as CPU on its module).
      - "unregister_redraw"  name=<global fn>    remove one redraw-views callback
                                                 (e.g. name="gw_viewInfo")
      - "disable_all_redraw"                     disable ALL redraw-views callbacks
      - "enable_all_redraw"                      re-enable them
      - "stop_timer"         name=<global timer> .Stop() + .Enabled=false
                                                 (e.g. name="gSimClock")
      - "remove_callback"    name=<callback id>  callbacks.removeScripts id:<name>

    Reversible: redraw callbacks re-register on Max restart; enable_all_redraw
    undoes disable_all_redraw. Kill actions return JSON {ok, action, name?, error?}.
run_python tool
Run a Python script against 3ds Max through the `mx` API: one script instead of many tool calls.

    Prefer it for multi-step work (build, measure, loop, verify). `mx` is pre-imported; every
    call goes through the same validated, guarded tools as the MCP tools and raises
    mx.MaxToolError (.code, .message, .hint) on failure. Units are scene units; positions are
    (x, y, z).

    Where it runs (`ran_in` in the reply): inside 3ds Max whenever it can. There `sdk`,
    `rt` (pymxs.runtime) and pymxs are in scope too, and everything the script changes (tool calls, sdk and rt
    edits) is ONE undo step, rolled back entirely if the script raises. An undo inside the
    script (mx.tools.undo_last(), sdk.undo()) first commits what it changed so far as its own
    step. Otherwise in the MCP server: imports limited to mx and the standard math/json/re
    family, each tool call its own undo step. where="max" or "server" forces one.

    Which API to use (inside Max):
      - `mx.tools.<name>(...)` (canonical for every tool; `mx.*` below are thin shorthands) for guarded
        workflows: curve_model, loft_mesh, mesh_edit, boolean_operation, geometry_qa, contact_check,
        render_setup, capture_viewport, capture_multi_view and the tyflow group (mx.help("tyflow")).
      - `sdk` for fast scene loops, transforms, layers, materials, modifiers and inspection (`sdk.nodes.new`,
        `node.pos`/`node.rot`, `sdk.materials.new`, `node.add_modifier`).
      - `rt` (pymxs) only for Max surfaces neither `mx` nor `sdk` wraps. Prefer `sdk` over `rt` for
        creating/placing objects (in `rt`, setting `.rotation` after `.pos` orbits around the origin).

    sdk (inside Max; also mx.sdk): the scene object model bound straight from the 3ds Max SDK,
      calls in microseconds. What the scene has many of is a collection, the same way on every one:
      sdk.nodes["Ball"], sdk.nodes.get("Ball"), "Ball" in sdk.nodes, len(sdk.nodes), for n in sdk.nodes,
      sdk.nodes("Wall*", cls="Box") to list, sdk.nodes.new("Sphere", "Ball", pos=(0, 0, 10), radius=10),
      sdk.nodes.remove(node). Also sdk.selection (.set(nodes), .add, .remove, .clear), sdk.materials,
      sdk.texmaps, sdk.layers (.current), sdk.groups, sdk.selection_sets, sdk.effects, sdk.classes,
      sdk.plugins, sdk.macros, sdk.interfaces. node.pos / .rot (degrees) / .scale / .transform settable,
      node.look_at(point), node.params.radius = 12, node.add_modifier("Bend", angle=30), node.modifiers,
      node.material = sdk.materials.new("PhysicalMaterial", "Red", base_color=(1, 0, 0)),
      with sdk.at(10): ..., with sdk.animate(): ..., node.bbox, sdk.contacts(nodes). mx.help("sdk") is its
      index, mx.help("sdk.nodes") one collection, mx.help("sdk.Node") one class. In pymxs a node is
      rt.getAnimByHandle(node.handle). A pymxs node's own .handle is a different number (MAXScript's
      per-scene node handle) that no tool takes.

    Parameters, one model for every class and plugin (objects, modifiers, materials, maps, controllers):
      reflect, then set by name; never guess a parameter or its units. mx.params(class_name="Bend",
      kind="modifier") lists a class's parameters before it exists: type, default, range, named choices,
      UI label. mx.params(node, "modifiers[Bend]") (or "object", "material", "material.base_color_map",
      "modifiers[1].gizmo", "transform") lists an instance's with values; mx.params(node, path,
      {"BendAngle": 30, "BendAxis": "x"}) sets and reads back. The same {name: value} dict is the params
      of mx.create, mx.add_modifier and mx.material. Values: degrees, percentages 0-100, colors 0-1 or
      "#rrggbb", choice names, gizmos {"position", "rotation", "scale"}, map slots {"class": "Noise",
      "params": {...}} built in place or {"params": {...}} to edit the one there. Inside Max the same on
      sdk objects: node.params.describe(), sdk.classes["Bend", "modifier"].describe().

    Objects (return a node: the sdk node inside Max, mx.Node outside): mx.box(name, width, length, height, pos=(x,y,z), pos_mode="ground"|"center"),
      mx.sphere(name, radius, pos, pos_mode), mx.cylinder(name, radius, height, pos, pos_mode),
      mx.plane(name, width, length, pos, pos_mode), mx.create(type, name, params, pos, ...), mx.get(name),
      mx.find(pattern="Wall*", class_name=..., layer=...) -> [Node], mx.selection(), mx.scene() -> overview,
      mx.clone(target, mode, offset, count) -> [Node], mx.parent(child, parent), mx.select(*targets),
      mx.delete(*targets). pos_mode "ground" puts the base on pos, "center" the bbox center.
      A node has the same core wherever the script runs: .handle, .name (settable), .exists, .class_name,
      .pos (world, settable: node.pos = node.pos + (0, 0, 10)), .bbox (.min .max .center .size), .hidden
      (settable), .delete(). Inside Max it is the sdk node, with everything sdk.Node has; outside Max
      rotation and scale are mx.tools.transform_object(handle=node.handle, rotate=..., scale=...).
    Modeling: mx.boolean(target, operation="subtract"|"union"|"intersect", operands=[nodes], cutters=[specs]),
      mx.add_modifier(target, modifier, params={"segs": 48}), mx.set_modifier(target, property_name,
      property_value, modifier_index=1), mx.remove_modifier(target, modifier), mx.mesh(name, vertices, faces),
      mx.inspect_mesh(target), mx.mesh_edit(target, operations, expected_mesh), mx.spline(name, points,
      closed=False), mx.curve(definition, name, action="create"|"preview"), mx.loft(sections, name),
      mx.qa(target) -> {"counts": {...}, ...}, mx.contacts(names, against).
    Shading: mx.material(targets, material_class="PhysicalMaterial", material_name, params={...}),
      mx.share_material(targets, source), mx.set_material(target, property, value).
    Light and render, the same call on every renderer (Octane, FStorm, V-Ray, Corona, Scanline, ART):
      mx.render_setup() tells what the current renderer offers and what the scene has.
      mx.render_setup(renderer="octane", quality="draft", sun={"elevation": 40, "azimuth": 220},
      lights=[{"name": "Lamp", "kind": "sphere", "radius": 4, "position": (0, 0, 150), "intensity": 800,
      "unit": "lm", "kelvin": 2700}], environment={"path": "sky.exr"}, camera={"name": "Cam",
      "position": (300, -400, 150), "aim_at": (0, 0, 100), "fov": 55}, render={"camera": "Cam",
      "size": (1280, 720)}) creates or updates each thing by name in one step and returns the
      rendered image with the reply. Light kinds: rectangle, disk, sphere, cylinder, point. Never
      build renderer-specific light, sun or camera classes by hand; mx.help("render_setup") is the manual.
    View: mx.capture(views=["front", "three_quarter"], shading="clay", edges=True) returns the image file,
      mx.open_viewport(), mx.frame(*targets), mx.orbit(yaw, pitch), mx.look(eye, target), mx.viewport_capture().
      mx.show(path_or_capture) returns an image with the reply, so you see it without reading the file.
    Any tool: mx.tools.<tool_name>(**arguments) returns that tool's result. mx.help() lists every tool by
      group, mx.find_tools("boolean subtract") returns the manuals of the best matches and mx.help("tool_name")
      one tool's manual. Raw MAXScript: mx.maxscript(code). Property values may be numbers, bools or (x, y, z).

    print() output and a variable named `result` are returned, with the list of tool calls made
    and, in `warnings`, what 3ds Max said beside a call's result (an open dialog, a call that
    went to another Max, a script that ran with its prompts shown).
    Do not render unless the user asks.
list_max_instances tool
List live Max instances in default order without selecting one.

    `window` gives each instance's title (it names the open scene), `minimized` and
    `foreground`. The default is the Max the user can see: a shown window before a
    minimized one, then the one nearer the front. With several instances, check that the
    default is the one the user is working in, or select_max_instance the right one.
select_max_instance tool
Bind this MCP server process to a live Max PID until explicitly changed or released.

    The binding is shared by every session that uses this server process, so another session
    can move it. Note the returned selection_generation and pass expected_pid=pid to calls that
    must not reach another Max; they are refused (nothing sent) if the target moved.
get_selected_max_instance tool
Read this MCP server process's selected target and availability without switching it.

    selection_generation differing from the one select_max_instance returned means the
    selection changed since, possibly by another session sharing this server.
release_max_instance tool
Release this MCP server process's target, including startup pinning; next connection uses the default.

    This also releases it for every other session sharing this server process.
get_session_context tool
Bundle bridge, capabilities, scene overview, and selection in one call.

    Use when: the user explicitly wants a full live snapshot (bridge + caps + scene + selection).
    Not when: starting a task or before every edit — prefer query_scene for scene reads and
    get_bridge_status only on connection failures.
create_tyflow tool
Create tyFlow with one event and a configurable operator list or a preset.

    Without operators or preset, the event gets Birth, Shape (sphere) and Display.
    preset: rain | snow | fountain | burst | debris adds Birth (amount particles),
    Speed (scaled from speed), Force, Shape and Display; the flow defaults to
    ty_<preset> and the event to the capitalized preset name. Pass operators or
    preset, not both. event_name defaults to Emit otherwise.
get_tyflow_info tool
Inspect a tyFlow object with deep flow/event/operator/property readback.
add_tyflow_event tool
Add one event to an existing tyFlow object.

    event_position is the event's [x, y] in the tyFlow editor. Without it the event goes
    right of the rightmost one, on its row; the reply's position says where.
modify_tyflow_operator tool
Set operator properties on an existing tyFlow event/operator pair.
set_tyflow_shape tool
Set Shape operator with validated 3D shape IDs.
add_tyflow_collision tool
Add/configure Collision operator and wire collider node list.
set_tyflow_physx tool
Set object-level PhysX settings on a tyFlow; only the settings passed change.

    enabled: gravity on/off; gravity: gravity value (scene units/s^2, e.g. -980);
    substeps; pos_iterations / vel_iterations: solver iterations.
remove_tyflow_element tool
Remove operator from an event, or remove event when operator_name is empty.
get_tyflow_particle_count tool
Return tyFlow particle count at current frame or supplied frame.
get_tyflow_particles tool
Return particle data rows from tyFlow read-only APIs.
reset_tyflow_simulation tool
Reset simulation for one tyFlow object or for all tyFlow objects.
tyflow_event_census tool
Per-event particle counts at probe frames via temporary instrumentation.

    method=mapping stamps event ordinals into UVW `channel` (unlimited events);
    method=groups uses export-group bits (16-event limit). The flow is mutated
    for the duration of the call (operators named zzz_mcp_census) and cleaned up
    unless cleanup=false. Response includes which properties the instrumentation
    resolved, so failures are debuggable.
capture_tyflow_editor tool
Open the flow's tyFlow editor and capture that window for visual wire inspection.

    Only the editor window is captured (never the desktop), even when other
    windows cover it. get_tyflow_graph reads wiring from the flow itself. With
    an older bridge (wiring_source "ledger"), this capture plus the returned
    event rectangles (position/width per event) lets an agent map wires
    visually and reconcile them via set_tyflow_wiring_ledger.
    Pass enabled=true to allow the capture. The editor is left open afterwards.
    An editor that has just opened can still show an empty canvas: look at the
    image, and call again (reset_view=false) when the graph is missing.
get_tyflow_graph tool
Full tyFlow graph view: events, operators with their types, properties, edges.

    Edges (from_event, from_op, to_event) and each operator's `type` are read
    from the flow itself (`wiring_source` "scene"), so wires drawn in the tyFlow
    editor and renamed operators are reported as they are. `graph_hash` covers
    the wiring and is the optimistic-concurrency token for `tyflow_apply_patch`.
    With an older bridge, `wiring_source` is "ledger": edges come from the MCP
    ledger and `ledger_status` is fresh, stale (edited outside MCP) or absent
    (reconcile with set_tyflow_wiring_ledger after an editor capture).
connect_tyflow_operator tool
Connect a test/Send Out operator's output to a target event (documented API).

    Re-connecting an operator that already has a connection re-targets it; the
    ledger edge for (from_event, from_operator) is replaced accordingly.
    create_if_missing adds a Send Out named from_operator to from_event when no
    operator of that name exists (created_send_out reports it).
disconnect_tyflow_operator tool
Disconnect an operator's output and drop its ledger edge.
harvest_tyflow_manifest tool
Probe-harvest the tyFlow operator manifest and cache it per tyFlow version.

    Without `refresh`, an existing cache is returned untouched (no Max traffic).
    `operator_names` limits the probe to specific types and merges results into
    the existing cache. Probing adds each operator (inert) to a hidden scratch
    flow and reads its property names/defaults; the saved graph then confirms
    which types joined the flow (`available`) and records their type IDs. The
    scratch flow is deleted afterwards.
list_tyflow_operators tool
Query the cached tyFlow operator manifest (no Max traffic).

    Matches query tokens against operator type names and property names
    (case-insensitive substrings). Each entry's `available` reports whether this
    installation could add that type when probed, and `family` which events
    take it: an event holds operators of one family (particle, terrain, vdb,
    inferno), set by its first operator. Run harvest_tyflow_manifest first if no
    cache exists.
tyflow_apply_patch tool
Apply a batch of tyFlow graph operations as one transaction.

    Operations (dicts with "op"): add_event, remove_event, add_operator,
    remove_operator, set_properties, connect, disconnect, rename_event,
    rename_operator, set_event_position, set_enabled. See _REQUIRED_FIELDS.

    `expected_hash` should be the `graph_hash` from a prior get_tyflow_graph —
    a mismatch means the flow changed since (user edit) and the patch is refused.
    With `verify_frames`, the sim is reset and particle counts asserted at those
    frames (min_particles/max_particles, -1 disables). On failure with
    `rollback_on_failure`: additive-only patches (add_event/add_operator/connect/
    set_event_position) roll back via synthesized inverse operations — no clone
    churn; patches containing other ops use a checkpoint clone that replaces the
    patched flow (caveat: external references to the flow node do not survive
    the swap). Script operators require allow_executable=true.
tyflow_script tool
Write, check and run tyFlow Script operator C# with full error feedback.

    action:
      api   - the installed tyFlow's script API (callbacks, script-class fields and
              helpers like tf, f, eventParticleCount, Print, GetFloat; types such as
              tyFlow, Point3, Matrix3, tfObj). Read it before writing code.
      get   - the operator's code, script objects (obj001...), texmaps (tex001...),
              enabled floats (read with GetFloat(name)) and settings.
      check - compile `code` (or the operator's current code) against tyFlow's API.
              Returns diagnostics with line/column; nothing runs.
      set   - check, then apply `code` to the operator. Needs allow_executable=true:
              the code runs inside 3ds Max. Code with errors
              is refused unchanged. With frames > 0 it also runs (see run).
      run   - reset and simulate the flow to `frames`; returns `compiled` (tyFlow
              compiled this operator), `output` (Print lines), `exceptions` thrown
              by the callbacks (tyFlow itself reports none) and the particle count.
    A script must declare simulationStart(), simulationStep() and
    simulationStepThreaded(int startInx, int endInx, int threadInx);
    postSimulationStep() is optional. Never put '%' in Print/PrintAll text:
    tyFlow formats it printf-style and 3ds Max crashes (check refuses literals).
    Edit until check is clean and run shows compiled=true with no exceptions.
agent_viewport tool
Own a shaded floating AGENT VIEWPORT without moving the user's view.

    action: open | status | release | minimize | restore | frame | orbit | pan |
    zoom | ray | pick | project | render | capture | stop_capture.
    open reserves an unused floating panel once.
    render requires mode=shaded|activeshade|vray_ipr|vray_vfb|corona_vfb. ActiveShade uses the assigned
    ActiveShade renderer; renderer_source=production uses the production renderer
    if it supports ActiveShade. vray_ipr uses the current V-Ray CPU/GPU renderer.
    vray_vfb and corona_vfb open their renderer's VFB IPR locked to the agent view.
    Corona requires the current production renderer and preserves its denoising settings. V-Ray previews temporarily
    enable progressive IPR and a denoiser, restoring settings on stop. Other renderers
    expose different denoisers; ActiveShade does not promise automatic denoising.
    Existing renders in other views or the VFB are refused. shaded stops the owned preview.
    capture chooses the agent viewport or visible VFB automatically. Optional crop
    [x,y,width,height] is relative to the VFB client area in physical pixels.
    stop_capture saves the current image first, then stops the owned preview.
    VFB captures exclude overlapping windows. capture_method=window selects Windows
    window capture for the agent panel; auto prefers its direct Nitrous buffer.
    Both require an open, non-minimized panel; neither activates or uncovers it.
    V-Ray's menu API briefly requires internal viewport activation, then restores
    the user's view and focus. Status reports render mode and capabilities.
    Render captures show progressive pixels, not proof that rendering is current
    or converged. Switch to shaded and capture again before component targeting.
    start_minimized=true parks it until restore; minimize parks it between uses.
    Minimized panels report capture_ready=false. Restore before navigation or
    capture: hidden/minimized Nitrous cannot supply fresh images. Initial opening
    briefly activates the panel in Max, then restores the user's view and focus.
    After open, set_viewport/capture_viewport/capture_multi_view use it by default.
    release hides only the owned panel. Closed/reconfigured panels fail explicitly.
    frame fits named geometry, lights, cameras, helpers and descendants. Without
    names it fits visible geometry, falling back to lights/cameras/helpers in a rig-only scene.
    orbit uses yaw/pitch degrees about the framing target; pan x/y are view-plane
    scene units; zoom factor<1 moves closer and >1 farther. ray uses normalized
    image x/y (0..1, top-left origin); pass the capture's view_token as expected_view.
    pick returns the nearest geometry or visible thick-spline hit with node handle,
    world point and surface normal. Follow with inspect_mesh near the point for
    base-cage component IDs, or draw_spline get for a spline's editable knots.
    project maps up to 2000 world points into native-viewport pixel coordinates
    (width/height in result), with depth in scene units, in_front and in_frame.
    Use expected_view to match the capture. Resized image coordinates must be
    scaled to native width/height. Projection alone does not test occlusion.
    No scene selection, hiding, camera nodes, or geometry edits. Arbitrary-node
    isolation is not yet supported by this Nitrous panel.
set_viewport tool
Set the agent modeling view when open, otherwise the active viewport.

    view: perspective | orthographic | front | back | left | right | top | bottom.
    eye + target: world coordinates in scene units (Z up), for perspective/orthographic.
    frame_names: fit these exact nodes' world bounds after setting orientation.
    Without eye/target, perspective uses a useful front-right elevated direction.
    fov is perspective horizontal degrees (1-175); orthographic views use zoom.
    padding adds framing margin (1-3).
    shading: smooth | wireframe | flat.
    Follow with capture_viewport to see the result. No rendering is performed.
    source: auto | agent | active. Explicit agent never falls back into a user view.
capture_viewport tool
Capture AGENT VIEWPORT when open, otherwise the active view, to a saved file.

    Read the returned `file` path to view the capture. return_image is
    deprecated and ignored — the image is never inlined.
    source: auto | agent | active. Explicit agent never falls back into a user view.
    capture_method: auto prefers the direct Nitrous buffer, with window capture
    if unavailable; window requests Windows client capture. Both exclude other
    windows. Minimized/hidden agent panels still refuse capture; no view is activated.

    Use when: quick visual proof after a scene change.
    Not when: the user asked for a full render (render_setup) or a multi-angle grid
    (capture_multi_view).
capture_screen tool
Capture the desktop or an unobscured V-Ray, Corona or FStorm frame buffer.

    Read the returned `file` path to view the capture. return_image is
    deprecated and ignored — the image is never inlined.
    target=screen captures the primary monitor; vray_vfb, corona_vfb or fstorm_vfb
    finds that renderer's open Frame Buffer (FStorm RT) in this Max process and captures its
    client area. crop=[x,y,width,height] is relative to that area in physical
    pixels BEFORE resizing, for example to exclude VFB toolbars. Window capture
    excludes overlapping windows without activating or uncovering the target.
    Keep it open and non-minimized. Windows may briefly show a capture border.
    This does not start, stop, or wait for render convergence. Window capture requires
    the updated bridge and never falls back to desktop pixels on failure.
capture_multi_view tool
Capture several views, or one view over time, to a stitched file and return compact metadata.

    Uses AGENT VIEWPORT when open; source=active explicitly uses the user view.
    views: up to 8 of front, back, left, right, top, bottom, perspective, three_quarter,
    current (the view as it is), or [x, y, z] directions from the subject toward the eye
    (Z up; [0, -1, 0.3] is front, slightly above). Directions are perspective views framed
    like the named ones. Default: front, right, back, top.
    shading: smooth | flat | wireframe | clay for this capture only; edges=true adds
    edged faces (clay with edges shows topology). The view's own settings come back after.
    frames / frame_count: a strip of ONE view over time instead: up to 12 explicit frame
    numbers, or 2-12 frames spread over the animation range, captured in ascending order.
    Give at most one entry in views (default current). It is framed once, at the current
    frame, and held so motion reads across tiles; the time slider comes back after.
    Every frame evaluates the scene, so simulations can be slow.
    wait_seconds (max 50): a capture still running then returns {"status": "running",
    "job": ..., "progress": ...}; call capture_multi_view(job=...) to wait again. Never
    repeat the original call while its job runs.
    capture_method=auto prefers Nitrous with window capture if unavailable;
    window uses Windows client capture for every tile. Both exclude overlapping windows.
    frame_root frames a named hierarchy. In the agent panel it does not hide other
    nodes; in legacy active mode it also temporarily isolates that hierarchy.
    Read the returned `file` path to view the grid. return_image is deprecated
    and ignored — the image is never inlined.

    Use when: verifying scene changes from several angles (preferred after meaningful edits),
    or animation and simulation over time (frames).
    Not when: a single active viewport is enough (capture_viewport) or the user asked to render.
max_assistant prompt
Default assistant instructions for MCP clients like Claude Desktop.
get_skill resource
3ds Max MCP development guide exposed as an MCP resource.
Plugin Index resource
Installed plugin family summary as an MCP resource.
Plugin Manifest resource
Per-plugin manifest as an MCP template resource.
Plugin Guide resource
Per-plugin operational guide as an MCP template resource.
Plugin Recipes resource
Per-plugin curated recipes as an MCP template resource.
Plugin Gotchas resource
Per-plugin gotchas as an MCP template resource.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure4.2
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 185 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    1 finding the scanner could not decide; see the findings below
  • Reads or writes any file path
    4 findings the scanner could not decide; see the findings below
  • Requests any address
    No tool sends a request to an address the caller supplies — 185 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 185 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 185 capabilities; 181 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    44 of 185 capabilities touch files; 137 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    17 of 185 capabilities call the network; 164 more call code the scanner could not follow, where it may happen
Where the code is: 185 handlers in 69 files at commit 79e173aa8473
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain2.2
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies CRITICAL
    11 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    13 of 185 capabilities read credentials; 168 more call code the scanner could not follow, where it may happen
  • Environment variables
    42 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (11 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
pyjwtPyPI 2.11.0 CRITICAL 33 advisories 2.12.02.12.12.13.0+2 more
  • CRITICALGHSA-ffc3-869f-jxw9 CVE-2026-102268 PYSEC-2026-4145PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • HIGHGHSA-752w-5fwx-jx9f CVE-2026-32597 PYSEC-2026-120PyJWT accepts unknown `crit` header extensions
  • HIGHGHSA-xgmm-8j9v-c9wx CVE-2026-48526 PYSEC-2026-179PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed
  • HIGHGHSA-pxh4-856f-4h89PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
  • HIGHGHSA-9v7f-9g4p-ffgj CVE-2026-102267 PYSEC-2026-4144PyJWT: PyJWKClient follows redirects when fetching JWKS
  • HIGHGHSA-p4g4-x82p-q773 CVE-2026-102271 PYSEC-2026-4149PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMPYSEC-2026-176 CVE-2026-48523 GHSA-jq35-7prp-9v3fPyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-4148 CVE-2026-102270 GHSA-jwrc-g2q2-pq5pPyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • MEDIUMPYSEC-2026-120 CVE-2026-32597 GHSA-752w-5fwx-jx9fPyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that PyJWT does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC. This vulnerability is fixed in 2.12.0.
  • MEDIUMPYSEC-2026-177 CVE-2026-48524 GHSA-fhv5-28vv-h8m8PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-179 CVE-2026-48526 GHSA-xgmm-8j9v-c9wxPyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.
  • MEDIUMGHSA-w7vc-732c-9m39 CVE-2026-48525 PYSEC-2026-178PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
  • MEDIUMPYSEC-2026-4145 CVE-2026-102268 GHSA-ffc3-869f-jxw9PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • MEDIUMGHSA-gvp8-978c-rx2q CVE-2026-103001 PYSEC-2026-4146PyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
  • MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMPYSEC-2026-4149 CVE-2026-102271 GHSA-p4g4-x82p-q773PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • MEDIUMPYSEC-2026-4147 CVE-2026-102269 GHSA-hxm8-2xgr-2p9mPyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMPYSEC-2026-4140 CVE-2026-101917 GHSA-2gx3-rcp4-g85qPyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMPYSEC-2026-4152 CVE-2026-102274 GHSA-w6j9-cwv2-h6wqPyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMGHSA-jq35-7prp-9v3f CVE-2026-48523 PYSEC-2026-176PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
  • MEDIUMGHSA-w6j9-cwv2-h6wq CVE-2026-102274 PYSEC-2026-4152PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
  • MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
  • MEDIUMGHSA-hxm8-2xgr-2p9m CVE-2026-102269 PYSEC-2026-4147PyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMPYSEC-2026-4146 CVE-2026-103001 GHSA-gvp8-978c-rx2qPyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
  • MEDIUMPYSEC-2026-175 CVE-2026-48522 GHSA-993g-76c3-p5m4PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-178 CVE-2026-48525 GHSA-w7vc-732c-9m39PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0.
  • MEDIUMGHSA-993g-76c3-p5m4 CVE-2026-48522 PYSEC-2026-175PyJWKClient: missing scheme allowlist enables CVE-2024-21643-class SSRF + token forgery via file://, ftp://, data: schemes
  • MEDIUMGHSA-2gx3-rcp4-g85q CVE-2026-101917 PYSEC-2026-4140PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMPYSEC-2026-4144 CVE-2026-102267 GHSA-9v7f-9g4p-ffgjPyJWT: PyJWKClient follows redirects when fetching JWKS
  • MEDIUMGHSA-jwrc-g2q2-pq5p CVE-2026-102270 PYSEC-2026-4148PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • LOWGHSA-fhv5-28vv-h8m8 CVE-2026-48524 PYSEC-2026-177PyJWKClient unbounded JWKS endpoint requests via attacker-controlled kid values (DoS)
anyioPyPI 4.12.1 CRITICAL 4 advisories 4.14.2
  • CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
  • MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
  • MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
  • MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
certifiPyPI 2026.1.4 CRITICAL 2 advisories 2026.10.18
  • CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
  • MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
cryptographyPyPI 46.0.4 HIGH 13 advisories 46.0.546.0.646.0.7+3 more
  • HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • HIGHGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels
  • HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • HIGHGHSA-r6ph-v2qm-q3c2 CVE-2026-26007 PYSEC-2026-2141cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
  • MEDIUMGHSA-p423-j2cm-9vmq CVE-2026-39892 PYSEC-2026-36Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
  • MEDIUMGHSA-m2h6-j472-rp4c CVE-2026-69248 PYSEC-2026-3554python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMPYSEC-2026-36 CVE-2026-39892 GHSA-p423-j2cm-9vmqcryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.
  • MEDIUMPYSEC-2026-3554 CVE-2026-69248 GHSA-m2h6-j472-rp4cpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMPYSEC-2026-2141 CVE-2026-26007 GHSA-r6ph-v2qm-q3c2cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() and load_pem_public_key() functions do not verify that the point belongs to the expected prime-order subgroup of the curve. This missing validation allows an attacker to provide a public key point P from a small-order subgroup. This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as S = [victim_private_key]P via ECDH, this leaks information about victim_private_key mod (small_subgroup_order). For curves with cofactor > 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup. Only SECT curves are impacted by this. This vulnerability is fixed in 46.0.5.
  • MEDIUMPYSEC-2026-35 CVE-2026-34073 GHSA-m959-cc7f-wv43cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.
  • MEDIUMPYSEC-2026-3552 CVE-2026-69247 GHSA-g6cj-pr64-35w5cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • MEDIUMPYSEC-2026-3553 CVE-2026-69249 GHSA-jwv3-5hgf-82wwpython-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • LOWGHSA-m959-cc7f-wv43 CVE-2026-34073 PYSEC-2026-35cryptography has incomplete DNS name constraint enforcement on peer names
python-multipartPyPI 0.0.22 HIGH 12 advisories 0.0.260.0.270.0.30+1 more
  • HIGHGHSA-5rvq-cxj2-64vf CVE-2026-53539 PYSEC-2026-3036python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
  • HIGHGHSA-pp6c-gr5w-3c5g CVE-2026-42561 PYSEC-2026-3039python-multipart has Denial of Service via unbounded multipart part headers
  • MEDIUMPYSEC-2026-3040 CVE-2026-53540 GHSA-v9pg-7xvm-68hfpython-multipart: Negative Content-Length in parse_form buffers the entire body in memory
  • MEDIUMGHSA-mj87-hwqh-73pj CVE-2026-40347 PYSEC-2026-3038python-multipart affected by Denial of Service via large multipart preamble or epilogue data
  • MEDIUMPYSEC-2026-3037 CVE-2026-53538 GHSA-6jv3-5f52-599mpython-multipart: Semicolon treated as querystring field separator enables parameter smuggling
  • MEDIUMPYSEC-2026-3039 CVE-2026-42561 GHSA-pp6c-gr5w-3c5gpython-multipart has Denial of Service via unbounded multipart part headers
  • MEDIUMPYSEC-2026-3041 CVE-2026-53537 GHSA-vffw-93wf-4j4qpython-multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
  • MEDIUMPYSEC-2026-3036 CVE-2026-53539 GHSA-5rvq-cxj2-64vfpython-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
  • MEDIUMPYSEC-2026-3038 CVE-2026-40347 GHSA-mj87-hwqh-73pjpython-multipart affected by Denial of Service via large multipart preamble or epilogue data
  • LOWGHSA-v9pg-7xvm-68hf CVE-2026-53540 PYSEC-2026-3040python-multipart: Negative Content-Length in parse_form buffers the entire body in memory
  • LOWGHSA-6jv3-5f52-599m CVE-2026-53538 PYSEC-2026-3037python-multipart: Semicolon treated as querystring field separator enables parameter smuggling
  • LOWGHSA-vffw-93wf-4j4q CVE-2026-53537 PYSEC-2026-3041python-multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
mcpPyPI 1.26.0 HIGH 11 advisories 1.27.21.28.11.30.0+1 more
  • HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • HIGHGHSA-qx49-fqc8-xw99 CVE-2026-115563Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
  • HIGHGHSA-hvrp-rf83-w775 CVE-2026-52870 PYSEC-2026-3481MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
  • HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • MEDIUMGHSA-w4fh-qvv9-3v23 CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
  • MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • MEDIUMGHSA-rwrf-2pqf-9j8j CVE-2026-116686Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
  • MEDIUMGHSA-5h93-6whr-6q8j CVE-2026-116685Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
  • MEDIUMGHSA-84m7-p3x7-pcfv CVE-2026-59951MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
  • MEDIUMPYSEC-2026-3481 CVE-2026-52870 GHSA-hvrp-rf83-w775MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
starlettePyPI 0.52.1 HIGH 10 advisories 1.0.11.1.01.3.0+1 more
  • HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
  • HIGHGHSA-wqp7-x3pw-xc5r CVE-2026-48818 PYSEC-2026-2281Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
  • MEDIUMPYSEC-2026-2281 CVE-2026-48818 GHSA-wqp7-x3pw-xc5rStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and earlier, StaticFiles on Windows is vulnerable to SSRF. An UNC path such as \\\\attacker.com\\share can cause os.path.realpath to initiate an outbound SMB connection before the path is rejected, exposing the service account’s NTLMv2 credentials for offline cracking or relay even though the HTTP response is only a 404. The issue affects default follow_symlink=False deployments, including frameworks built on Starlette such as FastAPI; POSIX systems and follow_symlink=True are unaffected. The issue is fixed in 1.1.0.
  • MEDIUMPYSEC-2026-249 CVE-2026-54283 GHSA-82w8-qh3p-5jfqStarlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
  • MEDIUMPYSEC-2026-248 CVE-2026-54282 GHSA-jp82-jpqv-5vv3Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.
  • MEDIUMPYSEC-2026-161 CVE-2026-48710 GHSA-86qp-5c8j-p5mr X41-2026-002BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
  • MEDIUMGHSA-x746-7m8f-x49c CVE-2026-48817 PYSEC-2026-2280Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
  • MEDIUMPYSEC-2026-2280 CVE-2026-48817 GHSA-x746-7m8f-x49cStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and below, when dispatching a request, HTTPEndpoint selects the handler by lowercasing the HTTP method and looking it up as an attribute with getattr, without restricting the lookup to a known set of HTTP verbs. When an HTTPEndpoint subclass is registered through Route(...) without an explicit methods= argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler. An application (including Starlette-based frameworks like FastAPI) is affected if it registers an HTTPEndpoint subclass via Route(...) without explicitly setting methods=, and that subclass includes extra methods named like non-standard HTTP verbs that take one request argument and return a response. This issue has been fixed in version 1.1.0.
  • MEDIUMGHSA-86qp-5c8j-p5mr CVE-2026-48710 PYSEC-2026-161 X41-2026-002Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
  • LOWGHSA-jp82-jpqv-5vv3 CVE-2026-54282 PYSEC-2026-248Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
idnaPyPI 3.11 MEDIUM 2 advisories 3.15
  • MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
  • MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
pygmentsPyPI 2.19.2 MEDIUM 2 advisories 2.20.0
  • MEDIUMPYSEC-2026-2987 CVE-2026-4539 GHSA-5239-wwwm-4pmqPygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
  • LOWGHSA-5239-wwwm-4pmq CVE-2026-4539 PYSEC-2026-2987Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
python-dotenvPyPI 1.2.1 MEDIUM 2 advisories 1.2.2
  • MEDIUMPYSEC-2026-2270 CVE-2026-28684 GHSA-mf9w-mj56-hr94python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
  • MEDIUMGHSA-mf9w-mj56-hr94 CVE-2026-28684 PYSEC-2026-2270python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
pydantic-settingsPyPI 2.12.0 MEDIUM 1 advisory 2.14.2
  • MEDIUMGHSA-4xgf-cpjx-pc3j CVE-2026-58203pydantic-settings: NestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_size

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
Servers in the code1 (3dsmax-mcp)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-14
Signed releasesnot checked yet

Where it is published

Listed in4 catalogs (awesome_habitoai, github_search, glama, mcp_toplist)
LicenseMIT
Created2026-02-06
Topics3dsmax claude codex mcp

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.