Unity Editor MCP server: execute_code, screenshots, input simulation, play mode automation.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
One-click editor setup isnโt available for this listing yet โ we donโt have a confirmed install command, and weโd rather show nothing than point your editor at the wrong package or host. Follow the projectโs own setup instructions, linked above.
The Most Advanced MCP Server for Unity Editor
ไธญๆ | English
๐ If you find this project useful, please consider giving it a Star. It helps more Unity developers discover it and supports ongoing development.
KitWright MCP for Unity is an MIT-licensed Unity Editor MCP server that lets AI assistants like Claude Code, Cursor, LM Studio, Windsurf, Codex, and VS Code Copilot operate directly inside your running Unity project.
Describe your game in one sentence โ your AI assistant builds it in Unity through KitWright MCP for Unity's 274 built-in tools for scene creation, script generation, runtime validation, input simulation, performance analysis, and editor automation.
"Build a snake game with a 10x10 grid, food spawning, score UI, and game-over screen"
Your AI assistant handles it through KitWright MCP for Unity: creates the scene, generates all scripts, sets up the UI, and configures the game logic โ all from a single prompt.
Demo โ AI searches project prefabs and builds a city scene through MCP tools. Watch HD MP4.
If you just want to get connected fast, do these three things:
Window > KitWright > MCP Window and start the server from the Server tabIn Unity, go to Window โ Package Manager โ + โ Add package from git URL:
๐ก Before you clone or install, a quick โญ on GitHub would be greatly appreciated.
If you want Unity Package Manager to show registry-backed package version history and allow version selection, install from OpenUPM instead of Git.
Using the OpenUPM CLI:
Or add the scoped registry manually in Packages/manifest.json:
If you installed from a Git URL before, remove the Git dependency first, then install from OpenUPM. Git-installed packages only show the resolved Git version in Unity and do not get the registry-backed Version History list.
Importing the Asset Store package shows a This Unity Package has Package Manager dependencies dialog. Choose Install/Upgrade โ the package needs com.unity.nuget.newtonsoft-json, and skipping the prompt leaves the project without it, which stops every KitWright script from compiling.
If you already chose Skip, the package offers to install the dependency for you on the next domain reload; you can also add it yourself from Window โ Package Manager โ + โ Add package by name:
Menu: Window โ KitWright โ MCP Window, then start the server from the Server tab.
The server starts on http://127.0.0.1:8765/ by default.
Broker Mode is the default transport. It runs a tiny local broker with Unity's bundled Mono, keeps the same 127.0.0.1 port for MCP clients, requires no client config change, and holds the connection across Unity script recompiles and Play Mode domain reloads. If the broker cannot start, the server falls back to direct in-process HTTP automatically; you can also turn broker mode off in the Server tab to use direct HTTP always.
The window has five tabs: Server, Settings, Skills, Tool Exposure, and Integrations.
Open the Tool Exposure tab if you want to edit the exact tools exposed by core or full.
Open the Settings tab if you need to adjust execute_code safety defaults or plugin debug logging.
Use the built-in One-Click MCP Configuration in the Server tab first.
Select your target client, click Configure, and the package writes the recommended MCP config entry for you.
For Claude Code, Cursor, and Codex, click Configure + Skills to also install the default project MCP workflow skill.
If you want project-specific AI guidance for the current Unity project, open the Skills tab to choose supported platforms and install the default unity-mcp-workflow skill.
If you prefer to edit config files manually, use the examples below as fallback references:
LM Studio is not one of the one-click targets โ its mcp.json location varies by version and platform. Open Program > Install > Edit mcp.json in LM Studio and paste the entry below.
Use the same JSON structure as Cursor unless your local Windsurf version requires a different MCP config format.
Open your AI client and try a few safe requests first:
get_scene_info and tell me what scene is open."unity://project/context and summarize the current editor state."execute_code to return the active scene name."If those work, the MCP server, resources, and primary execution tool are connected correctly.
Open your AI client and try: "Create a 3D platformer level with 5 floating platforms"
http://127.0.0.1:8765/ by default.UserSettings/KitWrightMcpSettings.json.core MCP tool profile to reduce tool-list noise for AI clients. core currently exposes 43 high-signal tools centered on execute_code, play mode control, input simulation, screenshots, performance inspection, logs, compilation checks, structured object location and component editing, editor selection / prefab-stage state, live C# API reflection, Unity documentation lookup, and execute_menu_item as a low-friction fallback. Switch to full in the Server tab if you want all 274 tools exposed.execute_code safety checks and the stricter filesystem guard are enabled by default from the Settings tab. The guard blocks obvious destructive snippets, broad System.IO writes, raw file streams, and absolute/user/system/traversal paths. It catches accidents, not intent: safety_checks is a tool argument, so any client that can call execute_code can pass safety_checks=false and skip both the source blocklist and the compiled-assembly guard. It is neither a sandbox nor a security boundary โ see SECURITY.md.unitypackage automatically.No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/kitwright-unity-mcp)<a href="https://allmcps.com/mcp/kitwright-unity-mcp"><img src="https://allmcps.com/api/badge/kitwright-unity-mcp?style=directory" alt="KitWright Unity MCP on AllMCPs" /></a>