Connects AI models directly to Unity Editor, allowing them to create and modify GameObjects, manage scenes, and control Unity features through natural language commands.

Unlock powerful AI-driven control in Unity with Unity-MCP, a versatile bridge linking large language models to Unity's tools. It enables AI to understand and utilize Unity’s features—like creating, modifying, and managing GameObjects, Assets, Scenes, and more—directly inside the Unity Editor. Developers can extend Unity-MCP by adding custom tools to tailor AI interactions for advanced workflows, rapid prototyping, or automation. Designed for flexibility and future player build support, this project empowers you to integrate intelligent AI capabilities seamlessly into your Unity development process.

1,231628 views128Local (stdio)

What it does

  • Create and modify GameObjects in Unity scenes
  • Manage Unity assets and scenes
  • Control Unity Editor features via AI commands
  • Extend functionality with custom tools
  • Automate Unity development workflows

Best for

Game developers wanting AI-assisted Unity developmentRapid prototyping of game mechanicsAutomating repetitive Unity Editor tasks
Direct Unity Editor integrationExtensible with custom toolsFuture player build support planned

About Unity

Unity is a community-built MCP server published by IvanMurzak that provides AI assistants with tools and capabilities via the Model Context Protocol. Empower your Unity projects with Unity-MCP: AI-driven control, seamless integration, and advanced workflows within the U It is categorized under ai ml, developer tools.

How to install

You can install Unity in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Unity is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

✨ AI Game Developer — Unity MCP

MCP OpenUPM Docker Image Unity Editor Unity Runtime r
Discord OpenUPM Stars License Stand With Ukraine

AI work

中文 | 日本語 | Español

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.

Unlike other tools, this plugin works inside your compiled game, allowing for real-time AI debugging and player-AI interaction.

💬 Join our Discord Server - Ask questions, showcase your work, and connect with other developers!

AI Game Developer — Unity MCP

  • ✔️ AI agents - Use the best agents from Anthropic, OpenAI, Microsoft, or any other provider with no limits
  • ✔️ TOOLS - A wide range of default MCP Tools for operating in Unity Editor
  • ✔️ SKILLS - Automatically generates skills for each MCP tool
  • ✔️ Code and Tests - Ask AI to write code and run tests
  • ✔️ Runtime (in-game) - Use LLMs directly inside your compiled game for dynamic NPC behavior or debugging
  • ✔️ Debug support - Ask AI to get logs and fix errors
  • ✔️ Natural conversation - Chat with AI like you would with a human
  • ✔️ Flexible deployment - Works locally (stdio) and remotely (http) via configuration
  • ✔️ Extensible - Create custom MCP Tools in your project code

DOWNLOAD INSTALLER

AI Game Developer Windows

AI Game Developer — Unity MCP

Quick Start

Get up and running in three steps:

  1. Install the Plugin — download the .unitypackage installer or run openupm add com.ivanmurzak.unity.mcp
  2. Pick an MCP Client — Claude Code, Claude Desktop, GitHub Copilot, Cursor, or any other
  3. Configure the client — open Window/AI Game Developer — MCP in Unity and click Configure

That's it. Ask your AI "Create 3 cubes in a circle with radius 2" and watch it happen. ✨


Tools Reference

The plugin ships with 50+ built-in tools across three categories. All tools are available immediately after installation — no extra configuration required. See docs/default-mcp-tools.md for the full reference with detailed descriptions.

Project & Assets
  • 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
  • assets-prefab-open - Open prefab edit mode for a specific GameObject
  • assets-prefab-save - Save a prefab in prefab editing mode
  • assets-refresh - Refreshes the AssetDatabase
  • assets-shader-list-all - List all available shaders in the project assets and packages
  • package-add - Install a package from the Unity Package Manager registry, Git URL, or local path
  • package-list - List all packages installed in the Unity project (UPM packages)
  • package-remove - Remove (uninstall) a package from the Unity project
  • package-search - Search for packages in both Unity Package Manager registry and installed packages
Scene & Hierarchy
  • gameobject-component-add - Add Component to GameObject
  • gameobject-component-destroy - Destroy one or many components from target GameObject
  • gameobject-component-get - Get detailed information about a specific Component on a GameObject
  • gameobject-component-list-all - List C# class names extended from UnityEngine.Component
  • gameobject-component-modify - Modify a specific Component on a GameObject
  • gameobject-create - Create a new GameObject in opened Prefab or in a Scene
  • gameobject-destroy - Destroy GameObject and all nested GameObjects recursively
  • gameobject-duplicate - Duplicate GameObjects in opened Prefab or in a Scene
  • gameobject-find - Finds specific GameObject by provided information
  • gameobject-modify - Modify GameObjects and/or attached component's fields and properties
  • gameobject-set-parent - Set parent GameObject to list of GameObjects
  • object-get-data - Get data of the specified Unity Object
  • object-modify - Modify the specified Unity Object
  • scene-create - Create new scene in the project assets
  • scene-get-data - Retrieves the list of root GameObjects in the specified scene
  • scene-list-opened - Returns the list of currently opened scenes in Unity Editor
  • scene-open - Open scene from the project asset file
  • scene-save - Save opened scene to the asset file
  • scene-set-active - Set the specified opened scene as the active scene
  • scene-unload - Unload scene from the opened scenes in Unity Editor
  • screenshot-camera - Captures a screenshot from a camera and returns it as an image
  • screenshot-game-view - Captures a screenshot from the Unity Editor Game View
  • screenshot-scene-view - Captures a screenshot from the Unity Editor Scene View
Scripting & Editor
  • console-get-logs - Retrieves Unity Editor logs with filtering options
  • editor-application-get-state - Returns information about the Unity Editor application state (playmode, paused, compilation)
  • editor-application-set-state - Control the Unity Editor application state (start/stop/pause playmode)
  • editor-selection-get - Get information about the current Selection in the Unity Editor
  • editor-selection-set - Set the current Selection in the Unity Editor
  • reflection-method-call - Call any C# method with input parameters and return results
  • reflection-method-find - Find method in the project using C# Reflection (even private methods)
  • script-delete - Delete the script file(s)
  • script-execute - Compiles and executes C# code dynamically using Roslyn
  • script-read - Reads the content of a script file
  • script-update-or-create - Updates or creates script file with the provided C# code
  • tests-run - Execute Unity tests (EditMode/PlayMode) with filtering and detailed results

Additional tools

Install extensions when need more tools or create your own.


README truncated. View full README on GitHub.

Alternatives

Related Skills

Browse all skills
unity-developer

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.

94
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
unity-mcp-orchestrator

Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for effective Unity-MCP integration.

10
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

6
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

4
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

4