Maya MCP Server

Maya MCP Server

Enables 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.

Category
Visit Server

README

Maya MCP Server

Control Autodesk Maya with AI through natural language

A production-ready Model Context Protocol (MCP) server that enables AI assistants like Claude to control Autodesk Maya programmatically with 30+ comprehensive tools.

Version Python Maya License


Features

  • 30+ Maya Tools - Comprehensive control over Maya's features
  • No Maya Installation Required - Uses Maya's built-in command port
  • Natural Language Interface - Build 3D scenes through conversation
  • Production Ready - Error handling, logging, validation
  • Fully Documented - Extensive guides and examples

What You Can Do

  • Create any primitive shape (19 types)
  • Advanced mesh modeling (extrude, bevel, smooth, boolean)
  • Professional materials and lighting
  • Scene organization and hierarchy
  • Procedural generation (arrays, grids, patterns)
  • Animation keyframes
  • Deformers and non-destructive editing

Quick Start

Prerequisites

  • Python 3.8 or higher
  • Autodesk Maya 2020 or higher
  • Claude Desktop (or any MCP-compatible client)

Installation (2 Minutes)

1. Install Python dependencies:

cd maya-mcp-server
pip install -r requirements.txt

2. Open Maya command port:

In Maya Script Editor (Python tab):

import maya.cmds as cmds
cmds.commandPort(name="localhost:4434", sourceType="python", echoOutput=False)
print("Maya ready for MCP!")

3. Configure Claude Desktop:

Edit config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "maya": {
      "command": "python3",
      "args": ["/FULL/PATH/TO/maya-mcp-server/src/expanded_mcp_server.py"],
      "env": {
        "MAYA_HOST": "localhost",
        "MAYA_PORT": "4434"
      }
    }
  }
}

4. Restart Claude Desktop

5. Start creating!

"Create a torus, bevel its edges, add a gold metallic material"


Documentation

Document Description
Quick Start Get running in 2 minutes
Tools Reference All 30+ tools documented
Examples Learn by example
Troubleshooting Common issues solved

Example Usage

Simple

You: "Create a sphere"
Maya: Creates sphere at origin

Intermediate

You: "Create a cube, scale it to [10, 5, 10], bevel edges with 0.2 offset"
Maya: Creates beveled box

Advanced

You: "Build a castle with keep, 4 towers, walls with gate cutout, stone material"
Maya: Creates complete castle scene

Available Tools (30+)

Category Tools
Primitives 19 types (polygon + NURBS)
Mesh Ops Extrude, Bevel, Smooth, Boolean, Combine, Separate
Lighting Point, Directional, Spot, Area, Ambient, Volume
Materials Lambert, Blinn, Phong, PBR
Organization Group, Parent, Arrange (grid/circle), Duplicate
Animation Keyframe transforms
Plus Cameras, Curves, Deformers

See Tools Reference for details.


Project Structure

maya-mcp-server/
├── src/
│   ├── expanded_mcp_server.py      # Main server (30+ tools)
│   ├── simplified_mcp_server.py    # Basic version (6 tools)
│   └── maya_setup.py               # Quick Maya setup
├── docs/
│   ├── QUICK_START.md              # Setup guide
│   ├── TOOLS_REFERENCE.md          # Tool docs
│   ├── EXAMPLES.md                 # Tutorials
│   └── TROUBLESHOOTING.md          # Help
├── examples/
│   └── example_prompts.md          # Sample prompts
├── tests/
│   └── test_connection.py          # Connection test
├── README.md                       # This file
├── requirements.txt                # Dependencies
├── setup.py                        # Installer
└── LICENSE                         # MIT License

Testing

Test Maya connection:

python tests/test_connection.py

Configuration

Environment variables:

  • MAYA_HOST - Maya hostname (default: localhost)
  • MAYA_PORT - Command port (default: 4434)

Tips

  1. Use descriptive names: tree_trunk not cube1
  2. Combine operations: Do multiple things in one prompt
  3. Build hierarchies: Use grouping and parenting
  4. Leverage strengths: NURBS for organic, polygons for hard surface

Troubleshooting

"Could not connect to Maya"

  • Verify Maya is running
  • Check: cmds.commandPort("localhost:4434", query=True)

See Troubleshooting Guide


License

MIT License - Free to use and modify


Acknowledgments

  • Anthropic - Model Context Protocol
  • Autodesk - Maya Python API
  • PatrickPalmer - MayaMCP inspiration

Get Started

  1. Read Quick Start Guide
  2. Try Example Prompts
  3. Build something amazing!

Ready to build 3D worlds with AI?

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured