Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Antigravity Unity

БесплатноНе проверен

AI Control for Unity

GitHubEmbed

Описание

AI Control for Unity

README

Control Unity with AI.

This project implements a Model Context Protocol (MCP) server that acts as a bridge between AI agents (like Claude Desktop, Cursor, or custom LLM clients) and the Unity Engine.

It allows an AI to see, create, modify, and control everything in your Unity scene in real-time.

🌟 Features

  • God Mode Control: Create primitives, instantiate prefabs, set parents, rotate, scale, and move objects.
  • Editor & Play Mode: Works in both! Modify the scene while the game is running or while editing level design.
  • Full Reflection: Inspect components, read fields, and modify values (int, float, bool, string, Vector3) dynamically.
  • Logic Execution: Invoke any public method on any component.
  • Tag Management: Create and assign tags on the fly.
  • Cleanup Tools: Delete objects to reset scenes.

🛠️ Installation

1. Unity Setup (/Assets)

  1. Copy the Assets/Scripts/MCP folder into your Unity project.
  2. Add the MCPBridge script to any GameObject in your scene (or create an empty one named "MCPBridge").
  3. The server runs on http://localhost:8080.

2. Running the Server

Option A: The Easy Way (Unity Editor)

  1. In Unity, click Tools > Unity MCP Server in the top menu.
  2. Click the green Start Server button.
  3. A terminal window will open showing the server logs.

Option B: The Manual Way (Terminal)

  1. Navigate to the mcp-server folder.
  2. Run npm install (first time only).
  3. Run npm start.

3. Client Configuration

Add the server to your MCP Client config (e.g., claude_desktop_config.json). Important: You need to point to the built file.

{
  "mcpServers": {
    "unity": {
      "command": "node",
      "args": ["E:/GAME UNITY/MCP SERVER/mcp-server/dist/index.js"] 
    }
  }
}

(Note: Replace the path with the actual absolute path to your project)

📚 Available Tools

Tool Description
create_primitive Spawn basic shapes (Cube, Sphere, etc.)
instantiate_prefab Spawn complex assets from Resources
set_object_transform Move objects (Position)
set_object_rotation Rotate objects (Euler Angles)
set_object_scale Resize objects
set_parent Organize hierarchy
inspect_component Read public variables of a script
edit_component Change variable values (speed, health, etc.)
invoke_method Call functions (Jump(), Attack(), Reset())
add_tag / set_object_tag Manage tags
delete_object Remove objects from the scene

📝 Example Prompts

  • "Create a red cube and place it at (0, 5, 0)."
  • "Build a tower of 10 spheres stacked on top of each other."
  • "Inspect the PlayerController on the 'Hero' object and set speed to 20."
  • "Make the 'Main Camera' look at the 'Hero'."

⚠️ Requirements

  • Unity 2020.3 or later (tested on 6000.0.26f1).
  • Node.js 16+.

from github.com/azide1337/Antigravity-unity-mcp-server

Установка Antigravity Unity

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/azide1337/Antigravity-unity-mcp-server

FAQ

Antigravity Unity MCP бесплатный?

Да, Antigravity Unity MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Antigravity Unity?

Нет, Antigravity Unity работает без API-ключей и переменных окружения.

Antigravity Unity — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Antigravity Unity в Claude Desktop, Claude Code или Cursor?

Открой Antigravity Unity на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Fetch

Web content fetching and conversion for efficient LLM usage.

автор: Community

Roblox Studio

Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce

paralovавтор: paralov

Opencode Omniroute Plugin

OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc

GitHub Actionsавтор: GitHub Actions

AWS KB Retrieval

Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.

modelcontextprotocolавтор: modelcontextprotocol

Spring AI MCP Server

Provides auto-configuration for setting up an MCP server in Spring Boot applications.

автор: Community

llm-analysis-assistant

A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also

xuzexin-hzавтор: xuzexin-hz

MCP-Agent

A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)

lastmile-aiавтор: lastmile-ai

Spring AI MCP Client

Provides auto-configuration for MCP client functionality in Spring Boot applications.

автор: Community

mcp.natoma.ai

A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)

автор: Community

MCPHub

Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.

автор: Community

Compare Antigravity Unity with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai