Maya MCP

io.github.GimbalGoats由 GitHub 账号 GimbalGoats 发布v0.6.1更新于 Oct 24, 2026

Control Autodesk Maya scenes with 71 typed tools for modeling, animation, shading, and more.

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,通过 71 个类型化工具让助手控制 Autodesk Maya 场景,涵盖建模、动画、着色、蒙皮和视口截图。

可以做什么
检查服务器健康状态与 Maya 连接状态,读取场景信息和 Maya 版本。新建、打开和替换场景,列出、查看并管理节点及其属性。查询和更改选择集,查看或编辑节点连接。构建和编辑网格与建模操作,应用着色,处理蒙皮权重。制作动画和曲线,并截取视口图像。仅在显式启用原始执行时运行脚本。
适用场景
适合让助手检查或修改同一台机器上正在运行的 Autodesk Maya 会话,例如自动完成重复的场景、建模、绑定或动画操作,而无需手写 Maya 命令。
运行要求
以 Python 包(maya-mcp,可用 pip 安装或通过 uvx 运行)在本地以 stdio 运行。需要 Autodesk Maya 2024 或更高版本并启用其 commandPort(默认端口 7001),以及桌面版 MCP 客户端。未声明认证、API 密钥或环境变量。
安装前请注意
工具会修改场景数据,包括新建、打开或替换场景;存在未保存更改时 scene.new 和 scene.open 默认拒绝执行,除非强制或确认。通过 script.run 的原始代码执行默认关闭,需将 MAYA_MCP_ENABLE_RAW_EXECUTION 设为 true。通信仅限 localhost,项目为非官方项目,与 Autodesk 无关联。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Maya MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Maya MCP Server for Autodesk Maya

[Python 3.10.1+] [PyPI version] [GitHub release] [CI] [Publish] [Docs] [Claude Desktop] [License: MIT]

[Maya MCP banner]

Maya MCP is an open-source, local Model Context Protocol server for controlling Autodesk Maya through Maya's commandPort.

Supported Maya versions: Autodesk Maya 2024 and later.

It gives MCP clients a typed tool surface for scene work, nodes, selection, modeling, shading, skinning, animation, curves, scripts, and viewport capture without importing Maya modules in the server process.

This project is unofficial and is not affiliated with or endorsed by Autodesk. Autodesk Maya is a trademark of Autodesk, Inc.

Why Use It

  • runs outside Maya, so the server stays isolated from Maya imports
  • talks to Maya over localhost only
  • exposes 71 typed tools instead of raw API calls
  • supports safer scene replacement flows for unsaved changes
  • leaves raw code execution disabled unless you opt in

Claude Desktop Quick Start

For Claude Desktop, use the packaged MCPB extension from the latest GitHub Release.

  1. Download maya-mcp-<version>.mcpb from the release Assets section.
  2. Install it in Claude Desktop by double-clicking the .mcpb file, dragging it into Claude Desktop, or using Settings -> Extensions -> Advanced settings -> Install Extension.
  3. Keep the Maya commandPort setting at 7001 unless you use a different port.
  4. Open Maya and run the commandPort setup from the next section.
  5. In Claude Desktop, verify with health_check, scene_info, and nodes_list.

Claude Desktop uses underscore tool names such as scene_info. Other MCP clients use dotted names such as scene.info.

Quick Start

1. Install

bash
pip install maya-mcp

On Windows:

powershell
py -m pip install maya-mcp

From source:

bash
pip install -e ".[dev]"

2. Open Maya commandPort

Download, then paste and run, the complete scripts/enable_commandport.py file in Maya's Python Script Editor. The helper keeps the established Python + echoOutput path on Maya 2025 and later. On Maya 2024 only, it selects the loopback-only response compatibility path required by that release.

3. Start the server

bash
maya-mcp

Other supported launch styles:

bash
python -m maya_mcp.serverpython src/maya_mcp/server.pyfastmcp run

fastmcp run works from this repo because it includes fastmcp.json.

4. Add it to your client

Codex CLI / IDE extension

Codex uses ~/.codex/config.toml for MCP servers. The CLI and IDE extension share that config.

Installed package:

toml
[mcp_servers.maya]command = "maya-mcp"

Source checkout or Windows-friendly setup:

toml
[mcp_servers.maya]command = "py"args = ["-m", "maya_mcp.server"]env = { PYTHONPATH = "src" }

Use the PYTHONPATH line only when running from a source checkout. Use python instead of py on platforms that do not provide the Windows launcher.

Claude Code

Claude Code project-scoped MCP servers live in .mcp.json. The server key is user-defined; these examples use maya consistently.

Installed package:

json
{  "mcpServers": {    "maya": {      "command": "maya-mcp",      "args": []    }  }}

Source checkout or Windows-friendly setup:

json
{  "mcpServers": {    "maya": {      "command": "py",      "args": ["-m", "maya_mcp.server"],      "env": {        "PYTHONPATH": "src"      }    }  }}

For Codex CLI and Claude Code on Windows, py -m maya_mcp.server is usually more reliable than relying on the maya-mcp console script being on the correct PATH.

Claude Desktop Extension

Maya MCP ships as a Claude Desktop MCPB extension. The extension still runs the same local stdio server and keeps Maya communication on localhost.

User installation, build, verification, and troubleshooting notes live in Claude Desktop Extension.

Published GitHub Releases attach the built .mcpb package as maya-mcp-<version>.mcpb after the release workflow validates and smoke-tests the bundle.

The packaging script supports a user-local MCPB CLI install:

powershell
npm install --prefix "$env:USERPROFILE\.tools\mcpb" @anthropic-ai/mcpb.\packaging\claude-mcpb\build.ps1
VS Code

VS Code uses .vscode/mcp.json with a servers object.

json
{  "servers": {    "maya": {      "type": "stdio",      "command": "maya-mcp"    }  }}
Other MCP clients

Some clients use a generic mcpServers object:

json
{  "mcpServers": {    "maya": {      "command": "maya-mcp",      "args": []    }  }}

5. Verify

Call these tools in order:

  1. health.check
  2. scene.info
  3. nodes.list

Tool Coverage

FamilyCount
health1
maya2
scene9
nodes7
attributes2
selection6
connections5
mesh3
viewport1
modeling15
shading3
skin6
animation6
curve2
script3

script.run is disabled by default and requires MAYA_MCP_ENABLE_RAW_EXECUTION=true.

scene.new and scene.open still refuse by default when the current scene has unsaved changes. Clients that advertise MCP form elicitation can receive an in-band discard-changes confirmation instead of having to retry with force=True.

Main Docs

Published docs: https://gimbalgoats.github.io/GG_MayaMCP/

Development

This repo uses py for Python commands on Windows:

powershell
py -m ruff check .py -m ruff format .py -m mypy src/py -m pytest

If tests import maya_mcp from site-packages instead of this repo:

powershell
$env:PYTHONPATH='src'py -m pytest

Security Notes

  • localhost only
  • no remote-host support
  • no Maya imports in the MCP server process
  • no arbitrary code execution by default
  • no secrets or raw tracebacks in client-facing errors

Privacy

Maya MCP runs locally. The project does not operate a hosted service, collect telemetry, or receive Maya scene data from local use. See Privacy Policy.

License

MIT. See LICENSE.

来源:README.md,提交 06862e0

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.6.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分