MCP for Unity
Server MCP di Coplay (CoplayDev)
Control the Unity Editor from your assistant: scenes, GameObjects, C# scripts, assets, tests and builds.
Installa MCP for Unity
Gira sul tuo computer. Il tuo client lo avvia con questo comando:
Richiede uv (Python) sul tuo computer. I passaggi qui sotto mostrano dove va il comando in ogni client.
Condividi questo server
Apre questa pagina, con il comando di installazione e i passaggi di configurazione.
mcp.tc/i/unityDescrizione
Connects an AI assistant to a running Unity Editor. It exposes tools to create and edit GameObjects, components, prefabs, scenes, materials, shaders, textures, animation, physics, VFX and UI Toolkit. It can also write and validate C# scripts, read the console, run Unity Test Framework tests, manage packages and trigger player builds.
Runs locally with uvx over stdio (or optionally HTTP), and needs Python with uv. The Unity package must also be installed in your project so the Editor can connect to the server. No API key or sign-in is needed for local use. Maintained by Coplay and not affiliated with Unity Technologies.
Cosa puoi fare
- Create, modify and delete GameObjects and their components
- Load, save and query scenes and prefabs
- Create, edit and validate C# scripts
- Manage assets, materials, shaders and textures
- Run Unity Test Framework tests and read console output
- Trigger player builds and switch platforms
- Manage packages, physics, animation, VFX and UI Toolkit
- Fetch Unity documentation and inspect APIs via reflection
Tool 43
apply_text_editsApply text edits to script content.
batch_executeExecute multiple Unity operations in a single batch.
create_scriptCreate new C# scripts.
debug_request_contextDebug and inspect MCP request context
delete_scriptDelete C# scripts.
execute_custom_toolExecute custom Unity Editor tools registered by the project.
execute_codeExecute arbitrary C# code inside the Unity Editor with access to Unity APIs.
execute_menu_itemExecute Unity Editor menu items.
find_gameobjectsFind GameObjects in the scene by various criteria.
find_in_fileSearch for content within Unity project files.
get_shaGet SHA hash of script content
get_test_jobGet status of an async test job.
Mostra altri 31 tool
manage_animationAnimator control, AnimatorController CRUD and AnimationClip operations.
manage_assetCreate, modify, search and organize Unity assets.
manage_buildTrigger player builds, switch platforms, configure settings, batch builds.
manage_componentsAdd, remove and configure GameObject components.
manage_editorControl Editor state, play mode, preferences, undo/redo.
manage_gameobjectCreate, modify, transform and delete GameObjects.
manage_cameraManage Unity Camera and Cinemachine with presets, pipelines and blending.
manage_graphicsManage volumes, post-processing, light baking, rendering stats and URP features.
manage_materialCreate and modify Unity materials and shaders.
manage_packagesInstall, remove, embed packages and configure registries.
manage_physicsManage 3D and 2D physics settings, joints, queries, forces and simulation.
manage_prefabsCreate, instantiate, unpack and modify prefabs.
manage_probuilderCreate and edit ProBuilder meshes, shapes and geometry operations.
manage_profilerProfiler session control, counter reads, memory snapshots, Frame Debugger.
manage_sceneLoad, save, query hierarchy, multi-scene editing, templates and validation.
manage_scriptCreate, read and modify C# scripts.
manage_script_capabilitiesQuery script management capabilities
manage_scriptable_objectCreate and modify ScriptableObjects.
manage_shaderWork with Unity shaders.
manage_textureCreate and modify textures with patterns, gradients and noise.
manage_toolsManage which tool groups are visible in this session
manage_uiManage UI Toolkit elements: UXML, USS and UIDocument components.
manage_vfxManage visual effects, particle systems and trails.
read_consoleRead Unity Editor console output: logs, warnings, errors.
refresh_unityRefresh the Unity Editor asset database.
run_testsRun Unity Test Framework tests.
script_apply_editsApply code edits to C# scripts with validation.
set_active_instanceSet the active Unity Editor instance for multi-instance workflows.
unity_docsFetch Unity ScriptReference, Manual and package docs.
unity_reflectInspect Unity C# APIs via live reflection.
validate_scriptValidate C# script syntax and compilation.
Dal manifest del pacchetto, non da una connessione attiva (3 ott 2026).
Prompt di esempio
Create a cube at the origin and add a Rigidbody to it
Write a PlayerController C# script and attach it to the Player object
Run all play mode tests and show me the failures
Read the Unity console and tell me what errors are present
Configurazione
Ogni client avvia MCP for Unity sul tuo computer con lo stesso comando. Scegli il tuo; la pagina ricorda la tua scelta.
Claude Code
- Eseguilo in un terminale, nella cartella del tuo progetto:
claude mcp add --transport stdio unity -- uvx --from mcpforunityserver mcp-for-unity --transport stdio- Avvia Claude Code e digita
/mcp. unity dovrebbe risultare collegato.
Aggiungi --scope user per renderlo disponibile in tutti i progetti.
Claude Desktop
- Apri Settings → Developer → Edit Config. Si apre
claude_desktop_config.json. Aggiungi:
{
"mcpServers": {
"unity": {
"command": "uvx",
"args": [
"--from",
"mcpforunityserver",
"mcp-for-unity",
"--transport",
"stdio"
]
}
}
}- Salva il file e riavvia Claude Desktop.
Richiede uv (Python) sul tuo computer. Il file si trova in ~/Library/Application Support/Claude/ su macOS e in %APPDATA%\Claude\ su Windows.
Cursor
Aggiungi a Cursor (si apre in una nuova scheda)
Oppure aggiungilo a mano in ~/.cursor/mcp.json (tutti i progetti) o in .cursor/mcp.json (questo progetto):
{
"mcpServers": {
"unity": {
"command": "uvx",
"args": [
"--from",
"mcpforunityserver",
"mcp-for-unity",
"--transport",
"stdio"
]
}
}
}Richiede uv (Python) sul tuo computer.
VS Code
Installa in VS Code (si apre in una nuova scheda)
Oppure da un terminale:
code --add-mcp '{"name":"unity","type":"stdio","command":"uvx","args":["--from","mcpforunityserver","mcp-for-unity","--transport","stdio"]}'Oppure fai commit nel repository in .vscode/mcp.json:
{
"servers": {
"unity": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"mcpforunityserver",
"mcp-for-unity",
"--transport",
"stdio"
]
}
}
}Richiede uv (Python) sul tuo computer.
Devin Desktop
- Aggiungilo a
~/.config/devin/mcp_config.json(macOS e Linux) o a%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"unity": {
"command": "uvx",
"args": [
"--from",
"mcpforunityserver",
"mcp-for-unity",
"--transport",
"stdio"
]
}
}
}- Aggiorna l’elenco dei server MCP in Cascade.
Devin Desktop è il nuovo nome di Windsurf.
Codex
codex mcp add unity -- uvx --from mcpforunityserver mcp-for-unity --transport stdioOppure modifica direttamente ~/.codex/config.toml:
[mcp_servers.unity]
command = "uvx"
args = ["--from", "mcpforunityserver", "mcp-for-unity", "--transport", "stdio"]Richiede uv (Python) sul tuo computer.
Gemini CLI
gemini mcp add unity uvx -- --from mcpforunityserver mcp-for-unity --transport stdioCosì lo aggiungi al progetto corrente. Aggiungi -s user per usarlo ovunque.
Qualsiasi client
La maggior parte dei client che avviano server locali accetta questa forma:
{
"mcpServers": {
"unity": {
"command": "uvx",
"args": [
"--from",
"mcpforunityserver",
"mcp-for-unity",
"--transport",
"stdio"
]
}
}
}Zed mette i server sotto context_servers nelle sue impostazioni, con gli stessi campi command, args ed env.
Richiede uv (Python) sul tuo computer.
Domande frequenti
Posso incollare mcp.tc/i/unity nel mio client MCP?
No. MCP for Unity gira sul tuo computer, avviato dal tuo client, quindi non ha un indirizzo web a cui collegarsi. Il link rapido è la pagina da condividere; il comando di installazione è uvx --from mcpforunityserver mcp-for-unity --transport stdio.
MCP for Unity richiede una chiave API?
No. Non dichiara chiavi né variabili d’ambiente. Gira con i permessi del tuo account utente, quindi controlla cosa possono raggiungere i suoi tool.
MCP for Unity è un server remoto o locale?
Locale. Il tuo client lo avvia come processo sul tuo computer con uvx --from mcpforunityserver mcp-for-unity --transport stdio, che richiede uv (Python).
Cosa può fare MCP for Unity?
Ha 43 tool, tra cui apply_text_edits, batch_execute e create_script.
Quali client possono usarlo?
Qualsiasi client che avvia server locali: Claude Code, Claude Desktop, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed e altri. claude.ai e ChatGPT si collegano solo a server remoti.
Chi ha scritto questa pagina?
Il robot di mcp.tc ha letto i metadati pubblici di MCP for Unity (le pagine del suo pacchetto e del repository), e un modello di AI ne ha ricavato il testo. Una persona esamina tutto ciò che i controlli non riescono a confermare. Il testo può comunque contenere errori, quindi se ne trovi uno usa Segnala questa scheda su questa pagina.
Embed
Mostra MCP for Unity in un README o sul tuo sito. Ogni embed rimanda a questa pagina, usa il comando di installazione del server e non imposta cookie. Come funzionano gli embed
Badge per il README
[](https://mcp.tc/i/unity)<a href="https://mcp.tc/i/unity"><img src="https://mcp.tc/i/unity/badge.svg" alt="MCP for Unity on mcp.tc" height="20"></a>Segue la modalità chiara o scura di chi legge. Aggiungi ?theme=light o ?theme=dark per fissarla, oppure ?style=compact per mostrare il simbolo senza la scritta.
Scheda per il sito
<script src="https://mcp.tc/w/unity.js" async></script>La scheda compare dove si trova il tag. Aggiungi data-theme="dark" o data-size="compact" al tag per cambiarla. Il file contiene tutto ciò che serve, quindi non fa altre richieste e non imposta cookie.
iframe
<iframe src="https://mcp.tc/embed/unity" title="MCP for Unity on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>Usalo nelle pagine che non consentono script. Aggiungi ?theme=light o ?theme=dark all’indirizzo per fissare i colori.
JSON
La scheda come dati per le tue pagine e i tuoi strumenti: nome, descrizione breve, comando di installazione, tool e i link «Aggiungi a». Qualsiasi sito può leggerla (CORS aperto).
https://mcp.tc/i/unity.jsonmcp.tc non è affiliato a Coplay (CoplayDev). Questa pagina è stata costruita dai metadati pubblici di MCP for Unity (ultimo controllo: 3 ott 2026), e la descrizione l’ha scritta un modello di AI, quindi può contenere errori. Nomi e marchi appartengono ai rispettivi titolari. Qualcosa non va? Segnala questa scheda.