MCP for Unity

Developmentstdio
Repositorio

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.

Conectar

Añade esta configuración a .claude/mcp.json

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

Herramientas (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)"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
Coplay (@CoplayDev)
Repositorio
https://github.com/CoplayDev/unity-mcp
Estrellas
0
Última actualización
12 de julio de 2026