Skip to main content
Glama

Maya MCP Server for Autodesk Maya

Python 3.10.1+ PyPI version GitHub release CI Publish Docs Claude Desktop License: MIT

Maya MCP banner

Maya MCP is an open-source, local Model Context Protocol server for controlling Autodesk Maya through Maya's commandPort.

Supported Maya versions: Autodesk Maya 2024 and later.

It gives MCP clients a typed tool surface for scene work, nodes, selection, modeling, shading, skinning, animation, curves, scripts, and viewport capture without importing Maya modules in the server process.

This project is unofficial and is not affiliated with or endorsed by Autodesk. Autodesk Maya is a trademark of Autodesk, Inc.

Why Use It

  • runs outside Maya, so the server stays isolated from Maya imports

  • talks to Maya over localhost only

  • exposes 71 typed tools instead of raw API calls

  • supports safer scene replacement flows for unsaved changes

  • leaves raw code execution disabled unless you opt in

Related MCP server: maya_mcp

Claude Desktop Quick Start

For Claude Desktop, use the packaged MCPB extension from the latest GitHub Release.

  1. Download maya-mcp-<version>.mcpb from the release Assets section.

  2. Install it in Claude Desktop by double-clicking the .mcpb file, dragging it into Claude Desktop, or using Settings -> Extensions -> Advanced settings -> Install Extension.

  3. Keep the Maya commandPort setting at 7001 unless you use a different port.

  4. Open Maya and run the commandPort setup from the next section.

  5. In Claude Desktop, verify with health_check, scene_info, and nodes_list.

Claude Desktop uses underscore tool names such as scene_info. Other MCP clients use dotted names such as scene.info.

Quick Start

1. Install

pip install maya-mcp

On Windows:

py -m pip install maya-mcp

From source:

pip install -e ".[dev]"

2. Open Maya commandPort

Download, then paste and run, the complete scripts/enable_commandport.py file in Maya's Python Script Editor. The helper keeps the established Python + echoOutput path on Maya 2025 and later. On Maya 2024 only, it selects the loopback-only response compatibility path required by that release.

3. Start the server

maya-mcp

Other supported launch styles:

python -m maya_mcp.server
python src/maya_mcp/server.py
fastmcp run

fastmcp run works from this repo because it includes fastmcp.json.

4. Add it to your client

Codex CLI / IDE extension

Codex uses ~/.codex/config.toml for MCP servers. The CLI and IDE extension share that config.

Installed package:

[mcp_servers.maya]
command = "maya-mcp"

Source checkout or Windows-friendly setup:

[mcp_servers.maya]
command = "py"
args = ["-m", "maya_mcp.server"]
env = { PYTHONPATH = "src" }

Use the PYTHONPATH line only when running from a source checkout. Use python instead of py on platforms that do not provide the Windows launcher.

Claude Code

Claude Code project-scoped MCP servers live in .mcp.json. The server key is user-defined; these examples use maya consistently.

Installed package:

{
  "mcpServers": {
    "maya": {
      "command": "maya-mcp",
      "args": []
    }
  }
}

Source checkout or Windows-friendly setup:

{
  "mcpServers": {
    "maya": {
      "command": "py",
      "args": ["-m", "maya_mcp.server"],
      "env": {
        "PYTHONPATH": "src"
      }
    }
  }
}

For Codex CLI and Claude Code on Windows, py -m maya_mcp.server is usually more reliable than relying on the maya-mcp console script being on the correct PATH.

Claude Desktop Extension

Maya MCP ships as a Claude Desktop MCPB extension. The extension still runs the same local stdio server and keeps Maya communication on localhost.

User installation, build, verification, and troubleshooting notes live in Claude Desktop Extension.

Published GitHub Releases attach the built .mcpb package as maya-mcp-<version>.mcpb after the release workflow validates and smoke-tests the bundle.

The packaging script supports a user-local MCPB CLI install:

npm install --prefix "$env:USERPROFILE\.tools\mcpb" @anthropic-ai/mcpb
.\packaging\claude-mcpb\build.ps1

VS Code

VS Code uses .vscode/mcp.json with a servers object.

{
  "servers": {
    "maya": {
      "type": "stdio",
      "command": "maya-mcp"
    }
  }
}

Other MCP clients

Some clients use a generic mcpServers object:

{
  "mcpServers": {
    "maya": {
      "command": "maya-mcp",
      "args": []
    }
  }
}

5. Verify

Call these tools in order:

  1. health.check

  2. scene.info

  3. nodes.list

Tool Coverage

Family

Count

health

1

maya

2

scene

9

nodes

7

attributes

2

selection

6

connections

5

mesh

3

viewport

1

modeling

15

shading

3

skin

6

animation

6

curve

2

script

3

script.run is disabled by default and requires MAYA_MCP_ENABLE_RAW_EXECUTION=true.

scene.new and scene.open still refuse by default when the current scene has unsaved changes. Clients that advertise MCP form elicitation can receive an in-band discard-changes confirmation instead of having to retry with force=True.

Main Docs

Published docs: https://gimbalgoats.github.io/GG_MayaMCP/

Development

This repo uses py for Python commands on Windows:

py -m ruff check .
py -m ruff format .
py -m mypy src/
py -m pytest

If tests import maya_mcp from site-packages instead of this repo:

$env:PYTHONPATH='src'
py -m pytest

Security Notes

  • localhost only

  • no remote-host support

  • no Maya imports in the MCP server process

  • no arbitrary code execution by default

  • no secrets or raw tracebacks in client-facing errors

Privacy

Maya MCP runs locally. The project does not operate a hosted service, collect telemetry, or receive Maya scene data from local use. See Privacy Policy.

License

MIT. See LICENSE.

Available Tools

71 tools
animation.delete_keyframesDelete KeyframesA
Destructive

Delete keyframes in a time range for attribute(s).

Inputs: node (required), attributes, time_range_end, time_range_start. Returns: Return payload for the animation.delete_keyframes tool.

animation.get_keyframesGet KeyframesA
Read-onlyIdempotent

Query keyframes for attribute(s) on a node within optional time range.

Inputs: node (required), attributes, time_range_end, time_range_start. Returns: Return payload for the animation.get_keyframes tool.

animation.get_time_rangeGet Time RangeA
Read-onlyIdempotent

Get playback range, animation range, and current time.

Inputs: no named parameters. Returns: Return payload for the animation.get_time_range tool.

animation.set_keyframeSet KeyframeA

Set keyframe on attribute(s) at current or specified time.

Inputs: node (required), time, value, attributes, +2 more. Returns: Return payload for the animation.set_keyframe tool.

animation.set_timeSet Current TimeA
Idempotent

Set the current time (go to a specific frame).

Inputs: time (required), update. Returns: Return payload for the animation.set_time tool.

animation.set_time_rangeSet Time RangeB
Idempotent

Set the playback and animation range.

Inputs: max_time (required), min_time (required), animation_end, animation_start. Returns: Return payload for the animation.set_time_range tool.

attributes.getGet AttributesA
Read-onlyIdempotent

Get one or more attribute values from a Maya node. Supports batch queries to reduce tool call chaining.

Inputs: node (required), attributes (required). Returns: Return payload for the attributes.get tool.

attributes.setSet AttributesA
Idempotent

Set one or more attribute values on a Maya node. Supports batch operations to reduce tool call chaining.

Inputs: node (required), attributes (required). Returns: Return payload for the attributes.set tool.

connections.connectConnect AttributesA
Idempotent

Connect two attributes in Maya. Use force=True to disconnect existing connections first.

Inputs: source (required), destination (required), force. Returns: Return payload for the connections.connect tool.

connections.disconnectDisconnect AttributesA
Idempotent

Disconnect attributes in Maya. Can disconnect a specific connection, all outgoing from a source, or all incoming to a destination.

Inputs: source, destination. Returns: Return payload for the connections.disconnect tool.

connections.getGet Connection DetailsB
Read-onlyIdempotent

Get detailed connection information for specific attributes on a node.

Inputs: node (required), attributes. Returns: Return payload for the connections.get tool.

connections.historyList Node HistoryA
Read-onlyIdempotent

List construction/deformation history on a node. Traverses upstream (input) or downstream (output) dependency graph.

Inputs: node (required), depth, limit, direction. Returns: Return payload for the connections.history tool.

connections.listList ConnectionsA
Read-onlyIdempotent

List connections on a Maya node with direction and type filters. Returns max 500 connections by default to limit response size.

Inputs: node (required), limit, direction, connections_type. Returns: Return payload for the connections.list tool.

curve.cvsGet Curve CVsA
Read-onlyIdempotent

Query CV positions from a NURBS curve with offset/limit pagination. Returns CV positions as [x, y, z] arrays in world space.

Inputs: node (required), limit, offset. Returns: Return payload for the curve.cvs tool.

curve.infoGet Curve InformationA
Read-onlyIdempotent

Get NURBS curve information: degree, spans, form, CV count, knots, length, bounding box.

Inputs: node (required). Returns: Return payload for the curve.info tool.

health.checkCheck Maya Connection HealthA
Read-onlyIdempotent

Check the health status of the Maya connection

Inputs: no named parameters. Returns: Return payload for the health.check tool.

maya.connectConnect To MayaB
Idempotent

Establish a connection to Maya's commandPort

Inputs: host, port, source_type. Returns: Return payload for the maya.connect tool.

maya.disconnectDisconnect From MayaB
Idempotent

Close the connection to Maya

Inputs: no named parameters. Returns: Return payload for the maya.disconnect tool.

mesh.evaluateEvaluate Mesh TopologyA
Read-onlyIdempotent

Analyze mesh topology for issues: non-manifold edges, lamina faces, holes, and border edges.

Inputs: node (required), limit, checks. Returns: Return payload for the mesh.evaluate tool. Check-specific component fields are…

mesh.infoGet Mesh InformationA
Read-onlyIdempotent

Get mesh statistics: vertex/face/edge counts, bounding box, UV status

Inputs: node (required). Returns: Return payload for the mesh.info tool.

mesh.verticesGet Mesh VerticesA
Read-onlyIdempotent

Query vertex positions from a mesh with offset/limit pagination. Returns vertex positions as [x, y, z] arrays.

Inputs: node (required), limit, offset. Returns: Return payload for the mesh.vertices tool.

modeling.bevelBevel ComponentsB

Bevel edges or vertices with offset, segments, and fraction options.

Inputs: components (required), offset, fraction, segments. Returns: Return payload for the modeling.bevel tool.

modeling.booleanRun Mesh BooleanA

Perform a boolean operation (union, difference, intersection) on two meshes.

Inputs: mesh_a (required), mesh_b (required), operation. Returns: Return payload for the modeling.boolean tool.

modeling.bridgeBridge Edge LoopsB

Bridge between edge loops to create connecting faces.

Inputs: edge_loops (required), taper, twist, divisions. Returns: Return payload for the modeling.bridge tool.

modeling.center_pivotCenter PivotB
Idempotent

Center the pivot point on nodes.

Inputs: nodes (required). Returns: Return payload for the modeling.center_pivot tool.

modeling.combineCombine MeshesC

Combine multiple meshes into a single mesh.

Inputs: meshes (required), name. Returns: Return payload for the modeling.combine tool.

modeling.create_polygon_primitiveCreate Polygon PrimitiveA

Create a polygon primitive (cube, sphere, cylinder, cone, torus, plane) with configurable dimensions, subdivisions, and axis.

Inputs: primitive_type (required), axis, name, depth, +7 more. Returns: Return payload for the modeling.create_polygon_primitive tool.

modeling.delete_facesDelete FacesA
Destructive

Delete polygon faces from a mesh.

Inputs: faces (required). Returns: Return payload for the modeling.delete_faces tool.

modeling.delete_historyDelete Construction HistoryB
DestructiveIdempotent

Delete construction history from nodes or the entire scene.

Inputs: nodes, all_nodes. Returns: Return payload for the modeling.delete_history tool.

modeling.extrude_facesExtrude FacesB

Extrude polygon faces with local translation, offset, and division options.

Inputs: faces (required), offset, divisions, local_translate_x, +3 more. Returns: Return payload for the modeling.extrude_faces tool.

modeling.freeze_transformsFreeze TransformsA
DestructiveIdempotent

Freeze (reset) transforms on nodes, applying current values as identity.

Inputs: nodes (required), scale, rotate, translate. Returns: Return payload for the modeling.freeze_transforms tool.

modeling.insert_edge_loopInsert Edge LoopB

Insert an edge loop at the specified edge using polySplitRing.

Inputs: edge (required), weight, divisions. Returns: Return payload for the modeling.insert_edge_loop tool.

modeling.merge_verticesMerge VerticesA

Merge vertices on a mesh within a distance threshold.

Inputs: mesh (required), vertices, threshold. Returns: Return payload for the modeling.merge_vertices tool.

modeling.move_componentsMove ComponentsA

Move mesh components (vertices, edges, faces) by relative translation or to an absolute position.

Inputs: components (required), absolute, translate, world_space. Returns: Return payload for the modeling.move_components tool.

modeling.separateSeparate MeshB

Separate a combined mesh into individual meshes.

Inputs: mesh (required). Returns: Return payload for the modeling.separate tool.

modeling.set_pivotSet PivotA
Idempotent

Set the pivot point of a node to an explicit position.

Inputs: node (required), position (required), world_space. Returns: Return payload for the modeling.set_pivot tool.

nodes.createCreate NodeC

Create a new node in Maya with optional name, parent, and initial attributes.

Inputs: node_type (required), name, parent, attributes. Returns: Return payload for the nodes.create tool.

nodes.deleteDelete NodesA
DestructiveIdempotent

Delete one or more nodes from the Maya scene.

Inputs: nodes (required), hierarchy. Returns: Return payload for the nodes.delete tool.

nodes.duplicateDuplicate NodesC

Duplicate one or more nodes.

Inputs: nodes (required), name, parent_only, upstream_nodes, +1 more. Returns: Return payload for the nodes.duplicate tool.

nodes.infoGet Node InformationA
Read-onlyIdempotent

Get comprehensive information about a Maya node in a single call. Use info_category to choose: summary (default), transform, hierarchy, attributes, shape, or all. Reduces tool-call chaining.

Inputs: node (required), info_category. Returns: Return payload for the nodes.info tool. Category-specific fields are present on…

nodes.listList NodesA
Read-onlyIdempotent

List nodes in the Maya scene, optionally filtered by type. Returns max 500 nodes by default to limit response size.

Inputs: limit, pattern, node_type, long_names. Returns: Return payload for the nodes.list tool.

nodes.parentParent NodesB
Idempotent

Reparent one or more nodes in the Maya hierarchy.

Inputs: nodes (required), parent, relative. Returns: Return payload for the nodes.parent tool.

nodes.renameRename NodesA
Idempotent

Rename one or more nodes in the Maya scene.

Inputs: mapping (required). Returns: Return payload for the nodes.rename tool.

scene.exportExport Scene FileA
Idempotent

Export scene content to a file. Export selected nodes or entire scene. Supports multiple formats (.ma, .mb, .obj, .fbx, .abc, .usd, .usda, .usdc).

Inputs: file_path (required), animation, export_mode. Returns: Return payload for the scene.export tool.

scene.importImport Scene FileA

Import a file into the current Maya scene. Supports multiple formats (.ma, .mb, .obj, .fbx, .abc, .usd, .usda, .usdc, .usdz). Returns only top-level parent transforms to protect token budget.

Inputs: file_path (required), force, namespace. Returns: Return payload for the scene.import tool.

scene.infoGet Scene InformationA
Read-onlyIdempotent

Get information about the current Maya scene

Inputs: no named parameters. Returns: Return payload for the scene.info tool.

scene.newCreate New SceneA
DestructiveIdempotent

Create a new empty Maya scene. Checks for unsaved changes first and refuses by default if the scene was modified. Use force=True to discard unsaved changes. When a client supports form elicitation, the server may ask for confirmation instead of requiring an immediate retry.

Inputs: force. Returns: Return payload for the scene.new tool.

scene.openOpen SceneA
DestructiveIdempotent

Open a Maya scene file. Validates the file path and checks for unsaved changes before proceeding. Use force=True to discard unsaved changes. When a client supports form elicitation, the server may ask for confirmation instead of requiring an immediate retry. Supported formats: .ma (Maya ASCII), .mb (Maya Binary).

Inputs: file_path (required), force. Returns: Return payload for the scene.open tool.

scene.redoRedo Scene OperationA

Redo the last undone operation in Maya.

Inputs: no named parameters. Returns: Return payload for the scene.redo tool.

scene.saveSave SceneA
DestructiveIdempotent

Save the current scene. Saves to the current file path. Fails if the scene is untitled.

Inputs: no named parameters. Returns: Return payload for the scene.save tool.

scene.save_asSave Scene AsA
DestructiveIdempotent

Save the scene to a new file path. Validates the path and saves as Maya ASCII or Binary based on extension.

Inputs: file_path (required). Returns: Return payload for the scene.save_as tool.

scene.undoUndo Scene OperationA

Undo the last operation in Maya. Critical for LLM error recovery.

Inputs: no named parameters. Returns: Return payload for the scene.undo tool.

script.executeExecute Approved ScriptA
Destructive

Execute a Python script file in Maya from an allowed MAYA_MCP_SCRIPT_DIRS directory. The script is read server-side and sent to Maya. Optional args dict is injected as args in the script namespace.

Inputs: file_path (required), args, timeout. Returns: Return payload for the script.execute tool.

script.listList Approved ScriptsA
Read-onlyIdempotent

List available Python scripts from configured MAYA_MCP_SCRIPT_DIRS directories. Read-only, does not require Maya connection.

Inputs: no named parameters. Returns: Return payload for the script.list tool.

script.runRun Raw Script CodeA
Destructive

Execute raw Python or MEL code in Maya. REQUIRES MAYA_MCP_ENABLE_RAW_EXECUTION=true environment variable. Disabled by default for security.

Inputs: code (required), timeout, language. Returns: Return payload for the script.run tool.

selection.clearClear SelectionA
Idempotent

Clear the Maya selection (deselect all)

Inputs: no named parameters. Returns: Return payload for node selection state tools.

selection.convert_componentsConvert Component SelectionB

Convert the current selection to a different component type (vertex, edge, or face).

Inputs: to_type (required), nodes. Returns: Return payload for the selection.convert_components tool.

selection.getGet SelectionA
Read-onlyIdempotent

Get the current selection in Maya

Inputs: no named parameters. Returns: Return payload for node selection state tools.

selection.get_componentsGet Component SelectionA
Read-onlyIdempotent

Get currently selected mesh components grouped by type (vertices, edges, faces).

Inputs: no named parameters. Returns: Return payload for the selection.get_components tool.

selection.setSet SelectionD

Set the Maya selection

Inputs: nodes (required), add, deselect. Returns: Return payload for node selection state tools.

selection.set_componentsSet Component SelectionC

Select mesh components (vertices, edges, or faces) using Maya notation (e.g., 'pCube1.vtx[0:10]', 'pSphere1.e[5]', 'pPlane1.f[0:99]').

Inputs: components (required), add, deselect. Returns: Return payload for selection operations that may partially fail.

shading.assign_materialAssign MaterialA

Assign a material to meshes or face components. Resolves the shading group from the material automatically.

Inputs: targets (required), material (required). Returns: Return payload for the shading.assign_material tool.

shading.create_materialCreate MaterialA

Create a material (lambert, blinn, phong, standardSurface) with an associated shading group and optional color.

Inputs: name, color, material_type. Returns: Return payload for the shading.create_material tool.

shading.set_material_colorSet Material ColorA
Idempotent

Set a color attribute on a material (e.g., color, baseColor, transparency).

Inputs: color (required), material (required), attribute. Returns: Return payload for the shading.set_material_color tool.

skin.bindBind SkinA
Destructive

Bind a mesh to a skeleton with influence options. Creates a skinCluster with configurable bind method and max influences.

Inputs: mesh (required), joints (required), bind_method, max_influences. Returns: Return payload for the skin.bind tool.

skin.copy_weightsCopy Skin WeightsC

Copy skin weights from one mesh to another using surface and influence association methods.

Inputs: source_mesh (required), target_mesh (required), surface_association, influence_association. Returns: Return payload for the skin.copy_weights tool.

skin.influencesList Skin InfluencesA
Read-onlyIdempotent

List influences (joints) on a skin cluster with index mapping.

Inputs: skin_cluster (required). Returns: Return payload for the skin.influences tool.

skin.unbindUnbind SkinA
Destructive

Detach a skin cluster from a mesh, removing skin deformation.

Inputs: mesh (required). Returns: Return payload for the skin.unbind tool.

skin.weights.getGet Skin WeightsA
Read-onlyIdempotent

Get per-vertex skin weights with offset/limit pagination. Default limit is 100 vertices (skin weight data is dense). Use offset to paginate through large meshes.

Inputs: skin_cluster (required), limit, offset. Returns: Return payload for the skin.weights.get tool.

skin.weights.setSet Skin WeightsA

Set per-vertex skin weights with optional normalization. Accepts up to 1000 vertex entries per call.

Inputs: weights (required), skin_cluster (required), normalize. Returns: Return payload for the skin.weights.set tool.

viewport.captureCapture ViewportA
Read-onlyIdempotent

Capture a single viewport frame as inline image content using Maya playblast. Read-only: does not modify scene data.

Inputs: frame, panel, width, format, +4 more. Returns: Structured metadata returned alongside viewport image content.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 71 tools

    Disambiguation5/5

    Tools are grouped by domain prefixes, and each group contains clearly distinct actions. Even where verbs are similar, the resource type or payload purpose distinguishes them, so an agent is unlikely to misselect.

    Naming Consistency5/5

    All tools follow a consistent namespace.action snake_case pattern, with predictable categories like scene.*, nodes.*, mesh.*, and animation.*. Action verbs align with their domain, making the naming schema highly regular and learnable.

    Tool Count2/5

    71 tools is a very large surface and far exceeds the range where a toolset is easy for an agent to consider efficiently. Even for a complex application like Maya, this count creates significant prompt overhead and selection burden.

    Completeness4/5

    The set covers most core Maya workflows: scene management, node/attribute/connection operations, selection, modeling, shading, skinning, animation, and scripting. Notable gaps remain, however: NURBS curves are query-only, and camera/light/rendering capabilities are absent, which can force workarounds.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      A Model Context Protocol server that enables AI assistants to interact with active Autodesk Maya sessions using the maya.cmds API. It allows users to manage scene objects, control selections, and perform common 3D operations through natural language.
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants like Claude Desktop to control Autodesk Maya via natural language through the Model Context Protocol.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A typed Model Context Protocol server that exposes KiCad 10 EDA workflows to language-model clients through validated tool calls.
      MIT