Maya MCP
Enables AI-assisted control of Autodesk Maya, including creating and manipulating 3D objects, materials, scenes, curves, meshes, cameras, lights, and performing import/export operations through Maya's command port.
Allows searching Sketchfab for downloadable 3D models and downloading them into Maya, with options for scaling and placement.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Maya MCP - Maya Model Context Protocol Integration
Maya MCP connects Autodesk Maya to AI assistants through the Model Context Protocol (MCP), allowing AI to directly interact with and control Maya. This integration enables AI-assisted 3D modeling, scene creation, and manipulation.
Overview
Maya MCP is a server that bridges Maya's command port with the Model Context Protocol, enabling AI assistants like Claude to create and manipulate 3D scenes in Maya through natural language prompts.
Related MCP server: Maya MCP Server
Features
Object Creation: Create basic shapes (cube, sphere, cylinder, cone), cameras, and lights
Advanced Models: Generate complex models like cars, trees, buildings, chairs, and cups
Material System: Create and apply various material types (lambert, phong, blinn, metal, wood, marble, chrome, glass, etc.)
Scene Generation: Generate complete scenes (city, forest, living room, office, park)
Curve Modeling: Create and manipulate curves for advanced modeling
Mesh Operations: Extrude, bevel, subdivide, smooth, and perform boolean operations
Object Management: Duplicate, delete, rename, organize, and transform objects
Import/Export: Import and export models in various formats (FBX, OBJ, USD, Alembic)
Third-party Integration: Search and download models from Sketchfab and Polyhaven
Scene Inspection: Get detailed information about the current scene and viewport screenshots
Installation
Prerequisites
Autodesk Maya 2023 or newer
Python 3.11 or higher
uv package manager:
Mac:
brew install uvWindows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Then add uv to the user path in Windows (you may need to restart your MCP client after):
$localBin = "$env:USERPROFILE\.local\bin" $userPath = [Environment]::GetEnvironmentVariable("Path", "User") [Environment]::SetEnvironmentVariable("Path", "$userPath;$localBin", "User")Other platforms: See Install uv
MCP-compatible AI assistant (e.g., Claude Desktop, Cursor, VSCode)
Setup
Clone or download this repository:
git clone https://github.com/trandangtrungduc/maya-mcp.git cd maya-mcpConfigure MCP Server:
For Cursor, add the following to your MCP configuration file (e.g.,
~/.cursor/mcp.json):{ "mcpServers": { "maya": { "command": "uvx", "args": [ "--from", "[PATH_TO_MAYA_MCP]", "maya-mcp" ] } } }Replace
[PATH_TO_MAYA_MCP]with the actual path to your maya-mcp directory (e.g.,F:\\AI_Tools\\MCP\\maya-mcpon Windows or/path/to/maya-mcpon Mac/Linux).For Claude Desktop, add to
claude_desktop_config.json:{ "mcpServers": { "maya-mcp": { "command": "uvx", "args": [ "--from", "[PATH_TO_MAYA_MCP]", "maya-mcp" ] } } }Replace
[PATH_TO_MAYA_MCP]with the actual path to your maya-mcp directory (e.g.,F:\\AI_Tools\\MCP\\maya-mcpon Windows or/path/to/maya-mcpon Mac/Linux).
Usage
Once configured, you can interact with Maya through your AI assistant using natural language prompts. The AI will automatically use the appropriate Maya MCP tools to fulfill your requests.
Example Prompts
Basic Object Creation
Create a simple scene with basic shapes:
Create a red cube at position (0, 0, 0), a blue sphere at (5, 0, 0), and a green cylinder at (10, 0, 0)Create lights and camera:
Create a directional light pointing down at 45 degrees, a point light at (0, 10, 0), and position a camera to look at the sceneMaterial Creation
Create and apply materials:
Create a shiny metallic material with a gold color and apply it to the cubeCreate procedural materials:
Create a wood material with brown color and apply it to the cylinder. Then create a marble material with white base color and apply it to the sphereCreate glass material:
Create a transparent glass material with a slight blue tint and apply it to the sphereAdvanced Models
Create a car:
Create a red sporty car at position (0, 0, 0) with a scale of 1.2Create a tree:
Create an oak tree at position (5, 0, 5) with 5 branches and high leaf densityCreate a building:
Create a building at (0, 0, 0) that is 30 units tall, 10 units wide, with 8 floors and windows on each floorCreate furniture:
Create a chair at position (0, 0, 0) with a seat width of 2, depth of 2, and back height of 2.5Scene Generation
Generate a city scene:
Generate a city scene with 4 blocks, high building density, and include cars on the streetsGenerate a forest:
Generate a forest scene with 20 trees, forest size of 60 units, and include a winding path through itGenerate a living room:
Generate a modern living room scene with furniture, TV, and decorationsGenerate an office:
Generate an office scene with 6 desks, each with a chair and monitor, in a modern styleGenerate a park:
Generate a park scene with 15 trees, benches around a circular path, and a central fountainObject Manipulation
Transform objects:
Move the cube to position (5, 10, -5), rotate it 45 degrees on the Y axis, and scale it to 2x its sizeDuplicate objects:
Duplicate the sphere 5 times, spacing them 3 units apart along the X axisOrganize objects:
Group all the cubes together, then arrange all spheres in a circle with radius 10Mesh Operations
Extrude faces:
Select the top face of the cube and extrude it upward by 2 unitsBevel edges:
Select all edges of the cube and bevel them with a width of 0.3Smooth mesh:
Subdivide the sphere twice and then smooth itBoolean operations:
Create a cylinder and use it to cut a hole through the cube using boolean differenceCurve Modeling
Create curves:
Create a spiral curve with radius 5, height 3, and 4 turns, then create a circle curve with radius 2Model from curves:
Create a profile curve in the shape of a teardrop, then create a path curve that spirals upward. Extrude the profile along the path to create a spiral objectRevolve a curve:
Create a profile curve for a vase shape, then revolve it 360 degrees around the Y axis to create a 3D vaseImport/Export
Import models:
Import the model file "car.fbx" and place it in a namespace called "imported_car"Export scene:
Export all objects in the scene to "my_scene.fbx" formatExport selected:
Export the currently selected objects to "selected_objects.obj"Third-party Integration
Search Sketchfab models:
Search Sketchfab for "sci-fi spaceship" models that are downloadable, limit to 10 resultsDownload Sketchfab model:
Download the Sketchfab model with UID "abc123" and scale it so the largest dimension is 5 unitsSearch Polyhaven assets:
Search Polyhaven for HDRIs in the "outdoor" categoryDownload Polyhaven asset:
Download the Polyhaven HDRI with ID "studio_small_01" at 4k resolutionScene Inspection
Get scene information:
Get detailed information about all objects, cameras, lights, and materials in the current sceneViewport screenshot:
Take a screenshot of the current viewport to see what the scene looks likeList objects:
List all cameras in the scene, then list all lightsCode Execution
Execute Python code to understand context:
Execute Python code to list all objects in the scene and print their types and positionsExecute code for complex operations:
Execute Python code to create a procedural grid of cubes with random heights, then apply different materials to each based on heightExecute code to inspect scene state:
Execute Python code to check if there are any objects with visibility turned off, and print their namesNote: The execute_code tool allows running arbitrary Python code in Maya, which is powerful but potentially dangerous. Always save your work before using it. The AI can use this tool automatically to understand context and perform operations that aren't covered by other tools.
Complex Workflows
Create a complete scene:
Create a city scene with 3x3 blocks. Then add a red car in the center, create a chrome material and apply it to the car. Position a camera to look down at the city from above, and add a directional light for shadowsModel a custom object:
Create a cube, bevel all its edges, then extrude the top face. Create a wood material and apply it. Duplicate this object 3 times and arrange them in a rowCreate an animated setup:
Create a sphere and a cube. Create a point light and position it between them. Create a camera and frame both objects. Apply a glass material to the sphere and a metallic material to the cubeAvailable Tools
The Maya MCP server provides the following tools:
Object Creation
create_object- Create basic shapes, cameras, and lightscreate_advanced_model- Create complex models (car, tree, building, chair, cup)create_curve- Create various curve types (line, circle, spiral, helix, etc.)
Materials
create_material- Create and assign materials (lambert, phong, blinn, metal, wood, marble, chrome, glass, etc.)
Scene Management
generate_scene- Generate complete scenes (city, forest, living room, office, park)scene_new- Create a new scenescene_open- Open a scene filescene_save- Save the current sceneget_scene_info- Get detailed scene informationget_viewport_screenshot- Capture viewport screenshotexecute_code- Execute arbitrary Python code in Maya (powerful but use with caution)
Object Operations
duplicate_object- Duplicate objectsdelete_object- Delete objectsrename_object- Rename objectsset_object_transform_attributes- Set position, rotation, scaleset_object_attribute- Set any object attributeget_object_attributes- Get object attributeslist_objects_by_type- List objects by type
Organization
organize_objects- Group, parent, layout, align objectsselect_object- Select objectsclear_selection_list- Clear selection
Modeling
mesh_operations- Extrude, bevel, subdivide, smooth, boolean operationscurve_modeling- Extrude, loft, revolve, sweep curves
Import/Export
import_model- Import models (FBX, OBJ, USD, Alembic)export_model- Export models in various formats
Third-party
search_sketchfab_models- Search Sketchfabget_sketchfab_model_preview- Get model previewdownload_sketchfab_model- Download Sketchfab modelsearch_polyhaven_assets- Search Polyhavenget_polyhaven_categories- Get Polyhaven categoriesdownload_polyhaven_asset- Download Polyhaven assets
Configuration
Maya Command Port
By default, Maya MCP connects to Maya on localhost:50007. This is Maya's default command port. If you need to use a different port or host, you can modify the connection settings in the server code.
Logging
The server logs all operations to maya_mcp_server.log in the package directory. Check this file for debugging information.
Troubleshooting
Connection Issues
Maya not responding: Ensure Maya is running and the command port is enabled
Port conflicts: Check if port 50007 is available or change it in the configuration
First command fails: Sometimes the first command may not go through, but subsequent commands should work
Tool Execution Errors
Object not found: Ensure objects exist before manipulating them
Invalid parameters: Check tool documentation for required parameter formats
Maya errors: Check Maya's Script Editor for detailed error messages
Performance
Large scenes: Operations on scenes with many objects may take longer
Complex operations: Boolean operations and mesh smoothing on high-poly objects can be slow
Security Considerations
execute_code tool: The
execute_codetool allows running arbitrary Python code in Maya, which can be powerful but potentially dangerous. Always save your work before using it. The AI may use this tool automatically to understand context and perform complex operations.
Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
Acknowledgments
This project is developed from the original MayaMCP repository by Patrick Palmer. We extend our gratitude to the original author and contributors for their foundational work on the Maya Model Context Protocol integration.
License
MIT License - see LICENSE file for details
Author
Duc Tran (trandangtrungduc@gmail.com)
Version
Current version: 1.1.14
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate 3D models, worlds, PBR materials, and coordinated asset packs from AI agents.
Build, edit and publish live 3D, AR and game scenes in ARClip from your AI assistant.
Build editable 3D scenes, direct characters and cameras, and export AI video references with MCP.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to connect to and control Autodesk Maya for 3D modeling, animation, and rendering operations through the Model Context Protocol, supporting object creation, transformation, scene queries, and Python command execution.MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to programmatically control Autodesk Maya via natural language using over 30 tools for 3D modeling, lighting, and animation. It connects through Maya's command port to facilitate procedural scene generation and complex production-ready workflows.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI-assisted 3D modeling and scene control in Autodesk Maya through natural language commands, supporting object creation, transformation, material application, and more.63 npm8MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to control Autodesk Maya through natural language for scene creation, modeling, material assignment, and object manipulation.1MIT