Skip to content

Commit f14a22c

Browse files
committed
feat: add Codex CLI client support with config.toml handling
1 parent 6e72b33 commit f14a22c

File tree

4 files changed

+526
-166
lines changed

4 files changed

+526
-166
lines changed

UnityMcpBridge/Editor/Data/McpClients.cs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,28 @@ public class McpClients
159159
mcpType = McpTypes.Kiro,
160160
configStatus = "Not Configured",
161161
},
162+
// 4) Codex CLI
163+
new()
164+
{
165+
name = "Codex CLI",
166+
windowsConfigPath = Path.Combine(
167+
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
168+
".codex",
169+
"config.toml"
170+
),
171+
macConfigPath = Path.Combine(
172+
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
173+
".codex",
174+
"config.toml"
175+
),
176+
linuxConfigPath = Path.Combine(
177+
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
178+
".codex",
179+
"config.toml"
180+
),
181+
mcpType = McpTypes.Codex,
182+
configStatus = "Not Configured",
183+
},
162184
};
163185

164186
// Initialize status enums after construction
@@ -174,4 +196,3 @@ public McpClients()
174196
}
175197
}
176198
}
177-

UnityMcpBridge/Editor/Models/McpTypes.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ public enum McpTypes
44
{
55
ClaudeCode,
66
ClaudeDesktop,
7+
Codex,
78
Cursor,
9+
Kiro,
810
VSCode,
911
Windsurf,
10-
Kiro,
1112
}
1213
}
13-

0 commit comments

Comments
 (0)