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

Unity MCP 🔌 MCP server Free

MCP server, CLI and plugin that let AI agents drive the Unity Editor and runtime directly

Docs & code context MCP servers · Free ★ 4.4k · +36 this week · Apache-2.0 · updated 2026-09-28

6.5editor score
Visit Unity MCP ↗
GitHub stars
4.4k
Stars this week
+36
Forks
386
Licence
Apache-2.0
Last push
2026-09-28
Maintainer
IvanMurzak

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

Unity MCP is an MCP server, companion CLI and Unity plugin that let AI coding agents drive the Unity Editor and runtime directly: creating GameObjects, editing scenes and materials, running tests, capturing screenshots, and calling arbitrary C# methods you expose with a single [AiTool] attribute, instead of only reading and writing script files on disk.

Tools it gives your agent

70+ built-in tools across four categories:

  • Project & Assets (21 tools): asset management, prefab operations, shader inspection, package management
  • Scene & Hierarchy (25 tools): GameObject manipulation, scene navigation, component control, screenshot capture
  • Scripting & Editor (19 tools): Roslyn-based code execution, reflection-based method discovery, test automation, console logging
  • Profiling & Diagnostics (12 tools): performance monitoring, memory statistics, rendering analysis, frame capture

Architecture is three-layer: an MCP client (Claude Code, Cursor, etc.), an MCP server bridging client and Unity over stdio or streamableHttp, and a Unity plugin that executes the tools inside the editor or a compiled build. Runtime support means it also works inside running games for live NPC behavior and debugging, not just editor-time edits.

Works with

Claude Code, Claude Desktop, GitHub Copilot, Cursor, Windsurf, Gemini, VS Code, Rider and any other MCP-capable client. Editor support spans Windows, macOS and Linux (x64/arm64); runtime works in compiled games on the same platforms.

How to install

npm install -g unity-mcp-cli
unity-mcp-cli install-plugin ./MyUnityProject
unity-mcp-cli login
unity-mcp-cli open ./MyUnityProject

Then open Window/AI Game Developer in Unity and click "Auto-generate Skills" or configure the MCP connection manually. A .unitypackage download and an OpenUPM package (openupm add com.ivanmurzak.unity.mcp) are also provided for manual installs.

Maintenance and safety

Apache-2.0 licensed and actively developed (4.3k+ stars, 386 forks, 3,100+ commits, commits within days of review), with a Discord community and Docker support for remote/cloud deployment. Free to use, with no paid tier documented, and works with any LLM provider so there is no vendor lock-in.

Who should use it

Unity developers who want their coding agent to act directly on the Editor and the running game — creating and wiring up objects, running tests, calling gameplay code at runtime, exposing custom C# methods as tools — instead of being limited to editing files and waiting for a manual rebuild to see the result.

unity game-dev mcp-server csharp claude-code

Pros

  • 70+ tools covering assets, scenes, scripting and profiling, plus one-line C# method exposure via [AiTool]
  • Runtime support for in-game AI (NPCs, live debugging), not just editor-time edits
  • Actively maintained, Apache-2.0 licensed, free, and works with any MCP client or LLM provider

Cons

  • Unity-specific; no value outside Unity projects
  • Requires a CLI install per project plus a Unity-side plugin/package kept in sync with updates

Context7 🔌 MCP serverFreemium

Up-to-date, version-specific library documentation for your coding agent

★ 63k · +180 this week

MCP Python SDK 🔌 MCP serverOpen source

The official Python SDK for building Model Context Protocol servers and clients

★ 24k · +55 this week

8.5 Visit ↗

Serena 🔌 MCP serverFree

Semantic code retrieval and editing toolkit for agents, powered by language servers

★ 30k · +146 this week

Codebase Memory MCP 🔌 MCP serverOpen source

Local knowledge graph of your repo so agents query call chains instead of grepping files

★ 46k · +765 this week

7.8 Visit ↗

pg-aiguide 🔌 MCP serverOpen source

MCP server and skills giving coding agents versioned PostgreSQL and TimescaleDB expertise

★ 1.9k · +7 this week

MCP Memory Service 🔌 MCP serverOpen source

Self-hosted persistent memory for coding agents with semantic search and a knowledge graph

★ 2.0k · +15 this week

7.6 Visit ↗

Popular searches