Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 12, 2026·2 min de lecture

Unity MCP — Control Unity Editor from Agents

Unity MCP bridges MCP clients to your Unity Editor so assistants can manage scenes, assets, scripts, and builds via tools instead of manual clicking.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Stage only · 17/100Stage only
Surface agent
Tout agent MCP/CLI
Type
Mcp Config
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande CLI universelle
npx tokrepo install 019d30ca-e0c5-4eb2-a0f6-1d3ff9711351
Introduction

Unity MCP bridges MCP clients to your Unity Editor so assistants can manage scenes, assets, scripts, and builds via tools instead of manual clicking.

  • Best for: Unity teams who want LLMs to automate editor workflows (scene edits, package management, build pipelines)
  • Works with: Unity 2021.3+ editor, Python 3.10+, MCP clients (Claude Desktop/Code, Cursor, VS Code, etc.)
  • Setup time: 20 minutes

Practical Notes

  • Release notes in README show versioned tool growth (for example v9.6.1 adds build tooling and multi-scene ops)
  • Performance tip: README claims batch_execute can be 10–100× faster than individual calls

Treat Unity as an API, Not a GUI

The win is not “an LLM can click buttons” — it’s that your editor workflow becomes a repeatable tool contract:

  • Use batch_execute for multi-step operations so you get one atomic-ish plan and fewer round-trips.
  • Route requests to the correct Unity instance when you have multiple editors open.
  • Keep transports local-first (loopback) unless you truly need LAN binding.

Once connected, you can standardize tasks:

  • “Create a new scene from template, add a prefab, set lighting defaults”
  • “Scan packages, add a scoped registry, then validate compile”
  • “Build a player with a known profile and export artifacts”

That makes AI-assisted Unity work auditable: every change is a tool call you can reproduce.

FAQ

Q: Do I need Python? A: Yes. The README lists Python 3.10+ and uv as requirements for the bridge/server pieces.

Q: Which transport should I start with? A: HTTP localhost is the default and works with many clients; stdio is also available.

Q: How do I speed up multi-step edits? A: Use batch_execute (README claims 10–100× faster).

🙏

Source et remerciements

Source: https://github.com/CoplayDev/unity-mcp > License: MIT > GitHub stars: 9,486 · forks: 1,074

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires