diff --git a/MCPForUnity/Editor/Clients/Configurators/TraeConfigurator.cs b/MCPForUnity/Editor/Clients/Configurators/TraeConfigurator.cs index f32b68863..c8798d32a 100644 --- a/MCPForUnity/Editor/Clients/Configurators/TraeConfigurator.cs +++ b/MCPForUnity/Editor/Clients/Configurators/TraeConfigurator.cs @@ -10,9 +10,9 @@ public class TraeConfigurator : JsonFileMcpConfigurator public TraeConfigurator() : base(new McpClient { name = "Trae", - windowsConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Trae", "mcp.json"), - macConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Trae", "mcp.json"), - linuxConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".config", "Trae", "mcp.json"), + windowsConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Trae", "User", "mcp.json"), + macConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Trae", "User", "mcp.json"), + linuxConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".config", "Trae", "User", "mcp.json"), }) { } @@ -21,9 +21,9 @@ public TraeConfigurator() : base(new McpClient "Open Trae and go to Settings > MCP", "Select Add Server > Add Manually", "Paste the JSON or point to the mcp.json file\n"+ - "Windows: %AppData%\\Trae\\mcp.json\n" + - "macOS: ~/Library/Application Support/Trae/mcp.json\n" + - "Linux: ~/.config/Trae/mcp.json\n", + "Windows: %AppData%\\Trae\\User\\mcp.json\n" + + "macOS: ~/Library/Application Support/Trae/User/mcp.json\n" + + "Linux: ~/.config/Trae/User/mcp.json\n", "Save and restart Trae" }; }