unity-mcp/UnityMcpBridge/Editor
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
..
Data Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
External Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
Helpers Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
Models Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
Tools Replace command dispatcher with CommandRegistry, allow to add custom command handlers. (#261) 2025-09-26 18:05:17 -04:00
Windows Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
AssemblyInfo.cs feat: add AI-powered property matching system for component properties 2025-09-02 19:08:59 -07:00
AssemblyInfo.cs.meta Allow the LLMs to read menu items, not just execute them (#263) 2025-09-12 11:19:58 -04:00
Data.meta restructured project 2025-04-08 06:14:13 -04:00
External.meta Add Codex to autoconfig options (#288) 2025-09-26 18:05:30 -04:00
Helpers.meta restructured project 2025-04-08 06:14:13 -04:00
MCPForUnity.Editor.asmdef Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
MCPForUnity.Editor.asmdef.meta Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
MCPForUnityBridge.cs Replace command dispatcher with CommandRegistry, allow to add custom command handlers. (#261) 2025-09-26 18:05:17 -04:00
MCPForUnityBridge.cs.meta Rename namespace and public facing plugin output from "Unity MCP" to "MCP for Unity" (#225) 2025-08-20 15:59:49 -04:00
Models.meta restructured project 2025-04-08 06:14:13 -04:00
Tools.meta restructured project 2025-04-08 06:14:13 -04:00
Windows.meta restructured project 2025-04-08 06:14:13 -04:00