MCP For Unity
Acts as a bridge to the Unity Editor, enabling AI clients to interact with and control Unity projects programmatically.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP For Unitycreate a red sphere at position (0, 2, 0)"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP For Unity
This project implements a Model Context Protocol (MCP) server that acts as a bridge to the Unity Editor.
Structure
Server/: Contains the Python MCP server that AI clients connect to.
Scripts/: Contains the Unity C# scripts.
package.json: Unity Package definition file.
Related MCP server: Agent Bridge for Unity
Installation
1. Unity Setup (via Package Manager)
You can install the Unity integration directly from GitHub using the Unity Package Manager.
Open Unity.
Go to Window > Package Manager.
Click the + button in the top-left corner.
Select Add package from git URL....
Enter the following URL:
https://github.com/yunuscan/MCPForUnity.gitClick Add.
2. Python Server Setup (via Unity Editor)
In Unity, go to UnityMCP > Dashboard.
Click Install 'uv' and Requirements.
Click Start Python MCP Server (uv run) to test the connection.
3. Client Configuration (VS Code / Copilot / Claude)
To use this with your AI assistant:
Open the UnityMCP > Dashboard window.
Click Configure for VS Code (Copilot).
This will generate a
.vscode/mcp.jsonfile in your project root.It will also create a
tasks.jsonto easily run the server.
Alternatively, copy the JSON config manually for Claude Desktop or Cursor.
Usage
Ensure the Unity project is open.
Connect your AI client using the generated configuration.
Ask your AI to "Create a cube" or "Check console logs".
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceMCP Unity Server to integrate Unity Editor game engine with different AI Model clients (e.g. Claude Desktop, Windsurf, Cursor)Last updated5191,851MIT
- Alicense-qualityCmaintenanceEnables AI agents to control the Unity Editor through MCP, allowing scene building, runtime scripting, visual QA, and more.Last updated4Apache 2.0
- Flicense-qualityDmaintenanceA native C# MCP server that gives AI agents real-time control and visual analysis of the Unity Editor, enabling dynamic code execution, scene manipulation, and debugging without external dependencies.Last updated6
- Alicense-qualityBmaintenanceUnity MCP Server enables LLM-based clients to automate the Unity Editor, including scene manipulation, UI testing, input simulation, and code editing.Last updated34MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
MCP server for AI dialogue using various LLM models via AceDataCloud
Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yunuscan/MCPForUnity'
If you have feedback or need assistance with the MCP directory API, please join our Discord server