Commit Graph

656 Commits (13aca5fb1cb242170457e7b2da58c2a9d0092774)

Author SHA1 Message Date
David Sarno 06f271926b feat(editor): 2x2 layout (Server/Bridge | Clients/Validation), Auto-Setup with Connected ✓ state; add Debug Logs toggle and gate verbose logs
fix(bridge): reuse stored port in StartAutoConnect; guard listener stop to avoid ObjectDisposedException

chore(clients): reorder dropdown to Cursor, Claude Code, Windsurf, Claude Desktop, VSCode
2025-08-08 11:23:45 -07:00
David Sarno 2f387d3417 chore(ui): rename 'Re-Run Client Setup' to 'Bind to Clients' 2025-08-08 10:49:01 -07:00
David Sarno 10903a2d48 fix(setup): reuse stored project port in StartAutoConnect to avoid port changes during client setup 2025-08-08 10:35:00 -07:00
David Sarno f4bc7cd4fd fix(ports): never hop to default when stored port busy; prefer stored port and let bind micro-retry handle release to avoid port swapping on recompiles 2025-08-08 08:37:02 -07:00
David Sarno 1b892dcf49 fix(ports): write both hashed and legacy port files; compare project paths case-insensitively to prevent sticky-port drift across reloads 2025-08-08 08:32:20 -07:00
David Sarno 85202d4ccb fix(editor): only treat dev mode when manifest uses file: path for package; remove dev-mode logs under UPM 2025-08-08 08:24:50 -07:00
David Sarno 57592017ae fix(bridge): prefer persisted project port at start to avoid initial 6400 blip after UPM import 2025-08-08 08:18:33 -07:00
David Sarno 5c632f0ab3 fix(package): add UnityMcpServer folder meta; remove stray egg-info meta 2025-08-08 08:12:57 -07:00
David Sarno a65f10383a feat(bridge): embed Python server into package and remove Git-based installer
- Switch ServerInstaller to embedded copy-only (no network)
- Simplify Editor UI server status to 'Installed (Embedded)'
- Vendor UnityMcpServer/src into UnityMcpBridge/UnityMcpServer/src for UPM distribution
- Keep bridge recompile robustness (heartbeat + sticky port)
2025-08-08 08:08:30 -07:00
David Sarno a0fd9199bb Add meta for PackageInstaller so Unity includes it in package cache 2025-08-07 19:09:52 -07:00
David Sarno 673bc1bd49 Add PackageInstaller for automatic Python server installation on first package load 2025-08-07 19:06:12 -07:00
Marcus Sanatan 8e413582a9
Merge pull request #188 from msanatan/feature/remove-sponsorships
Remove GitHub funding configuration file
2025-08-07 21:05:42 -04:00
Marcus Sanatan 11c12e03e6 Remove GitHub funding configuration file
Coplay will be directly sponsoring this repo from now on.
Huge thanks to Justin once again, and thank you everyone for your support!
2025-08-07 21:01:42 -04:00
David Sarno 5c4ea29fc7 Editor Window: streamline layout, remove redundant badges; move and rename auto-run toggle to client section ("Auto-connect to MCP Clients"); rename button to "Run Client Setup"; fix dev-mode status by using FindPackagePythonDirectory() for Claude/Desktop path checks 2025-08-07 17:43:33 -07:00
David Sarno 32274a3965 UnityMCP stability: robust auto-restart on compile/play transitions; stop on domain reload; start/stop locking; per-project sticky ports + brief release wait; Python discovery scans hashed+legacy files and probes; editor window live status refresh. 2025-08-07 15:53:53 -07:00
Marcus Sanatan b7ea2c88e3 docs: update license link to use relative path 2025-08-06 21:18:35 -04:00
Marcus Sanatan 164bba43df style: adjust Coplay logo size and container element in README 2025-08-06 21:14:10 -04:00
Marcus Sanatan 39ec588cbe Try logo at 50% width 2025-08-06 20:59:47 -04:00
Marcus Sanatan 3dcaeca362 docs: add Coplay sponsorship and logo to README 2025-08-06 20:59:02 -04:00
Marcus Sanatan c6969fdc52 docs: update repository links and Discord invite to CoplayDev organization 2025-08-06 20:48:57 -04:00
Shutong Wu eabf727894
Merge pull request #185 from msanatan/fix-on-focus-config-check
Fix on focus config check
2025-08-01 23:42:55 -04:00
Marcus Sanatan 2b69eb1595 Merge branch 'master' into fix-on-focus-config-check 2025-08-01 23:12:03 -04:00
Marcus Sanatan 80b7d811b0 fix: only check MCP configuration for selected client on window focus 2025-08-01 23:11:04 -04:00
Shutong Wu bc16ca6024
Merge pull request #184 from msanatan/add-windsurf
Auto-configure Windsurf
2025-08-01 12:48:15 -04:00
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