Unity AI Tools Template
Unity MCP Tool template project
What is Unity AI Tools Template?
Unity AI Tools Template is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to unity mcp tool template project
Unity MCP Tool template project
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Unity MCP Tool template project
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx unity-ai-tools-templateConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Unity AI Tools Template
The Unity AI Tools Template is a C# project template for creating custom MCP tool servers that integrate with the Unity game engine editor and runtime. It provides the scaffolding to define editor tools (which have access to Unity Editor APIs) and runtime tools (available in game builds), making it straightforward to expose Unity functionality to AI assistants like Claude, Cursor, or any MCP-compatible client. Game developers and technical artists use this template as a starting point for building AI-assisted Unity workflows, such as scene manipulation, asset management, or gameplay debugging.
Prerequisites
- Unity Editor installed (check the template's Unity version requirements in the repository)
- OpenUPM CLI installed for package management (npm install -g openupm-cli)
- PowerShell (Windows) or Bash (Mac/Linux) for initialization scripts
- Git to clone the template repository
- An MCP client such as Claude Desktop or Cursor
Clone the template repository
Clone the Unity AI Tools Template repository to use as the basis for your custom MCP server.
git clone https://github.com/IvanMurzak/Unity-AI-Tools-Template.git
cd Unity-AI-Tools-TemplateInitialize the package
Run the init script to set up the package with your own package ID and name. This customizes the template for your project.
# Windows PowerShell
.\commands\init.ps1 -PackageId "com.yourcompany.aitools" -PackageName "My AI Tools"
# Mac/Linux
./commands/init.sh --package-id "com.yourcompany.aitools" --package-name "My AI Tools"Add the package to your Unity project
Install the package into your Unity project using OpenUPM or by copying it into your project's Packages folder.
# Navigate to your Unity project root first
cd /path/to/your/unity/project
openupm add com.yourcompany.aitoolsDefine your MCP tools
Create tool classes using the McpPluginToolType and McpPluginTool attributes. Editor tools use Unity Editor APIs; runtime tools work in builds. Add descriptions that the LLM will read to understand when to call each tool.
[McpPluginToolType]
public static class MyEditorTool
{
[McpPluginTool("my-tool-id", Title = "My Tool")]
[Description("Description for the AI to understand this tool")]
public static Task<string> DoSomething(
[Description("Parameter description")]
string parameter)
{
// Your Unity Editor logic here
return Task.FromResult("result");
}
}Configure your MCP client
After building the MCP server from Unity, configure your AI client to connect to it. The server typically runs as a local process or over a named pipe.
Unity AI Tools Template Examples
Client configuration
Example Claude Desktop configuration to connect to a built Unity MCP server running locally.
{
"mcpServers": {
"unity-ai-tools": {
"command": "dotnet",
"args": ["/path/to/your/UnityMcpServer.dll"]
}
}
}Prompts to try
Example prompts for working with a Unity project through a custom AI tools MCP server.
- "List all GameObjects in the current scene"
- "Create a new cube at position (0, 1, 0) in the scene"
- "What scripts are attached to the Player GameObject?"
- "Find all materials in the project that use the Standard shader"Troubleshooting Unity AI Tools Template
Package not found after OpenUPM install
Ensure OpenUPM CLI is installed globally ('npm install -g openupm-cli') and that you are running the install command from your Unity project root directory where the Packages/manifest.json file exists.
McpPluginToolType attribute not recognized in Unity
Verify the Unity AI Tools base package is properly installed as a dependency. Check your Packages/manifest.json for the dependency entry and refresh packages in the Unity Package Manager window.
MCP client cannot connect to the Unity server
Ensure the Unity Editor is open and the MCP server is running (look for the server status in the Unity editor toolbar or a dedicated window). Check that the command path in your MCP client config points to the correct built server executable.
Frequently Asked Questions about Unity AI Tools Template
What is Unity AI Tools Template?
Unity AI Tools Template is a Model Context Protocol (MCP) server that unity mcp tool template project It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Unity AI Tools Template?
Follow the installation instructions on the Unity AI Tools Template GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Unity AI Tools Template?
Unity AI Tools Template works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Unity AI Tools Template free to use?
Yes, Unity AI Tools Template is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Unity AI Tools Template Alternatives — Similar Developer Tools Servers
Looking for alternatives to Unity AI Tools Template? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Unity AI Tools Template in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Unity AI Tools Template?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.