
patrickpalmer/mayamcp 是从 https://github.com/patrickpalmer/mayamcp. 导入的 MCP 服务器候选人。
概览
patrickpalmer/mayamcp 是从 https://github.com/patrickpalmer/mayamcp. 导入的 MCP 服务器候选人。
概述(AI 翻译)
Autodesk Maya 的模型上下文协议(MCP)服务器实现
用Maya 2023、2025测试。
v0.2.0
该项目使像 Claude Desktop 这样的 AI 助手客户端能够通过自然语言使用模型上下文协议(MCP)控制 Autodesk Maya。
这还处于Maya MCP服务器的早期阶段,功能非常有限。最初关注的真正重点是架构设计和简洁性。
以下是一些在 Maya MCP 注册的工具列表。
基础工具
| 工具 | 描述 |
|---|---|
| list_objects_by_type | 获取场景中物体的列表。使用 filter_by 来过滤某些物体,如“摄像机”、“灯光”、“材质”或“形状”。 |
| create_object | 在Maya场景中创建一个对象。可用的对象类型有立方体、锥体、球体、圆柱体、摄像机、聚光、点光、方向光。 |
| get_object_attributes | 获取Maya对象的属性列表。 |
| set_object_attributes | 将一个对象的属性设置为特定值。 |
| scene_new | 在Maya中创建一个新场景。当加载并修改过的现有场景时,使用force参数强制新场景。 |
本页由 AI 翻译,技术细节请以原文为准。
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:
- download this project
- Create a virtual env using Python 3.10+ in the project directory.
python -m venv .venv
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 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"
]
}
}
}