unity-mcp/MCPForUnity/Editor
Marcus Sanatan c50e583300
Add distribution settings for Asset Store vs git defaults (#404)
* Add distribution settings for Asset Store vs git defaults

Introduce McpDistributionSettings ScriptableObject to configure different defaults for Asset Store and git distributions without code forking. Add skipSetupWindowWhenRemoteDefault flag to bypass setup wizard when shipping with hosted MCP URL. Replace hardcoded localhost:8080 defaults with configurable defaultHttpBaseUrl from distribution settings in HttpEndpointUtility and WebSocketTransportClient.

* Improve local address detection in McpDistributionSettings with comprehensive IP range checks

Replace simple string-based localhost/127.0.0.1 checks with robust IsLocalAddress method that validates loopback addresses, private IPv4 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16), IPv6 link-local and loopback addresses, and .local hostnames using proper URI parsing and IPAddress validation.

* Fix error
2025-11-27 22:10:21 -04:00
..
Clients Add CodeBuddy CLI configurator (#403) 2025-11-27 21:17:09 -04:00
Config Add distribution settings for Asset Store vs git defaults (#404) 2025-11-27 22:10:21 -04:00
Constants Fix stdio reloads (#402) 2025-11-27 19:33:26 -04:00
Dependencies HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
External Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Helpers Add distribution settings for Asset Store vs git defaults (#404) 2025-11-27 22:10:21 -04:00
MenuItems HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Migrations Simplify MCP client configs (#401) 2025-11-27 18:18:44 -04:00
Models Simplify MCP client configs (#401) 2025-11-27 18:18:44 -04:00
Resources HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Services Add distribution settings for Asset Store vs git defaults (#404) 2025-11-27 22:10:21 -04:00
Setup Add distribution settings for Asset Store vs git defaults (#404) 2025-11-27 22:10:21 -04:00
Tools HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Windows Simplify MCP client configs (#401) 2025-11-27 18:18:44 -04:00
AssemblyInfo.cs Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
AssemblyInfo.cs.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Clients.meta Simplify MCP client configs (#401) 2025-11-27 18:18:44 -04:00
Config.meta Add distribution settings for Asset Store vs git defaults (#404) 2025-11-27 22:10:21 -04:00
Constants.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Data.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Dependencies.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
External.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Helpers.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
MCPForUnity.Editor.asmdef HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
MCPForUnity.Editor.asmdef.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
MenuItems.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Migrations.meta HTTP Server, uvx, C# only custom tools (#375) 2025-11-24 23:21:06 -04:00
Models.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Resources.meta Add testing and move menu items to resources (#316) 2025-10-13 11:16:43 -04:00
Services.meta New UI and work without MCP server embedded (#313) 2025-10-11 03:08:16 -04:00
Setup.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Tools.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00
Windows.meta Rename plugin folder to MCPForUnity (#303) 2025-10-03 20:23:28 -04:00