LogoSTMCP
Download
unity-mcp

MCP for Unity

MCP for Unity is a bridge that allows AI assistants like Claude and Cursor to interact directly with Unity Editor through MCP protocol, enabling natural language control, asset management, scene control, and workflow automation.

Tools

1. read_console

Gets messages from or clears the console.

2. manage_script

Manages C# scripts (create, read, update, delete).

3. manage_editor

Controls and queries the editor's state and settings.

4. manage_scene

Manages scenes (load, save, create, get hierarchy, etc.).

5. manage_asset

Performs asset operations (import, create, modify, delete, etc.).

6. manage_shader

Performs shader CRUD operations (create, read, modify, delete).

7. manage_gameobject

Manages GameObjects: create, modify, delete, find, and component operations.

8. execute_menu_item

Executes a menu item via its path (e.g., "File/Save Project").

9. apply_text_edits

Precise text edits with precondition hashes and atomic multi-edit batches.

10. script_apply_edits

Structured C# method/class edits (insert/replace/delete) with safer boundaries.

11. validate_script

Fast validation (basic/standard) to catch syntax/structure issues before/after writes.

Open Graph image for MCP for Unity

JSON Config

{
  "servers": {
    "unityMCP": {
      "command": "uv",
      "args": ["--directory","/Users/YOUR_USERNAME/Library/AppSupport/UnityMCP/UnityMcpServer/src","run","server.py"],
      "type": "stdio"
    }
  }
}

Useful Links

Information

Categories