UnityNaturalMCP

v1.0.0Developer Toolsstable

UnityNaturalMCP is an MCP server implementation for Unity that aims for a 'natural' user experience.

unitynaturalmcpmcpai-integration
Share:
165
Stars
0
Downloads
0
Weekly
0/5

What is UnityNaturalMCP?

UnityNaturalMCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to unitynaturalmcp is an mcp server implementation for unity that aims for a 'natural' user experience.

UnityNaturalMCP is an MCP server implementation for Unity that aims for a 'natural' user experience.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • UnityNaturalMCP is an MCP server implementation for Unity th

Use Cases

Use MCP with Unity game engine for natural user interactions.
Integrate natural language control into Unity projects.
notargs

Maintainer

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

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx unitynaturalmcp

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 UnityNaturalMCP

UnityNaturalMCP is an MCP server implementation that runs inside the Unity Editor and exposes built-in tools for refreshing assets, reading console logs, clearing logs, and running Edit Mode or Play Mode tests via Unity Test Runner. It communicates over HTTP on localhost port 56780 so that any MCP-capable AI assistant—Claude Code, Cursor, GitHub Copilot, or Gemini CLI—can query and control the Unity Editor in real time. The project prioritizes a 'natural' developer experience by letting you install the server directly from the Unity Package Manager using a Git URL.

Prerequisites

  • Unity Editor 2022.3 LTS or newer installed
  • Git installed (required by Unity Package Manager for Git URL installs)
  • An MCP-capable client: Claude Code, Cursor, VS Code with GitHub Copilot, or Gemini CLI
  • Node.js (only if using Claude Code or npx-based client integration)
  • No API keys required — the server runs entirely on localhost
1

Add the package via Unity Package Manager

Open your Unity project, go to Window > Package Manager, click the '+' button, select 'Add package from git URL', and enter the UnityNaturalMCP Git URL.

https://github.com/notargs/UnityNaturalMCP.git?path=/UnityNaturalMCPServer
2

Or add the dependency directly to manifest.json

Alternatively, open Packages/manifest.json in your project and add the dependency entry manually.

{
  "dependencies": {
    "jp.notargs.unity-natural-mcp": "https://github.com/notargs/UnityNaturalMCP.git?path=/UnityNaturalMCPServer"
  }
}
3

Start the MCP server from the Unity Editor

After package installation, the MCP server starts automatically when you open the Unity Editor. It listens on HTTP at http://localhost:56780/mcp.

4

Connect Claude Code to the running server

Register the local HTTP transport with Claude Code using the mcp add command. This adds the server to your project's MCP configuration.

claude mcp add -s project --transport http unity-natural-mcp http://localhost:56780/mcp
5

Connect Cursor to the server

Add a Cursor MCP config entry pointing at localhost. Cursor reads MCP_SERVER_IP and MCP_SERVER_PORT from the environment or your MCP settings file.

{
  "mcpServers": {
    "unity-natural-mcp": {
      "url": "http://localhost:56780/mcp"
    }
  }
}

UnityNaturalMCP Examples

Client configuration (Claude Code project)

Register UnityNaturalMCP as an HTTP transport server within your Claude Code project scope.

{
  "mcpServers": {
    "unity-natural-mcp": {
      "type": "http",
      "url": "http://localhost:56780/mcp"
    }
  }
}

Prompts to try

These prompts leverage the five built-in MCP tools exposed by UnityNaturalMCP.

- "Refresh all assets in the Unity Editor"
- "Show me the current Unity console logs"
- "Clear the Unity console"
- "Run all Edit Mode tests and report results"
- "Run Play Mode tests for the GameplayTests assembly"

Troubleshooting UnityNaturalMCP

Claude Code or Cursor cannot connect to the MCP server

Confirm the Unity Editor is open and the package is installed correctly. The HTTP server only runs while the Editor is active. Check that nothing else is using port 56780.

Package Manager fails to install from the Git URL

Ensure Git is installed and on your PATH. Unity Package Manager uses Git directly for URL installs. Run 'git --version' in a terminal to verify.

Custom tools are not appearing in the AI assistant

Custom tools require implementing a class with [McpServerToolType] and a builder inheriting McpBuilderScriptableObject, then instantiating the builder as a ScriptableObject in the Editor. Restart the Editor after creating a new builder asset.

Frequently Asked Questions about UnityNaturalMCP

What is UnityNaturalMCP?

UnityNaturalMCP is a Model Context Protocol (MCP) server that unitynaturalmcp is an mcp server implementation for unity that aims for a 'natural' user experience. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install UnityNaturalMCP?

Follow the installation instructions on the UnityNaturalMCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with UnityNaturalMCP?

UnityNaturalMCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is UnityNaturalMCP free to use?

Yes, UnityNaturalMCP 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": { "unitynaturalmcp": { "command": "npx", "args": ["-y", "unitynaturalmcp"] } } }

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

Read the full setup guide →

Ready to use UnityNaturalMCP?

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