KitWright Unity MCP logo

KitWright Unity MCP

Connects AI clients to a running Unity Editor for code execution, screenshots, input simulation, and play-mode automation.

Install KitWright Unity MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for KitWright Unity MCP, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

KitWright Unity MCP connects MCP-compatible AI clients to a running Unity Editor through a local HTTP endpoint. It exposes tools for C# execution, scene and project inspection, screenshots, simulated input, play-mode control, runtime validation, performance inspection, logs, and editor automation. Use it when an AI assistant needs to create or modify Unity scenes, generate scripts, inspect project state, or test editor behavior. The package is editor-only and supports Unity 2022.3 and later.

Use cases

  • Create Unity scenes from natural-language specifications
  • Generate and test gameplay scripts inside the Editor
  • Inspect project state, scenes, prefabs, and components
  • Automate Play Mode checks with simulated input
  • Capture screenshots and review performance or compilation output

Key features

  • Local HTTP MCP endpoint for Unity Editor
  • C# code execution with configurable safety checks
  • Scene creation, inspection, and component editing
  • Play Mode control, input simulation, and screenshots
  • Performance, log, and compilation inspection
  • Core and full tool exposure profiles

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 63d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars43Stargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Directory activity10 viewsConfig copies, upvotes, and views on AllMCPs.

How KitWright Unity MCP works

What KitWright Unity MCP does

KitWright Unity MCP lets an MCP-compatible AI client operate a running Unity project from inside the Unity Editor. It is intended for editor workflows such as creating scenes, generating scripts, configuring game logic, inspecting project assets, validating runtime behavior, and automating common editor actions.

The package includes capabilities for executing C# code, reading scene and project context, taking screenshots, simulating input, controlling Play Mode, checking compilation, inspecting performance, reading logs, locating objects and components, editing components, and examining selection or prefab-stage state. It also supports live C# API reflection, Unity documentation lookup, and menu-item execution.

The package is licensed under MIT and is editor-only. It does not add runtime components to a built game.

How it works

After installation, the Unity package starts an MCP endpoint from the Server tab in Window > KitWright > MCP Window. The default address is http://127.0.0.1:8765/. Broker Mode is enabled by default and keeps the client-facing local endpoint available across Unity script recompiles and Play Mode domain reloads. If the broker cannot start, the package falls back to direct in-process HTTP; direct HTTP can also be selected manually.

The server uses the core tool profile by default to expose a smaller set of tools. The full profile exposes the complete tool set. Profiles reduce the number of tools presented to the client but are not an access-control mechanism: a connected client can change the profile, and execute_code is available in every profile.

A connection can be checked with calls such as get_scene_info, the unity://project/context resource, or execute_code returning the active scene name.

Setup and configuration

Install through Unity Package Manager with the Git URL:

text
https://github.com/kitwright/unity-mcp.git#upm

Open the MCP Window, start the server, and use One-Click MCP Configuration to write the client configuration. The package provides configuration paths for Claude Code, Claude Desktop, Cursor, LM Studio, VS Code, Codex, and Windsurf. Manual configurations point clients to the local HTTP endpoint above.

Open the Tool Exposure tab to choose the exposed profile. The Settings tab controls execute_code safety defaults and plugin debug logging. Project MCP workflow guidance can be installed from the Skills tab; the one-click workflow also supports Claude Code, Cursor, and Codex.

The package stores local MCP settings in UserSettings/KitWrightMcpSettings.json. Unity 2022.3 or later is required. Asset Store installations also require com.unity.nuget.newtonsoft-json; the dependency must be installed for the KitWright scripts to compile.

Tools and capabilities

  • Execute C# code through execute_code.
  • Inspect scenes and project context with scene information tools and the unity://project/context resource.
  • Create and modify scenes, objects, components, scripts, and UI through the editor toolset.
  • Control Play Mode and simulate user input.
  • Capture screenshots and inspect runtime output.
  • Review performance data, logs, and compilation status.
  • Locate structured objects and components, edit component values, and inspect editor selection or prefab-stage state.
  • Reflect over the live C# API and look up Unity documentation.
  • Invoke Unity editor menu items with execute_menu_item.

Limitations and notes

The server operates only within the Unity Editor and does not extend a built game at runtime. Safety checks and a filesystem guard for execute_code are enabled by default, but they are not a security boundary. A client that can call execute_code can pass safety_checks=false, so tool approval should be handled by the MCP client when restricting actions matters.

The default server listens on localhost, and the package is designed around a running Unity project. Switching from core to full changes the client-visible tool list but does not prevent access to tools. Broker Mode is optional because direct HTTP remains available as a fallback or manual setting.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about KitWright Unity MCP

KitWright Unity MCP is an MCP server that connects AI clients to a running Unity Editor over local HTTP. Its main tools support C# code execution, scene and project inspection, screenshots, simulated input, play-mode control, logs, compilation checks, performance inspection, and editor automation.

Install it through Unity Package Manager using the Git URL `https://github.com/kitwright/unity-mcp.git#upm`. Then open `Window > KitWright > MCP Window`, start the server from the Server tab, and configure your MCP client with the built-in one-click setup.

Yes, KitWright Unity MCP supports Cursor through its local HTTP endpoint. Use One-Click MCP Configuration from the Unity Server tab, or add the server URL `http://127.0.0.1:8765/` to Cursor's MCP configuration.

Yes, Claude Desktop can connect to KitWright Unity MCP through the HTTP configuration entry for `http://127.0.0.1:8765/`. Start the server in Unity first, then add the endpoint to the client's MCP configuration.

No, its default checks are not a security boundary. The server enables `execute_code` safety checks and filesystem restrictions by default, but a client that can call the tool can pass `safety_checks=false`; use client-side tool approval for stronger control.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKitWright Unity MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kitwright-unity-mcp?style=directory)](https://allmcps.com/mcp/kitwright-unity-mcp)
HTML Embed
<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>