Commit Graph

632 Commits (bb56f78ad362f98fa0ce77ba28c23c813a360c12)

Author SHA1 Message Date
Marcus Sanatan 1a7e92f62b
Add safeguard for null refs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-08-01 08:20:52 -04:00
Marcus Sanatan 03ed78caef feat: add Windsurf IDE support with configuration paths and UI instructions 2025-08-01 08:12:07 -04:00
Shutong Wu 00765c5277
Merge pull request #178 from dsarno/windows-compatibility-improvements
Windows MCP configuration improvements & cleanup
2025-07-29 23:25:41 -04:00
Shutong Wu d43d3a94da
Merge pull request #177 from Scriptwonder/master
Developer Update 0
2025-07-30 04:07:55 +08:00
Scriptwonder ab4bcab955 Developer Update 0
Two .bat files that could directly deploy and restore the current repo to the unity project and the llm project. With this the tools will be integrated easier.
2025-07-29 16:07:21 -04:00
dsarno 94bbc9873c Improve Windows compatibility and code cleanup
- Enhanced Windows support for UV and Claude executable detection with OS-specific path handling
- Added PowerShell integration for Windows command execution with proper PATH environment setup
- Implemented comprehensive UV path scanning for various installation methods (Python, Chocolatey, Scoop, Cargo, etc.)
- Added executable validation using IsValidUvInstallation() method
- Improved Claude path detection with fallback to PowerShell's Get-Command
- Enhanced configuration path handling with Windows-specific paths and cross-platform normalization
- Cleaned up exception handling by removing unused exception variables
- Fixed method signature in VSCodeManualSetupWindow

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 13:01:17 -07:00
dsarno 0ced4d7bea Merge branch 'master' of https://github.com/dsarno/unity-mcp 2025-07-29 10:21:42 -07:00
dsarno 44530de8da Merge branch 'master' of https://github.com/justinpbarnett/unity-mcp 2025-07-29 10:20:55 -07:00
dsarno a57752f883
Merge branch 'justinpbarnett:master' into master 2025-07-29 10:09:52 -07:00
Shutong Wu 41f0a57f81
Merge pull request #176 from Scriptwonder/master
Autoconnect feature to prevent the port from being taken by other applications.

Currently still supporting local host, and we will figure out how remote hosting should work.
MCP still is a 1:1 service. The newly instantiated port will take over the new port from the commands. Something worth discussing for.
2025-07-29 12:21:21 +08:00
Scriptwonder 32e4b2642f Unity-MCP AutoConnect
Autoconnect feature to prevent the port being taken by other applications.
2025-07-29 00:17:36 -04:00
Shutong Wu 01a3d472af
Merge pull request #175 from dsarno/claude-code-button
feat: Add Claude Code support with register/unregister toggle button in Unity MCP window
2025-07-29 06:30:46 +08:00
Scriptwonder 92ad2c5031 Minor Changes
Add successfully registration info and reorder the seleciton
2025-07-28 18:30:33 -04:00
Scriptwonder 7dbb03b84e Update UnityMcpEditorWindow.cs
Prevention for CLI to be found on Windows.
2025-07-28 18:11:23 -04:00
David Sarno 2749b4e0c0 feat: Add comprehensive UV error handling and installation guidance
- Enhanced FindUvPath() to return null when UV is not found
- Added detailed installation instructions for all platforms
- Implemented null checks in all UV usage points
- Added cross-platform path resolution for Windows, macOS, and Linux
- Improved user experience with clear error messages instead of silent failures
- Prevents 'spawn uv ENOENT' errors by using full paths and proper validation
2025-07-28 11:55:08 -07:00
David Sarno cb59b08b51 Add Claude Code support with register/unregister toggle
- Added Claude Code as new MCP client type
- One-click registration via 'claude mcp add' command
- Toggle button to unregister when already configured
- Cross-platform support (Windows/macOS/Linux)
- Auto-detects configuration in ~/.claude.json
2025-07-28 10:45:07 -07:00
Shutong Wu a3b13195af
Merge pull request #173 from Scriptwonder/master
Readme update
2025-07-28 12:07:49 +08:00
Shutong Wu 0b6aa35a43
Merge branch 'justinpbarnett:master' into master 2025-07-28 11:58:36 +08:00
Scriptwonder 3ca4746a78 Update README.md 2025-07-27 23:57:18 -04:00
Shutong Wu 9ff89886ac
Merge pull request #170 from Scriptwonder/master
Update ManageGameObject.cs
2025-07-25 14:46:33 +08:00
Shutong Wu 99faaf9684
Merge branch 'master' into master 2025-07-25 14:46:25 +08:00
Scriptwonder a2ae3d51ef Update ManageGameObject.cs
Minor fix
2025-07-25 02:44:00 -04:00
Shutong Wu 757edbc5a4
Merge pull request #93 from dsarno/feature/generalize-getcomponentdata
Feature: 🔍 Enhanced Component Data Reading via Serialization
2025-07-25 14:38:30 +08:00
Scriptwonder 46d7271e3d Update ManageGameObject.cs
Update with added comments
2025-07-25 02:32:19 -04:00
Scriptwonder 37db670427 Fix missing closing brace in SetComponentPropertiesInternal method 2025-07-25 02:27:20 -04:00
Scriptwonder 68efdf1bfe Clean up comment formatting in GameObjectSerializer 2025-07-25 02:26:24 -04:00
Shutong Wu c0bcfcaab1
Merge pull request #169 from Scriptwonder/master
Code Validation Update
2025-07-24 11:32:53 +08:00
Scriptwonder 9101105212 Code Validation Update
1. Update the code validation feature. With Roslyn installed(see guide), MCP clients will receive detailed error messages and making the code generation process more error-proof
2. Minor update to the EditorWindow, making more space for upcoming features
3. Readme update to include Code validation guides
4. Minor bug fixes including installation bugs from previous VSC PR
2025-07-23 23:31:47 -04:00
Shutong Wu 6906c24290
Merge pull request #108 from michaelnugent/container
Add Dockerfile
2025-07-14 02:10:40 -04:00
Shutong Wu 0147a76161
Merge pull request #163 from justinpbarnett/Scriptwonder-patch-2
Update README.md
2025-07-14 02:01:40 -04:00
Shutong Wu b13661c8fb
Update README.md 2025-07-14 02:01:25 -04:00
Shutong Wu 6a47945479
Merge pull request #106 from Tanichael/feature/manage-shader
Feat: Add CRUD operations for Shader files via MCP

Example Prompt: "generate a cool shader and apply it on a new cube"
2025-07-14 01:45:29 -04:00
Scriptwonder 55f7c55389 Update for ManageShader
Bug fix and error handling check for the PR. Great work and I love what I built!
2025-07-14 01:42:16 -04:00
Shutong Wu ed98fee989
Merge pull request #161 from justinpbarnett/Scriptwonder-patch-1
Readme update and minor fix
2025-07-13 16:32:19 -04:00
Scriptwonder 6665eac515 Readme update with badges and more 2025-07-13 16:29:58 -04:00
Scriptwonder e5793a6347 Update on Readme and TODO 2025-07-13 16:06:32 -04:00
Shutong Wu fb8be3b1c5
Update ManageAsset.cs 2025-07-13 15:14:08 -04:00
Shutong Wu 8211d85563
Merge pull request #126 from xsodus/feature/vscode-ghcs-support
Feature: VSCode GitHub Copilot Support
2025-07-13 15:10:36 -04:00
Shutong Wu 558b051323
Merge pull request #131 from Sunjnn/master
Add support for creating physics material assets. Works on Unity 2022 onwards and Unity 6, since they use different naming for PhysicsMaterial(PhysicMaterial before Unity 6, and PhysicsMaterial after). 
Add naming examples on the server side

TODO: currently unity-mcp only support adding gameobject and specifying adding a physic material, and manage_gameobject.cs does not handle a detailed request such as the copied request well. Will be the future work.

Example:
{
  `name`: `BouncyCube`,
  `action`: `create`,
  `position`: [
    6,
    2,
    0
  ],
  `primitive_type`: `Cube`,
  `components_to_add`: [
    `Rigidbody`
  ],
  `component_properties`: {
    `Rigidbody`: {
      `mass`: 1,
      `useGravity`: true
    },
    `BoxCollider`: {
      `material`: `Assets/Physics Materials/SuperBouncePhysicsMaterial.physicmaterial`
    }
  }
}
2025-07-13 14:45:13 -04:00
Scriptwonder 21fbac60c2 Update for PhysicsMaterial
1. Fixing to ensure both version of PhysicMaterial works, editing PhysicsMaterial properties to camelCase
2. Add example output on server
2025-07-13 14:33:06 -04:00
Shutong Wu e67b806f54
Merge pull request #155 from Scriptwonder/master
Bug Fix: Asset name
2025-07-08 02:40:10 -04:00
Shutong Wu db64653c7e
Merge branch 'justinpbarnett:master' into master 2025-07-08 02:37:46 -04:00
Scriptwonder 7b3b562c72 Update ManageAsset.cs
Silly mistake I made with a rush to fix the previous bug, will be more cautious and run through the test in the future.
2025-07-08 02:37:08 -04:00
Shutong Wu 0f5304e36e
Merge pull request #153 from Scriptwonder/master
Update ManageAsset.cs
2025-07-07 15:44:47 -04:00
Shutong Wu 1e8862aa4b Update ManageAsset.cs 2025-07-07 15:43:34 -04:00
Shutong Wu 410b95ac41
Merge pull request #151 from Scriptwonder/master
Minor Bug Fix
2025-07-06 19:55:01 -04:00
Scriptwonder 85c947a34e Minor Bug Fix
1. Solve the IDE/Unity miscommunication for the _Color and menuPath params
2. TODOs: Fix readme, look into more issues, bring back tool dev tutorial, view pull request and set a future roadmap
2025-07-06 19:51:12 -04:00
亭鹤 77ed43bac5 docs: add summary for ApplyPhysicsMaterialProperties method 2025-05-22 19:48:16 +08:00
亭鹤 d1249cb281 feat: add support for creating PhysicsMaterial assets 2025-05-22 17:23:12 +08:00
xsodus a880bf485b Refactor configuration handling in UnityMcpEditorWindow to streamline JSON serialization and improve client type management 2025-05-12 15:05:56 +07:00