feat: add Windsurf IDE support with configuration paths and UI instructions

main
Marcus Sanatan 2025-08-01 08:12:07 -04:00
parent 00765c5277
commit 03ed78caef
4 changed files with 29 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,6 +1,8 @@
# AI-related files # AI-related files
.cursorrules .cursorrules
.cursorignore .cursorignore
.windsurf
.codeiumignore
CLAUDE.md CLAUDE.md
# Code-copy related files # Code-copy related files

View File

@ -77,6 +77,24 @@ namespace UnityMcpBridge.Editor.Data
mcpType = McpTypes.VSCode, mcpType = McpTypes.VSCode,
configStatus = "Not Configured", configStatus = "Not Configured",
}, },
new()
{
name = "Windsurf",
windowsConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".codeium",
"windsurf",
"mcp_config.json"
),
linuxConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".codeium",
"windsurf",
"mcp_config.json"
),
mcpType = McpTypes.Windsurf,
configStatus = "Not Configured",
},
}; };
// Initialize status enums after construction // Initialize status enums after construction

View File

@ -2,10 +2,11 @@ namespace UnityMcpBridge.Editor.Models
{ {
public enum McpTypes public enum McpTypes
{ {
ClaudeCode,
ClaudeDesktop, ClaudeDesktop,
Cursor, Cursor,
VSCode, VSCode,
ClaudeCode, Windsurf,
} }
} }

View File

@ -87,6 +87,13 @@ namespace UnityMcpBridge.Editor.Windows
instructionStyle instructionStyle
); );
} }
else if (mcpClient.mcpType == McpTypes.Windsurf)
{
EditorGUILayout.LabelField(
" a) Going to File > Preferences > Windsurf Settings > MCP > Manage MCPs -> View raw config",
instructionStyle
);
}
EditorGUILayout.LabelField(" OR", instructionStyle); EditorGUILayout.LabelField(" OR", instructionStyle);
EditorGUILayout.LabelField( EditorGUILayout.LabelField(
" b) Opening the configuration file at:", " b) Opening the configuration file at:",