The mcp-unity Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Model Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Code/Dev Tools domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-unity": {
"command": "npx",
"args": [
"-y",
"CoderGamester/mcp-unity"
]
}
}
}