The purpose of this package is to provide a MCP Unity Server for executing Unity operations and request Editor information from AI MCP enabled hosts
The purpose of this package is to provide a MCP Unity Server for executing Unity operations and request Editor information from AI MCP enabled hosts. The mcp unity mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.
MCP Unity is an implementation of the Model Context Protocol for Unity Editor, allowing AI assistants to interact with your Unity projects. This package provides a bridge between Unity and a Node.js server that implements the MCP protocol, enabling AI agents like Cursor, Windsurf, Claude Code, Codex CLI, GitHub Copilot, Google Antigravity, and OpenCode to execute operations within the Unity Editor.
Everything the assistant can do here goes through one of these:
execute_menu_item — Executes Unity menu items (functions tagged with the MenuItem attribute)select_gameobject — Selects game objects in the Unity hierarchy by path or instance IDupdate_gameobject — Updates a GameObject's core properties (name, tag, layer, active/static state), or creates the GameObject if it does not existupdate_component — Updates component fields on a GameObject or adds it to the GameObject if it does not contain the componentadd_package — Installs new packages in the Unity Package Managerrun_tests — Runs tests using the Unity Test Runnersend_console_log — Send a console log to Unityadd_asset_to_scene — Adds an asset from the AssetDatabase to the Unity scenecreate_prefab — Creates a prefab with optional MonoBehaviour script and serialized field valuescreate_scene — Creates a new scene and saves it to the specified pathload_scene — Loads a scene by path or name, with optional additive loadingdelete_scene — Deletes a scene by path or name and removes it from Build Settings@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
You will need one environment variable: UNITY_HOST. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the monitoring and observability group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Unity's toolset — execute_menu_item, select_gameobject, update_gameobject and 11 more — is a fair guide to whether it matches your workflow. It is maintained by CoderGamester; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| execute_menu_item | Executes Unity menu items (functions tagged with the MenuItem attribute) |
| select_gameobject | Selects game objects in the Unity hierarchy by path or instance ID |
| update_gameobject | Updates a GameObject's core properties (name, tag, layer, active/static state), or creates the GameObject if it does not exist |
| update_component | Updates component fields on a GameObject or adds it to the GameObject if it does not contain the component |
| add_package | Installs new packages in the Unity Package Manager |
| run_tests | Runs tests using the Unity Test Runner |
| send_console_log | Send a console log to Unity |
| add_asset_to_scene | Adds an asset from the AssetDatabase to the Unity scene |
| create_prefab | Creates a prefab with optional MonoBehaviour script and serialized field values |
| create_scene | Creates a new scene and saves it to the specified path |
| load_scene | Loads a scene by path or name, with optional additive loading |
| delete_scene | Deletes a scene by path or name and removes it from Build Settings |
| get_gameobject | Gets detailed information about a specific GameObject including all components |
| get_console_logs | Retrieves logs from the Unity console with pagination support |
{
"mcpServers": {
"mcp-unity": {
"command": "node",
"args": [
"ABSOLUTE/PATH/TO/mcp-unity/Server~/build/index.js"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| UNITY_HOST | Endpoint or connection string the server talks to. | Optional |
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
Errors with full context — stack traces, issue triage and AI-powered root-cause analysis from Sentry's server.
A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager
Auth0 Model Context Protocol (MCP) Server (Beta) — A secure and extendable implementation of an MCP server that provides AI assistants with
Query Onchain data, like ERC20 tokens, transaction history, smart contract state.