MCP for Unity

Developmentstdio
Repository

MCP server that bridges AI assistants with the Unity Editor. Gives an LLM tools to create and modify GameObjects, edit scripts, manage assets and scenes, read the console, and run tests, enabling AI-driven game development workflows directly inside Unity. Works with clients such as Claude, Cursor, VS Code, and other MCP-compatible tools.

Bağlan

Bu yapılandırmayı şuraya ekleyin: .claude/mcp.json

{
  "mcpServers": {
    "unity": {
      "command": "uvx",
      "args": [
        "unity-mcp-server"
      ]
    }
  }
}

Araçlar (3)

manage_gameobject

Create, find, modify, or delete GameObjects and their components in the active scene.

{
  "type": "object",
  "required": [
    "action"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the GameObject to act on"
    },
    "action": {
      "type": "string",
      "description": "Operation to perform (create, modify, delete, find)"
    }
  }
}

manage_script

Create or edit C# scripts in the Unity project.

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Path to the script file"
    },
    "contents": {
      "type": "string",
      "description": "Script contents to write"
    }
  }
}

read_console

Read log, warning, and error messages from the Unity console.

{
  "type": "object",
  "properties": {
    "types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Message types to include (log, warning, error)"
    }
  }
}

Kaynaklar

Bu sunucu herhangi bir kaynak sunmuyor.

Prompt'lar

Bu sunucu herhangi bir prompt sunmuyor.

Sunucu bilgileri

Yazar
Coplay (@CoplayDev)
Repository
https://github.com/CoplayDev/unity-mcp
Yıldızlar
0
Son güncelleme
12 Temmuz 2026