using System; using System.Collections.Generic; using System.IO; using MCPForUnity.Editor.Models; namespace MCPForUnity.Editor.Clients.Configurators { public class CodexConfigurator : CodexMcpConfigurator { public CodexConfigurator() : base(new McpClient { name = "Codex", windowsConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".codex", "config.toml"), macConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".codex", "config.toml"), linuxConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".codex", "config.toml") }) { } public override IList GetInstallationSteps() => new List { "Run 'codex config edit' in a terminal\nOR open the config file at the path above", "Paste the configuration TOML", "Save and restart Codex" }; } }