unitymcp

Unity Editor integration with Model Context Protocol (MCP) enabling AI assistants like Claude to interact with Unity projects. Features a TypeScript MCP server and C# Unity plugin with extensible command handler architecture, TCP/IP communication, and dynamic plugin discovery.

20 articles 125 View on GitHub ↗
20 articles
How to Configure Advanced Settings for Unity MCP Behavior: Complete Guide

Configure advanced Unity MCP behavior settings. Learn to control host, port, auto-start, and handlers programmatically or via Preferences using McpSettings.

how-to-guide
Mar 4, 2026
Performance Optimization Tips for Unity MCP Handlers: 7 Proven Techniques

Boost Unity MCP handler performance with 7 proven techniques. Cache metadata, paginate data, and skip system assemblies for responsive, high-frequency editor operations.

performance
Mar 4, 2026
How to Troubleshoot Connection Problems with Unity MCP: Complete Diagnostics Guide

Troubleshoot Unity MCP connection problems by verifying TCP ports, enabling UDP discovery, checking firewalls, and inspecting Unity console logs for quick resolution.

how-to-guide
Mar 4, 2026
Security Considerations When Running Untrusted Handlers in Unity MCP: Architecture and Mitigations

Learn Unity MCP security risks from untrusted handlers. Discover architecture vulnerabilities and mitigation strategies to prevent code execution and network threats.

security
Mar 4, 2026
How to Manage Connection and Reconnection in Unity MCP: A Complete Guide

Master Unity MCP connection and reconnection with automatic retries, UDP discovery, and lifecycle management. Explore our complete guide for robust networking.

how-to-guide
Mar 4, 2026
Unity MCP Configuration Options in Unity Preferences: Complete Settings Guide

Master Unity MCP configuration options in Unity Preferences. Learn to set server host port, UDP discovery, auto start, logging, and command handlers for seamless integration.

complete-settings-guide
Mar 4, 2026
How to Create Custom Resource Handlers in Unity MCP: A Complete Implementation Guide

Learn to create custom resource handlers in Unity MCP by implementing IMcpResourceHandler. Our guide details automatic registration for seamless integration.

how-to-guide
Mar 4, 2026
How to Create Custom Command Handlers in Unity MCP: A Complete Guide

Learn to create custom command handlers in Unity MCP using TypeScript and C#. Implement advanced command logic for your Unity game server and editor with this complete guide.

how-to-guide
Mar 4, 2026
How Resources Are Handled in Unity MCP: A Complete Technical Guide

Discover how Unity MCP handles resources with its modular pipeline. Learn about handler discovery, registration, and data transformation for efficient Unity connections

deep-dive
Mar 4, 2026
How Commands Are Handled in Unity MCP: A Complete Technical Guide

Explore the seven-stage pipeline for Unity MCP command handling. Learn about dynamic discovery, prefix routing, and TCP socket communication with the Unity Editor.

how-to-guide
Mar 4, 2026
UnityConnection Component in TypeScript MCP: Complete Networking Layer Guide

Master the UnityConnection component in TypeScript MCP. This TCP server guide details client registration, request/response handling, and UDP auto-discovery for seamless Unity and TypeScript communication.

deep-dive
Mar 4, 2026
What Is the McpServer Component in Unity C#? A Complete Technical Guide

Discover the McpServer component in Unity C#. Learn how this TCP runtime bridge facilitates Editor and MCP client communication for command dispatch and resource fetching.

deep-dive
Mar 4, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →