Unity MCP Server

Cross-platform CLI tool for AI Game Developer (Skills & MCP). Full AI develop and test loop. Efficient token usage, advanced tools. Creates Unity

Local serverstdio

What is the Unity MCP server?

Unity MCP server exists for a simple reason — assistants are far more useful when they can act on Unity directly instead of describing what you should do. Cross-platform CLI tool for AI Game Developer (Skills & MCP). Full AI develop and test loop. Efficient token usage, advanced tools. Creates Unity project, installs plugins, configures tools, and manages HTTP connection with Unity Editor.

What you get

Unity MCP is an AI-powered game development assistant for Editor & Runtime. Connect Claude, Cursor, & Windsurf to Unity via MCP. Automate workflows, generate code, and enable AI within your games.

What the assistant can call

Once Unity is connected, these are the calls the assistant has available:

  • assets-copy — Copy the asset at path and stores it at newPath
  • assets-create-folder — Creates a new folder in the specified parent folder
  • assets-delete — Delete the assets at paths from the project
  • assets-find — Search the asset database using the search filter string
  • assets-find-built-in — Search the built-in assets of the Unity Editor
  • assets-get-data — Get asset data from the asset file including all serializable fields and properties
  • assets-material-create — Create new material asset with default parameters
  • assets-modify — Modify asset file in the project
  • assets-move — Move the assets at paths in the project (also used for rename)
  • assets-prefab-close — Close currently opened prefab
  • assets-prefab-create — Create a prefab from a GameObject in the current active scene
  • assets-prefab-instantiate — Instantiates prefab in the current active scene

Setting it up

The server ships on npm as unity-mcp-cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Unity's toolset — assets-copy, assets-create-folder, assets-delete and 11 more — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Unity's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Unity.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the unity mcp server does with a few real requests.

Available tools

ToolWhat it does
assets-copyCopy the asset at path and stores it at newPath
assets-create-folderCreates a new folder in the specified parent folder
assets-deleteDelete the assets at paths from the project
assets-findSearch the asset database using the search filter string
assets-find-built-inSearch the built-in assets of the Unity Editor
assets-get-dataGet asset data from the asset file including all serializable fields and properties
assets-material-createCreate new material asset with default parameters
assets-modifyModify asset file in the project
assets-moveMove the assets at paths in the project (also used for rename)
assets-prefab-closeClose currently opened prefab
assets-prefab-createCreate a prefab from a GameObject in the current active scene
assets-prefab-instantiateInstantiates prefab in the current active scene
assets-prefab-openOpen prefab edit mode for a specific GameObject
assets-prefab-saveSave a prefab in prefab editing mode

How to install the Unity MCP server

{
  "mcpServers": {
    "unity-1": {
      "command": "npx",
      "args": ["-y", "unity-mcp-cli"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Unity to assets-copy.
  • Use Unity to assets-create-folder.
  • Use Unity to assets-delete.

Frequently asked questions

It connects Unity to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (assets-copy, assets-create-folder, assets-delete, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Unity directly.