Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Unity MCP 🔌 MCP server Open source

Lets AI agents drive the Unity Editor: scenes, C# scripts, assets, tests and builds

Developer tool MCP servers · Open source ★ 15k · +173 this week · MIT · updated 2026-10-02

8.0editor score
Visit Unity MCP ↗
GitHub stars
15k
Stars this week
+173
Forks
1.5k
Licence
MIT
Last push
2026-10-02
Maintainer
CoplayDev
Installopenupm add com.coplaydev.unity-mcp

Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open MCP standard, so it works in every app that supports MCP.

About Unity MCP

What it does

MCP for Unity connects an AI coding agent to a running Unity Editor. It has two parts: a C# package that you add to your Unity project, and a Python server that your MCP client talks to. With both running, the agent can create and change scenes and GameObjects, write and edit C# scripts, manage assets, prefabs and materials, read the console, run tests, profile and start player builds. It is MIT-licensed, maintained by Aura, not affiliated with Unity Technologies, and supports Unity 2021.3 LTS through Unity 6.

Tools it gives your agent

  • Core (on by default): scene, GameObject, component, prefab, material, asset and package management; C# script creation, structured edits and validation; menu items, console reading, asset refresh and batch execution
  • Builds and editor: manage_build for player builds and platform switching, plus editor state and settings control
  • Docs: unity_docs for the official Unity documentation and unity_reflect for inspecting the live C# API
  • Optional groups: animation, ProBuilder modelling, profiling, and AI asset generation for images, audio and 3D models

Works with

This is a local server. By default it runs over HTTP at localhost:8080, and stdio is also available for clients that only speak stdio, such as Claude Desktop. The docs list Claude Code, Claude Desktop, Cursor, VS Code and GitHub Copilot, Windsurf, Cline, Gemini CLI, Codex and Antigravity, and any MCP client should work. A setup window in Unity writes client configs for you, and a remote multi-user mode with API keys is documented.

How to connect

In Unity's Package Manager, add the package from its git URL (or use OpenUPM), then open Window → MCP for Unity and configure your detected clients. For manual stdio setup:

https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main
openupm add com.coplaydev.unity-mcp
uvx --from mcpforunityserver mcp-for-unity --transport stdio

Cost and limits

The package and server are free. You need Python 3.10+ with uv. The asset generation tools use your own keys for fal.ai, OpenRouter, Tripo or Meshy, and those services charge you directly.

Safety notes

The agent can delete scripts and assets and run menu items, so use version control on the project. Turn off tool groups you don't need. If you use the remote-hosted mode, keep API-key validation turned on.

unity game-development csharp editor-automation 3d

Pros

  • Broad tool set covering scenes, scripts, assets, builds and profiling
  • In-Editor setup window auto-configures detected MCP clients
  • Tool groups keep the default tool list small

Cons

  • Needs both a Unity package and a Python/uv server running
  • AI asset generation tools depend on paid third-party keys

GitHub MCP Server 🔌 MCP serverFree

GitHub's official MCP server: issues, pull requests, code, Actions and security alerts

★ 33k · +132 this week

XcodeBuildMCP 🔌 MCP serverOpen source

Build, run, test and debug iOS and macOS apps from AI agents, maintained by Sentry

★ 6.5k · +27 this week

8.4 Visit ↗

MCP Reference Servers 🔌 MCP serverFree

The official reference MCP servers: fetch, filesystem, git, memory and more

★ 91k · +362 this week

MATLAB MCP Server 🔌 MCP serverFree

Official MathWorks server to run, test and lint MATLAB code from AI agents (needs a MATLAB licence)

★ 1.6k · +30 this week

7.8 Visit ↗

Popular searches