parent
7dbb03b84e
commit
92ad2c5031
|
|
@ -28,6 +28,20 @@ namespace UnityMcpBridge.Editor.Data
|
||||||
configStatus = "Not Configured",
|
configStatus = "Not Configured",
|
||||||
},
|
},
|
||||||
new()
|
new()
|
||||||
|
{
|
||||||
|
name = "Claude Code",
|
||||||
|
windowsConfigPath = Path.Combine(
|
||||||
|
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
||||||
|
".claude.json"
|
||||||
|
),
|
||||||
|
linuxConfigPath = Path.Combine(
|
||||||
|
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
||||||
|
".claude.json"
|
||||||
|
),
|
||||||
|
mcpType = McpTypes.ClaudeCode,
|
||||||
|
configStatus = "Not Configured",
|
||||||
|
},
|
||||||
|
new()
|
||||||
{
|
{
|
||||||
name = "Cursor",
|
name = "Cursor",
|
||||||
windowsConfigPath = Path.Combine(
|
windowsConfigPath = Path.Combine(
|
||||||
|
|
@ -63,20 +77,6 @@ namespace UnityMcpBridge.Editor.Data
|
||||||
mcpType = McpTypes.VSCode,
|
mcpType = McpTypes.VSCode,
|
||||||
configStatus = "Not Configured",
|
configStatus = "Not Configured",
|
||||||
},
|
},
|
||||||
new()
|
|
||||||
{
|
|
||||||
name = "Claude Code",
|
|
||||||
windowsConfigPath = Path.Combine(
|
|
||||||
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
|
||||||
".claude.json"
|
|
||||||
),
|
|
||||||
linuxConfigPath = Path.Combine(
|
|
||||||
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
|
||||||
".claude.json"
|
|
||||||
),
|
|
||||||
mcpType = McpTypes.ClaudeCode,
|
|
||||||
configStatus = "Not Configured",
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Initialize status enums after construction
|
// Initialize status enums after construction
|
||||||
|
|
|
||||||
|
|
@ -968,6 +968,7 @@ namespace UnityMcpBridge.Editor.Windows
|
||||||
CheckMcpConfiguration(claudeClient);
|
CheckMcpConfiguration(claudeClient);
|
||||||
}
|
}
|
||||||
Repaint();
|
Repaint();
|
||||||
|
UnityEngine.Debug.Log("UnityMCP server successfully registered from Claude Code.");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue