MCP for Unity

Developmentstdio
Репозиторий

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.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

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

Инструменты (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)"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
Coplay (@CoplayDev)
Репозиторий
https://github.com/CoplayDev/unity-mcp
Звёзды
0
Последнее обновление
12 июля 2026 г.