-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hello! I got this error when trying to press the "Configure Claude Code" button.
Failed to add MCP configuration to Claude Code: System.MissingMemberException: Claude Code config error: Could not find project entry for parent directory '/Users/charles/code/halmi_v2/Library/PackageCache/com.gamelovers.mcp-unity' in existing config.
at McpUnity.Utils.McpUtils.GetMcpServersConfig (Newtonsoft.Json.Linq.JObject existingConfig, System.String productName) [0x00079] in ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/Utils/McpUtils.cs:461
at McpUnity.Utils.McpUtils.TryMergeMcpServers (System.String configFilePath, Newtonsoft.Json.Linq.JObject mcpConfig, System.String productName) [0x0001e] in ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/Utils/McpUtils.cs:477
at McpUnity.Utils.McpUtils.AddToConfigFile (System.String configFilePath, System.Boolean useTabsIndentation, System.String productName) [0x00046] in ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/Utils/McpUtils.cs:198
UnityEngine.Debug:LogError (object)
McpUnity.Utils.McpUtils:AddToConfigFile (string,bool,string) (at ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/Utils/McpUtils.cs:216)
McpUnity.Utils.McpUtils:AddToClaudeCodeConfig (bool) (at ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/Utils/McpUtils.cs:160)
McpUnity.Unity.McpUnityEditorWindow:ShowConfigButton (string,System.Func`2<bool, bool>) (at ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/UnityBridge/McpUnityEditorWindow.cs:605)
McpUnity.Unity.McpUnityEditorWindow:DrawServerTab () (at ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/UnityBridge/McpUnityEditorWindow.cs:263)
McpUnity.Unity.McpUnityEditorWindow:OnGUI () (at ./Library/PackageCache/com.gamelovers.mcp-unity/Editor/UnityBridge/McpUnityEditorWindow.cs:53)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
Thanks for any help, have a good one!
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested