mcp-unity
Level ALocalModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
Overview
mcp-unity implements the Model Context Protocol for the Unity Editor, bridging Unity and a Node.js MCP server so AI assistants like Cursor, Windsurf, and Claude Code can operate on Unity projects. It offers tools to query and edit scenes and GameObjects, manage components and materials, create prefabs and scenes, run tests, recompile scripts, and control play mode, and can add Unity package caches to IDE workspaces for better code intelligence.
Installation
MCP client config (paste into mcp.json)
{
"mcpServers": {
"codergamester-mcp-unity": {
"command": "node",
"args": [
"ABSOLUTE/PATH/TO/mcp-unity/Server~/build/index.js"
]
}
}
}Agent install prompt
Copy and paste into Cursor / Claude / other agents to install this MCP for you
Please read this MCP repository and install it into my current environment:
https://github.com/CoderGamester/mcp-unity
Known working client config (can write into mcp.json):
{
"mcpServers": {
"codergamester-mcp-unity": {
"command": "node",
"args": [
"ABSOLUTE/PATH/TO/mcp-unity/Server~/build/index.js"
]
}
}
}
Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.
Related servers
OmniRouteNever stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free),HyperFrames by HeyGenOfficial HyperFrames by HeyGen: the best AI video editor in chat. Captions, motiHyperFrames by HeyGenOfficial HyperFrames by HeyGen: the best AI video editor in chat. Captions, motiOmniRouteNever stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free),mcp-for-blenderCommunity plugin to control Blender 3D with any LLM of your choice. Not affiliatmastraMastra is the modern TypeScript framework for AI-powered applications and agents