PM

patrickpalmer/mayamcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

120 stars 35 forks Качество 60 Тренд 16MIT

patrickpalmer/mayamcp — это кандидат на сервер MCP, импортированный из https://github.com/patrickpalmer/mayamcp.

Обзор

patrickpalmer/mayamcp — это кандидат на сервер MCP, импортированный из https://github.com/patrickpalmer/mayamcp.

Обзор (машинный перевод)

Реализация сервера Model Context Protocol (MCP) для Autodesk Maya

Тестировался с Maya 2023, 2025.

v0.2.0

Этот проект позволяет клиентам AI-ассистентов, таким как Claude Deskbox, управлять Autodesk Maya через естественный язык с использованием протокола Model Context Protocol (MCP).

Это только ранние дни для сервера Maya MCP, и функциональность минимальна. Изначально главным акцентом было архитектурное проектирование и простота.

Вот список некоторых инструментов, зарегистрированных в Maya MCP.

Базовые инструменты

Инструмент Описание
list_objects_by_type Получите список объектов в сцене. Используйте filter_by для фильтрации определённых объектов, таких как «камеры», «свет», «материалы» или «формы».
create_object Создайте объект в сцене майя. Доступны типы объектов: куб, конус, сфера, цилиндр, камера, прожектор, точечный, направленныйСвет.
get_object_attributes Получите список атрибутов на объекте Maya.
set_object_attributes Задайте атрибут объекта с определённым значением.
scene_new Создайте новую сцену в Maya. Используйте аргумент силы, чтобы принудительно запустить новую сцену, когда существующая сцена загружана и изменена.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Maya MCP

Model Context Protocol (MCP) server implementation for Autodesk Maya

Tested with Maya 2023, 2025.

v0.2.0

This project enables AI assistant clients like Claude Desktop to control Autodesk Maya through natural language using the Model Context Protocol (MCP).

This is early days for Maya MCP server and has a minimal set of functionality. It’s really the architecture design and simplicity that has been the initial focus.

Here is a list of some of the tools registered with Maya MCP.

Basic Tools

Tool Description
list_objects_by_type Get a list of objects in the scene. Use filter_by to filter for certain objects such as “cameras”, “lights”, “materials”, or “shapes”.
create_object Create an object in the Maya scene. Object types available are cube, cone, sphere, cylinder, camera, spotLight, pointLight, directionalLight.
get_object_attributes Get a list of attributes on a Maya object.
set_object_attributes Set an object’s attribute with a specific value.
scene_new Create a new scene in Maya. Use the force argument to force a new scene when an existing scene is loaded and has been modified.
scene_open Load in a scene into Maya.
scene_save Save the current scene. If the filename is not specified, it will save it as its current name.
select_object Select an object in the scene.

Advanced Modeling Tools

Tool Description
create_advanced_model Create complex 3D models like cars, trees, buildings, cups, and chairs with detailed parameters.
mesh_operations Perform modeling operations such as extrude, bevel, subdivide, boolean, combine, bridge, and split.
create_material Create and assign materials with various types (lambert, phong, wood, marble, chrome, glass, etc.)
create_curve Generate NURBS curves for various shapes (line, circle, spiral, helix, star, gear, etc.)
curve_modeling Create geometry using curve-based modeling techniques (extrude, loft, revolve, sweep, etc.)
organize_objects Organize objects through grouping, parenting, layout, alignment, and distribution.
generate_scene Generate complete 3D scenes with multiple objects (city, forest, living room, office, park)

Installation

Maya MCP server is designed so there is only an MCP server and doesn’t require anything to be installed within Maya. This is helpful since you can easily use different versions of Maya and not have to worry about coordinating version changes. This is done by taking advantage of the default Command Port Maya opens up for MEL scripting.

MCP requires Python 3.10 or greater. Currently using pip as the package requirements are minimal. To install the virtual environment:

  1. download this project
  2. Create a virtual env using Python 3.10+ in the project directory. python -m venv .venv
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "MayaMCP": { "command": "[FULL PATH TO MayaMCP PROJECT]/.venv/Scripts/python.exe", "args": [ "[FULL PATH TO MayaMCP PROJECT]/src/maya_mcp_server.py" ] } } }