Data as of

MCP for Unity for Cursor: Setup & Config

MCP for Unity links Cursor to the Unity Editor for scene work, asset management, script editing, testing, and builds.

MCP for Unity Cursor configuration

  1. Choose Cursor configuration scope

    For MCP for Unity, open Project: .cursor/mcp.json User: ~/.cursor/mcp.json. Merge into mcpServers at project or user scope.

  2. Add MCP for Unity to Cursor

    Use the unity-mcp entry below in mcpServers. Keep MCP for Unity's documented stdio connection fields and your other Cursor entries.

  3. Check MCP for Unity in Cursor

    MCP for Unity: Enable in Cursor’s MCP settings; inspect tools.

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

JSON
{
  "mcpServers": {
    "unity-mcp": {
      "command": "openupm",
      "args": [
        "add",
        "com.coplaydev.unity-mcp"
      ],
      "env": {}
    }
  }
}

MCP for Unity in Cursor: stdio checks

  • MCP for Unity's openupm add command installs a Unity package. Follow the upstream editor setup before expecting a stdio connection in Cursor.
  • Cursor must find openupm for MCP for Unity. Enable the project/user entry in MCP settings and inspect its tools.

MCP for Unity — details. Cursor guide

Frequently asked questions

Cursor's MCP for Unity entry belongs under mcpServers in .cursor/mcp.json (project) or ~/.cursor/mcp.json (user). Confirm the active scope in MCP settings.

Cursor's unity-mcp example uses stdio.

MCP for Unity's Cursor configuration invokes openupm. MCP for Unity's openupm add command installs a Unity package. Follow the upstream editor setup before expecting a stdio connection in Cursor.