Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions MCPForUnity/Editor/Data/McpClients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,31 @@ public class McpClients
mcpType = McpTypes.Codex,
configStatus = "Not Configured",
},
// CodeBuddy
new()
{
name = "CodeBuddy",
windowsConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".CodeBuddy",
"settings",
"mcp.json"
),
macConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".CodeBuddy",
"settings",
"mcp.json"
),
linuxConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".CodeBuddy",
"settings",
"mcp.json"
),
mcpType = McpTypes.CodeBuddy,
configStatus = "Not Configured",
},
Comment on lines +211 to +235
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

LGTM! Configuration follows the established pattern.

The CodeBuddy client configuration is correctly structured and consistent with other MCP clients (particularly similar to the Kiro configuration).

However, please verify that .CodeBuddy (with capital C and B) is the correct directory name. Most other client configurations use lowercase directory names (.cursor, .kiro, .codex). If CodeBuddy's actual installation uses .codebuddy or a different casing, the paths should be updated accordingly.


🏁 Script executed:

#!/bin/bash
# Description: Check if there's any documentation or references to CodeBuddy's config directory name

# Search for any existing references to CodeBuddy paths in documentation or comments
rg -i "codebuddy" -g "*.md" -g "*.txt" -g "*.cs" -C3

Length of output: 2477


Update configuration directory to use lowercase path.

CodeBuddy uses ~/.codebuddy/settings.json (lowercase) as the user-level configuration path. The current implementation uses .CodeBuddy (mixed case), which will not match the actual directory name.

Update lines 211-235 in MCPForUnity/Editor/Data/McpClients.cs:

  • Change ".CodeBuddy" to ".codebuddy" in all three paths (Windows, Mac, Linux)
🤖 Prompt for AI Agents
MCPForUnity/Editor/Data/McpClients.cs around lines 211-235: the CodeBuddy config
paths use ".CodeBuddy" (mixed case) but the actual user directory is lowercase
".codebuddy"; update the three Path.Combine calls for windowsConfigPath,
macConfigPath and linuxConfigPath to use ".codebuddy" instead of ".CodeBuddy" so
the paths match the real config directory.

};

// Initialize status enums after construction
Expand Down
1 change: 1 addition & 0 deletions MCPForUnity/Editor/Models/McpTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ public enum McpTypes
VSCode,
Windsurf,
Trae,
CodeBuddy,
}
}