Unity AI Tools Template

v1.0.0Developer Toolsstable

Unity MCP Tool template project

aigamedevmcpmodel-context-protocolunity
Share:
18
Stars
0
Downloads
0
Weekly
0/5

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

Unity game development MCP template
IvanMurzak

Maintainer

LicenseMIT
Languagec#
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx unity-ai-tools-template

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-Template
2

Initialize 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"
3

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.aitools
4

Define 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");
    }
}
5

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.

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.

Quick Config Preview

{ "mcpServers": { "unity-ai-tools-template": { "command": "npx", "args": ["-y", "unity-ai-tools-template"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides