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 分