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
main
Marcus Sanatan 2025-08-15 21:26:12 -04:00 committed by GitHub
parent ce53639090
commit 14a6cbaeb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 28 additions and 7 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
.cursorignore .cursorignore
.windsurf .windsurf
.codeiumignore .codeiumignore
.kiro
CLAUDE.md CLAUDE.md
# Code-copy related files # Code-copy related files

View File

@ -98,6 +98,25 @@ namespace UnityMcpBridge.Editor.Data
mcpType = McpTypes.VSCode, mcpType = McpTypes.VSCode,
configStatus = "Not Configured", configStatus = "Not Configured",
}, },
// 3) Kiro
new()
{
name = "Kiro",
windowsConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".kiro",
"settings",
"mcp.json"
),
linuxConfigPath = Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".kiro",
"settings",
"mcp.json"
),
mcpType = McpTypes.Kiro,
configStatus = "Not Configured",
},
}; };
// Initialize status enums after construction // Initialize status enums after construction

View File

@ -7,6 +7,7 @@ namespace UnityMcpBridge.Editor.Models
Cursor, Cursor,
VSCode, VSCode,
Windsurf, Windsurf,
Kiro,
} }
} }

View File

@ -94,6 +94,13 @@ namespace UnityMcpBridge.Editor.Windows
instructionStyle instructionStyle
); );
} }
else if (mcpClient?.mcpType == McpTypes.Kiro)
{
EditorGUILayout.LabelField(
" a) Going to File > Settings > Settings > Search for \"MCP\" > Open Workspace MCP 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:",

6
package-lock.json generated
View File

@ -1,6 +0,0 @@
{
"name": "unity-mcp",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}

View File

@ -1 +0,0 @@
{}