unity-mcp/UnityMcpBridge/Editor/Helpers
Marcus Sanatan 549ac1eb0c
Add Codex to autoconfig options (#288)
* feat: add Codex CLI client support with config.toml handling

* feat: add config helpers for managing Codex and MCP server configurations

* feat: add TOML array parsing support for multi-line and trailing comma formats

* fix: handle TOML inline comments in section headers during parsing

* fix: strip TOML comments before processing section headers

* fix: improve JSON parsing to handle escaped single quotes in config strings

* Use Tommy for TOML parsing

It's a single file and OSS, easy to integrate into Unity

* fix: patched Tommy’s literal-string handling so doubled single quotes inside literal strings are treated as embedded apostrophes instead of prematurely ending the value

* Don't overwrite MCP configs while testing

Seeing random JSON in my codex config was pretty annoying

* PR Feedback

* Keep Tommy compatible with Unity 2021

* Re-include Tommy's license

Probably a good habit to keep all 3rd party licenses and copyrights, even if they're also MIT licenses
2025-09-26 18:05:30 -04:00
..
CodexConfigHelper.cs Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
CodexConfigHelper.cs.meta Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
ConfigJsonBuilder.cs Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
ConfigJsonBuilder.cs.meta Improve Windsurf MCP Config (#231) 2025-08-24 06:57:11 -04:00
ExecPath.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
ExecPath.cs.meta fix: Windows define UNITY_EDITOR_WIN; async stdout/stderr in TryRun and RepairPythonEnvironment; use EnvironmentVariables for PATH; prepend Unix PATH only on macOS/Linux; fix duplicate .meta GUIDs 2025-08-12 11:56:46 -07:00
GameObjectSerializer.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
GameObjectSerializer.cs.meta 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
McpConfigFileHelper.cs Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
McpConfigFileHelper.cs.meta Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
McpLog.cs feat: installer cleanup, auto-migration, logging normalization 2025-08-23 22:13:47 -07:00
McpLog.cs.meta feat: installer cleanup, auto-migration, logging normalization 2025-08-23 22:13:47 -07:00
PackageDetector.cs Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
PackageDetector.cs.meta Allow the LLMs to read menu items, not just execute them (#263) 2025-09-12 11:19:58 -04:00
PackageInstaller.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
PackageInstaller.cs.meta Add meta for PackageInstaller so Unity includes it in package cache 2025-08-07 19:09:52 -07:00
PortManager.cs Improve Windsurf MCP Config (#231) 2025-08-24 06:57:11 -04:00
PortManager.cs.meta Unity-MCP AutoConnect 2025-07-29 00:17:36 -04:00
Response.cs Claude‑friendly edit tools + framed transport + live Unity NL test framework (#243) 2025-08-30 09:55:38 -07:00
Response.cs.meta 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
ServerInstaller.cs Add Windows legacy server cleanup for %LOCALAPPDATA%\Programs\UnityMCP\UnityMcpServer (#272) 2025-09-09 10:18:22 -07:00
ServerInstaller.cs.meta 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
ServerPathResolver.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
ServerPathResolver.cs.meta fix: Windows define UNITY_EDITOR_WIN; async stdout/stderr in TryRun and RepairPythonEnvironment; use EnvironmentVariables for PATH; prepend Unix PATH only on macOS/Linux; fix duplicate .meta GUIDs 2025-08-12 11:56:46 -07:00
TelemetryHelper.cs mcp-unity: telemetry fire-and-forget; safer sender reg; defer startup/conn telemetry; writer IO logs; manage_scene tolerant params; test worker wake 2025-09-10 09:24:09 -07:00
TelemetryHelper.cs.meta added optional telemetry 2025-09-04 12:09:34 -04:00
Vector3Helper.cs Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
Vector3Helper.cs.meta 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