commit
bc16ca6024
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,11 @@ namespace UnityMcpBridge.Editor.Models
|
||||||
{
|
{
|
||||||
public enum McpTypes
|
public enum McpTypes
|
||||||
{
|
{
|
||||||
|
ClaudeCode,
|
||||||
ClaudeDesktop,
|
ClaudeDesktop,
|
||||||
Cursor,
|
Cursor,
|
||||||
VSCode,
|
VSCode,
|
||||||
ClaudeCode,
|
Windsurf,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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:",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue