Skip to content

Commit 2b69eb1

Browse files
committed
Merge branch 'master' into fix-on-focus-config-check
2 parents 80b7d81 + bc16ca6 commit 2b69eb1

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# AI-related files
22
.cursorrules
33
.cursorignore
4+
.windsurf
5+
.codeiumignore
46
CLAUDE.md
57

68
# Code-copy related files

UnityMcpBridge/Editor/Data/McpClients.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,24 @@ public class McpClients
7777
mcpType = McpTypes.VSCode,
7878
configStatus = "Not Configured",
7979
},
80+
new()
81+
{
82+
name = "Windsurf",
83+
windowsConfigPath = Path.Combine(
84+
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
85+
".codeium",
86+
"windsurf",
87+
"mcp_config.json"
88+
),
89+
linuxConfigPath = Path.Combine(
90+
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
91+
".codeium",
92+
"windsurf",
93+
"mcp_config.json"
94+
),
95+
mcpType = McpTypes.Windsurf,
96+
configStatus = "Not Configured",
97+
},
8098
};
8199

82100
// Initialize status enums after construction

UnityMcpBridge/Editor/Models/McpTypes.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ namespace UnityMcpBridge.Editor.Models
22
{
33
public enum McpTypes
44
{
5+
ClaudeCode,
56
ClaudeDesktop,
67
Cursor,
78
VSCode,
8-
ClaudeCode,
9+
Windsurf,
910
}
1011
}
1112

UnityMcpBridge/Editor/Windows/ManualConfigEditorWindow.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ protected virtual void OnGUI()
8787
instructionStyle
8888
);
8989
}
90+
else if (mcpClient?.mcpType == McpTypes.Windsurf)
91+
{
92+
EditorGUILayout.LabelField(
93+
" a) Going to File > Preferences > Windsurf Settings > MCP > Manage MCPs -> View raw config",
94+
instructionStyle
95+
);
96+
}
9097
EditorGUILayout.LabelField(" OR", instructionStyle);
9198
EditorGUILayout.LabelField(
9299
" b) Opening the configuration file at:",

0 commit comments

Comments
 (0)