Skip to content

Commit 14a6cba

Browse files
authored
Support kiro (#221)
* Add a base Unity project to run unit tests in * Add Windsurf IDE support so I can test more easily * Add a dummy script * feat: add unit tests for CommandRegistry and document prefab asset workflows * Run tests when code is pushed to main * Bump version of actions * Install the MCP plugin via relative path * Remove test branch from GH workflow * Remove blank package.json files at the top level directory * Add Kiro support, closes #196
1 parent ce53639 commit 14a6cba

File tree

6 files changed

+28
-7
lines changed

6 files changed

+28
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.cursorignore
44
.windsurf
55
.codeiumignore
6+
.kiro
67
CLAUDE.md
78

89
# Code-copy related files

UnityMcpBridge/Editor/Data/McpClients.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,25 @@ public class McpClients
9898
mcpType = McpTypes.VSCode,
9999
configStatus = "Not Configured",
100100
},
101+
// 3) Kiro
102+
new()
103+
{
104+
name = "Kiro",
105+
windowsConfigPath = Path.Combine(
106+
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
107+
".kiro",
108+
"settings",
109+
"mcp.json"
110+
),
111+
linuxConfigPath = Path.Combine(
112+
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
113+
".kiro",
114+
"settings",
115+
"mcp.json"
116+
),
117+
mcpType = McpTypes.Kiro,
118+
configStatus = "Not Configured",
119+
},
101120
};
102121

103122
// Initialize status enums after construction

UnityMcpBridge/Editor/Models/McpTypes.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public enum McpTypes
77
Cursor,
88
VSCode,
99
Windsurf,
10+
Kiro,
1011
}
1112
}
1213

UnityMcpBridge/Editor/Windows/ManualConfigEditorWindow.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ protected virtual void OnGUI()
9494
instructionStyle
9595
);
9696
}
97+
else if (mcpClient?.mcpType == McpTypes.Kiro)
98+
{
99+
EditorGUILayout.LabelField(
100+
" a) Going to File > Settings > Settings > Search for \"MCP\" > Open Workspace MCP Config",
101+
instructionStyle
102+
);
103+
}
97104
EditorGUILayout.LabelField(" OR", instructionStyle);
98105
EditorGUILayout.LabelField(
99106
" b) Opening the configuration file at:",

package-lock.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)