unity-mcp-connector

Orchestrates AI agent communication with a running Unity Editor via MCP tools.

71|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nlelouche/Unity-SkillForge --skill unity-mcp-connector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-mcp-connector
Source: https://github.com/nlelouche/Unity-SkillForge/tree/main/.agent/skills/07-tools-pipeline/unity-mcp-connector
Command: npx skills add https://github.com/nlelouche/Unity-SkillForge --skill unity-mcp-connector

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill acts as a crucial bridge, enabling AI agents to interact with and understand the state of a live Unity Editor instance, overcoming the limitations of static file-based analysis.

Core Features & Use Cases

  • Real-time Scene Inspection: Query the Unity Editor for selected GameObjects, hierarchy information, and component details.
  • Editor Control: Trigger basic Editor actions like Play, Pause, or Refresh.
  • Connection Validation: Ensure the Unity Editor is running and accessible before executing commands.
  • Use Case: An AI agent needs to add a specific script to a "Player" GameObject. This Skill allows the AI to find the "Player" GameObject in the currently open Unity scene and confirm its existence before proceeding.

Quick Start

Use the unity-mcp-connector skill to check if the Unity Editor is connected.

Frequently Asked Questions about unity-mcp-connector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect an AI agent to a running Unity Editor instance?

To connect an AI agent to a running Unity Editor instance, use this Skill to orchestrate communication via the Model Context Protocol. It validates the connection and enables the agent to interact with the live editor environment.

How do I inspect Unity scene hierarchy and GameObjects using an AI agent?

You can inspect Unity scene hierarchy and GameObjects using an AI agent by leveraging MCP tools provided by this Skill. It facilitates dynamic scene inspection, allowing the agent to query selected objects and component details.

Can I use MCP to control editor state and trigger actions in Unity?

Yes, you can use MCP to control editor state and trigger actions in Unity. This Skill provides tools to execute basic Editor actions like Play, Pause, or Refresh directly from your AI agent.

Does Unity MCP integration work with my current Unity version?

Unity MCP integration requires Unity Editor version 6.0 or higher. It utilizes MCP tools for editor API interaction, ensuring your environment meets this minimum version requirement before establishing a connection.

What is the best way to manage Unity components dynamically through an AI agent?

The best way to manage Unity components dynamically through an AI agent is by using this MCP connector. It allows the AI to find specific GameObjects in the scene, confirm their existence, and handle component management tasks.

Why does my AI agent fail to query the Unity Editor state?

If your AI agent fails to query the Unity Editor state, it may be due to a missing connection. This Skill includes connection validation to ensure the Unity Editor is actively running and accessible before executing inspection commands.