maya_mcp

maya_mcp

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.

Category
Visit Server

README

maya_mcp

FastMCP-based Model Context Protocol (MCP) server for Autodesk Maya. This server enables AI assistants and other MCP clients to interact with an active Maya session, control scene objects, and perform common 3D operations.

Features

  • FastMCP Framework: Built on FastMCP for easy tool, resource, and prompt registration
  • Maya Integration: Communicate with active Maya sessions via maya.cmds API
  • Flexible Deployment: Can be started from within Maya or from a mayapy process
  • Extensible: Easy to add new tools, resources, and prompts

Installation

Development Installation

# Using pip
pip install -e .

# Using uv
uv pip install -e .

Requirements

  • Python 3.10+ (3.11+ recommended)
  • FastMCP >= 2.0.0
  • Autodesk Maya (for running the server with Maya)

Usage

Starting the Server from Maya

  1. Open Maya
  2. In the Maya Script Editor, run:
import sys
sys.path.insert(0, r'F:\git\maya_mcp\src\py')  # Adjust path as needed
import maya_mcp
maya_mcp.__main__.main()

Starting the Server from mayapy

# Using mayapy directly
mayapy -m maya_mcp

# Or if installed as a package
mayapy -c "from maya_mcp import mcp; mcp.run()"

Starting as a Standalone Script

If installed via pip/uv:

maya-mcp

Note: The server will warn if Maya is not available, but some tools may not work.

Available Tools

Server Status

  • get_server_status() - Get the status of the Maya MCP server

Scene Operations

  • get_selection() - Get currently selected objects
  • select_objects(names) - Select objects by name
  • clear_selection() - Clear the current selection

More tools will be added as the project develops.

Project Structure

maya_mcp/
├── src/
│   └── py/
│       └── maya_mcp/
│           ├── __init__.py          # Main FastMCP server setup
│           ├── __main__.py          # Entry point for running the server
│           ├── server.py            # Core server setup and status tools
│           ├── tools/               # Tool implementations
│           │   ├── __init__.py
│           │   └── scene.py         # Scene manipulation tools
│           ├── resources/            # Resource implementations
│           │   └── __init__.py
│           └── prompts/              # Prompt templates
│               └── __init__.py
├── tests/                            # Unit tests (to be added)
├── pyproject.toml                    # Project configuration
├── README.md                         # This file
└── AGENTS.md                         # AI agent guidance

Development

See AGENTS.md for detailed guidance on developing and extending the Maya MCP server.

Running Tests

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest tests/

# With coverage
pytest tests/ --cov=src/py/maya_mcp --cov-report=term-missing

License

Apache License 2.0

Author

Ben Deda

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