Loading...

Unity MCP enables AI-powered game development by connecting LLMs to Unity for runtime AI, code assistance, debugging, and workflow automation.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Unity MCP enables AI-powered game development by connecting LLMs to Unity for runtime AI, code assistance, debugging, and workflow automation.
Unity MCP provides powerful tools for AI-assisted game development, but its capabilities also introduce significant risks. It is relatively safe when used for read-only operations and code generation in a controlled environment. However, the ability to modify and delete assets, execute arbitrary code, and access internal application state makes it risky if not properly secured and monitored.
Performance depends on the complexity of the AI tasks and the efficiency of the underlying LLM. Network latency can be a bottleneck for remote LLM providers.
Cost depends on the usage of LLM providers, which typically charge based on token consumption. Consider optimizing prompts and caching responses to minimize costs.
{
"mcpServers": {
"ai-game-developer": {
"url": "http://localhost:8080"
}
}
}MCP_PLUGIN_PORTMCP_PLUGIN_CLIENT_TRANSPORTcopyCopies an asset from one path to another.
Can overwrite existing assets if not used carefully.
create-folderCreates a new folder in the project.
Can create unnecessary folders, cluttering the project.
deleteDeletes assets from the project.
Permanent data loss if used incorrectly.
findSearches the asset database.
Read-only operation.
get-dataGets asset data, including serializable fields and properties.
Read-only operation.
modifyModifies asset files in the project.
Can corrupt asset data if not used carefully.
moveMoves assets within the project.
Can break references if not used carefully.
refreshRefreshes the AssetDatabase.
Read-only operation.
createCreates a new material asset.
Non-destructive write operation.
list-allLists all available shaders in the project.
Read-only operation.
instantiateInstantiates a prefab in the current scene.
Adds objects to the scene.
openOpens a prefab for editing.
Does not modify the prefab itself.
closeCloses the currently opened prefab.
Does not modify the prefab itself.
saveSaves a prefab in editing mode.
Modifies the prefab asset.
destroyDestroys a GameObject and all its children.
Permanent data loss.
duplicateDuplicates a GameObject.
Adds new objects to the scene.
set-parentSets the parent of a GameObject.
Can alter the scene hierarchy.
addAdds a component to a GameObject.
Modifies the GameObject's properties.
getGets information about a component on a GameObject.
Read-only operation.
listLists available components.
Read-only operation.
createCreates a new scene.
Creates a new asset.
get-dataRetrieves the list of root GameObjects in a scene.
Read-only operation.
list-openedLists currently opened scenes.
Read-only operation.
openOpens a scene.
Does not modify the scene file.
saveSaves the opened scene.
Modifies the scene file.
set-activeSets the active scene.
Does not modify any assets.
unloadUnloads a scene.
Does not modify any assets.
deleteDeletes script files.
Permanent data loss.
executeCompiles and executes C# code dynamically.
Arbitrary code execution.
readReads the content of a script file.
Read-only operation.
update-or-createUpdates or creates a script file.
Can overwrite or create malicious scripts.
get-logsRetrieves Unity Editor logs.
Read-only operation.
get-stateReturns information about the Unity Editor application state.
Read-only operation.
set-stateControls the Unity Editor application state.
Can disrupt the editor's operation.
getGets information about the current selection in the Unity Editor.
Read-only operation.
setSets the current selection in the Unity Editor.
Does not modify any assets.
method-findFinds a method using C# reflection.
Can expose private methods.
method-callCalls any C# method with input parameters.
Can execute arbitrary code.
runExecutes Unity tests.
Does not modify any assets.
addInstalls a package from the Unity Package Manager.
Adds new code to the project.
removeRemoves a package from the Unity project.
Removes code from the project.
listLists all installed packages.
Read-only operation.
searchSearches for packages.
Read-only operation.
API Key
hybrid
Unity MCP provides powerful tools for AI-assisted game development, but its capabilities also introduce significant risks. It is relatively safe when used for read-only operations and code generation in a controlled environment. However, the ability to modify and delete assets, execute arbitrary code, and access internal application state makes it risky if not properly secured and monitored.
Autonomy is highly configurable but defaults to allowing access to destructive tools. Sandboxing and rollback are not built-in and must be implemented externally.
Production Tip
Carefully audit and restrict access to destructive MCP tools in production environments.
Anthropic, OpenAI, DeepSeek, Microsoft, and any other provider accessible via HTTP.
Yes, Unity MCP supports runtime AI, allowing for in-game debugging and player-AI interaction.
You can create custom MCP Tools in your project code by extending the MCP Tool interface.
The Unity MCP plugin is free, but you may incur costs from using LLM providers.
Yes, Unity MCP integrates with standard version control systems like Git.
Restrict access to destructive tools, implement input validation, and monitor logs for suspicious activity.
Yes, Unity MCP provides tools for executing Unity tests and analyzing the results.