Skip to content

Commit cf2078b

Browse files
Nonanticlaude
andcommitted
feat: add Kilo Code configurator for AutoConfig support
Adds KiloCodeConfigurator to enable automatic MCP configuration for Kilo Code VS Code extension users. Closes #250 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b09e48a commit cf2078b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.IO;
4+
using MCPForUnity.Editor.Models;
5+
6+
namespace MCPForUnity.Editor.Clients.Configurators
7+
{
8+
public class KiloCodeConfigurator : JsonFileMcpConfigurator
9+
{
10+
public KiloCodeConfigurator() : base(new McpClient
11+
{
12+
name = "Kilo Code",
13+
windowsConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Code", "User", "globalStorage", "kilocode.kilo-code", "settings", "mcp_settings.json"),
14+
macConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Library", "Application Support", "Code", "User", "globalStorage", "kilocode.kilo-code", "settings", "mcp_settings.json"),
15+
linuxConfigPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".config", "Code", "User", "globalStorage", "kilocode.kilo-code", "settings", "mcp_settings.json"),
16+
IsVsCodeLayout = true
17+
})
18+
{ }
19+
20+
public override IList<string> GetInstallationSteps() => new List<string>
21+
{
22+
"Install Kilo Code extension in VS Code",
23+
"Open Kilo Code settings (gear icon in sidebar)",
24+
"Navigate to MCP Servers section and click 'Edit Global MCP Settings'\nOR open the config file at the path above",
25+
"Paste the configuration JSON into the mcpServers object",
26+
"Save and restart VS Code"
27+
};
28+
}
29+
}

0 commit comments

Comments
 (0)