Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

This server enables AI assistants to directly control the Unity Editor via MCP, supporting scene manipulation, script editing, level generation, monetization management, build pipelines, and more—all with zero external dependencies.

README.md

Game Studio MCP

Advanced Unity ↔ AI Bridge — embedded MCP server with zero external dependencies

![Unity 2021.3+](https://unity.com) ![MCP Protocol 2024-11-05](https://spec.modelcontextprotocol.io) ![License: MIT](LICENSE)

Connect Claude Desktop, Windsurf, Cursor, VS Code, and GitHub Copilot CLI directly to your Unity Editor — no Python, no Node.js, no external servers.

---

Why Game Studio MCP vs unity-mcp?

Architecture & Setup

| Feature | unity-mcp | game-studio-mcp | |---|---|---| | Dependencies | Python 3.10 + uv | Zero — pure C# | | Windows support | Needs PATH/uv setup | ✅ Works natively | | Port | 8080 (conflicts) | 8090 | | IDE one-click setup | Dropdown in Unity | ✅ Per-IDE button + game mcp configure | | Multi-instance Unity | set_active_instance | ✅ set_active_instance (same) |

Tool Coverage

| Category | unity-mcp (42 tools) | game-studio-mcp (47 tools) | |---|---|---| | Scene & GameObjects | ✅ | ✅ | | Scripts | ✅ | ✅ + apply_text_edits | | Materials | ✅ manage_material | ✅ + hex color, auto-apply | | Prefabs | ✅ manage_prefabs | ✅ + list, get_info | | UI | ✅ manage_ui | ✅ + canvas/button/text/image/panel | | Animation | ✅ manage_animation | ✅ + create clip/controller | | Camera | ✅ manage_camera | ✅ | | Textures | ✅ manage_texture | ✅ + compression, reimport | | ScriptableObjects | ✅ | ✅ | | Build | ✅ | ✅ + set_bundle_id | | Tests | ✅ | ✅ + create_test, get_test_files | | Editor control | ✅ manage_editor | ✅ + get_editor_state | | Components | ✅ manage_components | ✅ | | File search | ✅ find_in_file | ✅ | | Asset ops | ✅ manage_asset | ✅ | | Batch execution | ✅ batch_execute | ✅ | | Menu items | ✅ execute_menu_item | ✅ | | Refresh | ✅ refresh_unity | ✅ | | Unity Docs | ✅ unity_docs | ✅ | | Game-studio tools | ❌ | ✅ Ads, IAP, GDPR | | Level generation | ❌ | ✅ Procedural + AI-driven | | Sprint tracking | ❌ | ✅ Reads SPRINT_PLAN.md | | Compliance audit | ❌ | ✅ run_audit, check_gdpr_consent | | CLI pipeline | ❌ | ✅ game mcp configure |

---

Install

Option 1 — Package Manager (Recommended)

In Unity: Window → Package Manager → + → Add package from git URL

https://github.com/pkurri-gamezone/game-studio-mcp.git

Option 2 — OpenUPM (coming soon)

openupm add com.pkurri.gamestudiomcp

Option 3 — via CLI

game mcp install

---

Quick Start

  1. Install the package (above)
  2. In Unity: Window → Game Studio MCP
  3. Click ▶ Start
  4. Click Copy config for [your IDE]
  5. Paste into your IDE's MCP settings
  6. Restart your IDE — look for 🟢

---

Configure IDEs

Windsurf / Cursor / Claude Desktop

{
  "mcpServers": {
    "gameStudioMCP": {
      "url": "http://localhost:8090/mcp"
    }
  }
}

Config file locations:

  • Windsurf: ~/.codeium/windsurf/mcp_config.json
  • Cursor: ~/.cursor/mcp.json
  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json

VS Code

{
  "servers": {
    "gameStudioMCP": {
      "type": "http",
      "url": "http://localhost:8090/mcp"
    }
  }
}

One-command setup via CLI

game mcp configure --ide all         # all IDEs
game mcp configure --ide windsurf    # Windsurf only
game mcp configure --ide cursor      # Cursor only
game mcp configure --ide claude-desktop
game mcp configure --ide vscode

---

Available Tools (30)

🎮 Scene Tools

| Tool | What it does | |---|---| | create_gameobject | Create a new GameObject or primitive | | delete_gameobject | Delete a GameObject by name | | find_gameobject | Inspect a GameObject's components + position | | manage_scene | Save scene, new scene, get full hierarchy |

📝 Script Tools

| Tool | What it does | |---|---| | create_script | Write a new C# script to disk + auto-import | | edit_script | Replace a block of code in an existing script | | read_script | Read a C# script's contents | | validate_script | Check for compile errors | | read_console | Read recent Unity console output |

🗺 Level Tools

| Tool | What it does | |---|---| | list_levels | List all level JSON files | | load_level | Request level load by index | | generate_level | Generate N levels (easy/medium/hard) as JSON | | get_level_data | Read level JSON content |

💰 Monetization Tools

| Tool | What it does | |---|---| | toggle_test_ads | Hot-swap AdManager between test / production AdMob IDs | | get_iap_status | Check IAP purchase state from PlayerPrefs | | check_gdpr_consent | Read or reset GDPR consent state | | get_monetization_summary | Full ads + IAP + GDPR + Remote Config status |

🚀 Pipeline Tools

| Tool | What it does | |---|---| | get_sprint_status | Read SPRINT_PLAN.md — current day + tasks | | get_project_info | Project name, version, asset count, platform | | run_audit | Read latest compliance audit report | | get_game_metrics | Memory, scene stats, GameObject count |

🔨 Build Tools

| Tool | What it does | |---|---| | trigger_build | Trigger a Unity build (android/ios/webgl/windows) | | get_build_settings | Current platform, bundle IDs, scenes | | set_bundle_id | Update com.studio.gamename | | manage_packages | List or install UPM packages |

🧪 Test Tools

| Tool | What it does | |---|---| | run_tests | Run Unity Test Runner (EditMode or PlayMode) | | get_test_files | List all *Tests.cs files | | create_test | Generate a new test file with boilerplate |

---

Resources

Read static project data with resources/read:

| URI | Description | |---|---| | unity://project/info | Project name, version, asset count | | unity://scene/hierarchy | Full scene hierarchy as JSON | | unity://sprint/status | SPRINT_PLAN.md summary | | unity://console/log | Recent console log |

---

Example Prompts

Create a red cube at (0, 1, 0) called "Player"
Read the GameManager.cs script and add a HighScore property
Generate 10 medium difficulty levels and save them
Toggle ads to test mode and show me the GDPR consent status
What's the current sprint status? What's left for today?
Run all EditMode tests and report results
Trigger an Android development build and tell me when it's done
Check the monetization summary — are we ready to ship?

---

Architecture

Unity Editor Process
  └── MCPServer.cs  [InitializeOnLoad]
        └── System.Net.HttpListener → localhost:8090
              ├── GET  /health       → server info
              └── POST /mcp          → JSON-RPC 2.0
                    ├── initialize
                    ├── tools/list
                    ├── tools/call   → MCPToolRegistry → SceneTools
                    ├── resources/list                 → ScriptTools
                    └── resources/read                 → LevelTools
                                                       → MonetizeTools
                                                       → PipelineTools
                                                       → BuildTools
                                                       → TestTools

No external server. No Python. No Node.js. Pure C# running inside Unity.

---

Troubleshooting

| Problem | Fix | |---|---| | Server won't start | Try a different port in Window → Game Studio MCP | | IDE not connecting | Restart IDE after adding config | | Port conflict with unity-mcp | This server uses port 8090 by default | | Windows path issues | No special PATH setup needed — pure C# | | Assembly errors | Ensure Unity 2021.3 LTS or newer |

---

Works With

  • Claude Desktop
  • Claude Code
  • Windsurf
  • Cursor
  • VS Code + GitHub Copilot
  • Any MCP-compatible client

---

License

MIT — © pkurri-gamezone

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use AI & ML servers.