MCP for Unity
Developmentstdio
MCP server that bridges AI assistants with the Unity Editor. Gives an LLM tools to create and modify GameObjects, edit scripts, manage assets and scenes, read the console, and run tests, enabling AI-driven game development workflows directly inside Unity. Works with clients such as Claude, Cursor, VS Code, and other MCP-compatible tools.
Connect
Add this configuration to .claude/mcp.json
{
"mcpServers": {
"unity": {
"command": "uvx",
"args": [
"unity-mcp-server"
]
}
}
}Tools (3)
manage_gameobject
Create, find, modify, or delete GameObjects and their components in the active scene.
{
"type": "object",
"required": [
"action"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the GameObject to act on"
},
"action": {
"type": "string",
"description": "Operation to perform (create, modify, delete, find)"
}
}
}manage_script
Create or edit C# scripts in the Unity project.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Path to the script file"
},
"contents": {
"type": "string",
"description": "Script contents to write"
}
}
}read_console
Read log, warning, and error messages from the Unity console.
{
"type": "object",
"properties": {
"types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Message types to include (log, warning, error)"
}
}
}Resources
This server does not expose any resources.
Prompts
This server does not expose any prompts.
Server Information
- Author
- Coplay (@CoplayDev)
- Repository
- https://github.com/CoplayDev/unity-mcp
- Stars
- 0
- Last Updated
- July 12, 2026