{"data":{"slug":"codergamester-mcp-unity","name":"mcp-unity","tagline":"MCP plugin for Unity Editor enabling integration with various LLM tools","github_url":"https://github.com/CoderGamester/mcp-unity","owner":"CoderGamester","repo":"mcp-unity","owner_avatar_url":"https://avatars.githubusercontent.com/u/6152746?v=4","primary_language":"C#","stars":1909,"forks":244,"topics":["claudecode","codex-cli","copilot","cursor","game-development","mcp","model-context-protocol","openai","openclaw","unity","unity-package","unity3d"],"archived":false,"github_pushed_at":"2026-09-03T08:11:29+00:00","maintenance_label":"Active","stars_delta_30d":65,"url":"https://www.graphcanon.com/tools/codergamester-mcp-unity","markdown_url":"https://www.graphcanon.com/tools/codergamester-mcp-unity.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/codergamester-mcp-unity","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=codergamester-mcp-unity","description":"Model Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs","homepage_url":null,"license":"MIT","open_issues":7,"watchers":16,"ai_summary":"Provides an interface to connect the Unity Editor with Cursor, Claude Code, Codex, and other IDEs using Model Context Protocol (MCP)","readme_excerpt":"## Requirements\n- Unity 6 or later - to [install the server](#install-server)\n- Node.js 18 or later - to [start the server](#start-server)\n- npm 9 or later - to [debug the server](#debug-server)\n\n> [!NOTE]\n> **Project Paths with Spaces**\n>\n> MCP Unity supports project paths containing spaces. However, if you experience connection issues, try moving your project to a path without spaces as a troubleshooting step.\n>\n> **Examples:**\n> -   ✅ **Recommended:** `C:\\Users\\YourUser\\Documents\\UnityProjects\\MyAwesomeGame`\n> -   ✅ **Supported:** `C:\\Users\\Your User\\Documents\\Unity Projects\\My Awesome Game`\n\n---\n\n## <a name=\"install-server\"></a>Installation\n\nInstalling this MCP Unity Server is a multi-step process:\n\n---\n\n### Step 1: Install Node.js \n> To run MCP Unity server, you'll need to have Node.js 18 or later installed on your computer:\n\n\n\n<details>\n<summary><span style=\"font-size: 1.1em; font-weight: bold;\">Windows</span></summary>\n\n1. Visit the [Node.js download page](https://nodejs.org/en/download/)\n2. Download the Windows Installer (.msi) for the LTS version (recommended)\n3. Run the installer and follow the installation wizard\n4. Verify the installation by opening PowerShell and running:\n   ```bash\n   node --version\n   ```\n</details>\n\n<details>\n<summary><span style=\"font-size: 1.1em; font-weight: bold;\">macOS</span></summary>\n\n1. Visit the [Node.js download page](https://nodejs.org/en/download/)\n2. Download the macOS Installer (.pkg) for the LTS version (recommended)\n3. Run the installer and follow the installation wizard\n4. Alternatively, if you have Homebrew installed, you can run:\n   ```bash\n   brew install node@18\n   ```\n5. Verify the installation by opening Terminal and running:\n   ```bash\n   node --version\n   ```\n</details>\n\n---\n\n### Step 2: Install Unity MCP Server package via Unity Package Manager\n1. Open the Unity Package Manager (Window > Package Manager)\n2. Click the \"+\" button in the top-left corner\n3. Select \"Add package from git URL...\"\n4. Enter: `https://github.com/CoderGamester/mcp-unity.git`\n5. Click \"Add\"\n\n---\n\n## Bridge Security and Package Installation\n\nMCP Unity creates a per-project 256-bit authentication token at `Library/McpUnity/bridge-token`. Token resolution is strict: `MCP_UNITY_AUTH_TOKEN` takes precedence, followed by `MCP_UNITY_AUTH_TOKEN_PATH`, followed by the token beside the discovered Unity project. Explicit missing or malformed values fail without fallback. Generated configurations use the token-file path and never copy the secret into `ProjectSettings`.\n\nThe Unity endpoint requires HTTP Basic credentials with username `mcp-unity`, and rejects every WebSocket handshake that supplies an `Origin` header. Direct WebSocket integrations must authenticate and omit `Origin`. Use the Server Window to copy or regenerate the token; after rotation, restart all MCP client processes.\n\nThe `add_package` tool is disabled by default because Unity packages can execute Editor code when they compile. Enable **Allow Package Installation** in Tools > MCP Unity > Server Window, or set `AllowPackageInstallation` to `true` in `ProjectSettings/McpUnitySettings.json`, only when package sources and MCP clients are trusted.\n\nVersion 1.5.0 intentionally rejects 1.4.x Node bridges. Upgrade both the Unity and Node package components, run the Unity Configure action again if the package-cache path changed, and restart MCP clients.\n\n---\n\n## License\n\nThis project is under [MIT License](LICENSE.md)","github_created_at":"2025-03-13T20:41:25+00:00","created_at":"2026-07-11T11:51:34.37928+00:00","updated_at":"2026-09-20T06:41:23.203309+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"claudecode","name":"claudecode"},{"slug":"codex-cli","name":"codex-cli"},{"slug":"copilot","name":"copilot"},{"slug":"cursor","name":"cursor"},{"slug":"game-development","name":"game-development"},{"slug":"mcp","name":"mcp"},{"slug":"model-context-protocol","name":"model-context-protocol"},{"slug":"openai","name":"openai"}],"trust":{"provenance":{"is_fork":false,"github_id":948148972,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-20T03:53:48.748Z","maintenance":{"label":"Active","score":82,"methodology":"github_public_v1","releases_90d":2,"days_since_push":16,"last_release_at":"2026-09-03T08:12:37Z","stars_delta_30d":65,"open_issues_delta_30d":3},"security_summary":{"status":"no_manifest","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:51:35.746Z","medium_count":0,"scan_profile":"mcp_manifest","critical_count":0}},"capability_facts":{"mcp":{"source":"repo_scan","observed_at":"2026-09-20T03:53:49.762Z","server_manifest":false},"scan":{"source":"repo_scan","observed_at":"2026-09-20T03:53:49.762Z"},"languages":{"value":["c#","javascript"],"source":"github.language+package.json","observed_at":"2026-09-20T03:53:49.762Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-09-20T03:53:49.762Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["When developing games in the Unity Editor and needing integration with specific Language-Modeling Tools like Cursor or Claude Code.","If you are working on projects that require access to both MCP enabled IDE functionalities and Unity's ecosystem."],"when_not_to_use":["For users who do not use Unity as their primary game development platform, as the tool is specifically designed for integration with Unity Editor.","When your project does not benefit from integration of LLMs such as Cursor or Claude Code that MCP-Unity supports. Use it only if these specific tools contribute to your workflow."],"source":"enrich:decision_facts","observed_at":"2026-07-15T09:09:26.384Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"MCP-Unity integrates Model Context Protocol with Unity Editor enabling an interface to connect with various LLMs including Cursor, Claude Code and Codex."}]}}