
Unity
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.
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
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.
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 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

Quick Start
Get up and running in three steps:
- Install the Plugin — download the
.unitypackageinstaller or runopenupm add com.ivanmurzak.unity.mcp - Pick an MCP Client — Claude Code, Claude Desktop, GitHub Copilot, Cursor, or any other
- Configure the client — open
Window/AI Game Developer — MCPin 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 newPathassets-create-folder- Creates a new folder in the specified parent folderassets-delete- Delete the assets at paths from the projectassets-find- Search the asset database using the search filter stringassets-find-built-in- Search the built-in assets of the Unity Editorassets-get-data- Get asset data from the asset file including all serializable fields and propertiesassets-material-create- Create new material asset with default parametersassets-modify- Modify asset file in the projectassets-move- Move the assets at paths in the project (also used for rename)assets-prefab-close- Close currently opened prefabassets-prefab-create- Create a prefab from a GameObject in the current active sceneassets-prefab-instantiate- Instantiates prefab in the current active sceneassets-prefab-open- Open prefab edit mode for a specific GameObjectassets-prefab-save- Save a prefab in prefab editing modeassets-refresh- Refreshes the AssetDatabaseassets-shader-list-all- List all available shaders in the project assets and packagespackage-add- Install a package from the Unity Package Manager registry, Git URL, or local pathpackage-list- List all packages installed in the Unity project (UPM packages)package-remove- Remove (uninstall) a package from the Unity projectpackage-search- Search for packages in both Unity Package Manager registry and installed packages
Scene & Hierarchy
gameobject-component-add- Add Component to GameObjectgameobject-component-destroy- Destroy one or many components from target GameObjectgameobject-component-get- Get detailed information about a specific Component on a GameObjectgameobject-component-list-all- List C# class names extended from UnityEngine.Componentgameobject-component-modify- Modify a specific Component on a GameObjectgameobject-create- Create a new GameObject in opened Prefab or in a Scenegameobject-destroy- Destroy GameObject and all nested GameObjects recursivelygameobject-duplicate- Duplicate GameObjects in opened Prefab or in a Scenegameobject-find- Finds specific GameObject by provided informationgameobject-modify- Modify GameObjects and/or attached component's fields and propertiesgameobject-set-parent- Set parent GameObject to list of GameObjectsobject-get-data- Get data of the specified Unity Objectobject-modify- Modify the specified Unity Objectscene-create- Create new scene in the project assetsscene-get-data- Retrieves the list of root GameObjects in the specified scenescene-list-opened- Returns the list of currently opened scenes in Unity Editorscene-open- Open scene from the project asset filescene-save- Save opened scene to the asset filescene-set-active- Set the specified opened scene as the active scenescene-unload- Unload scene from the opened scenes in Unity Editorscreenshot-camera- Captures a screenshot from a camera and returns it as an imagescreenshot-game-view- Captures a screenshot from the Unity Editor Game Viewscreenshot-scene-view- Captures a screenshot from the Unity Editor Scene View
Scripting & Editor
console-get-logs- Retrieves Unity Editor logs with filtering optionseditor-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 Editoreditor-selection-set- Set the current Selection in the Unity Editorreflection-method-call- Call any C# method with input parameters and return resultsreflection-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 Roslynscript-read- Reads the content of a script filescript-update-or-create- Updates or creates script file with the provided C# codetests-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 skillsBuild 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.
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.
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.
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".
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.
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`.