@@ -7,7 +7,7 @@ export interface McpServerEntry {
77 args : string [ ] ;
88}
99
10- export const AI_ASSISTANT_CHOICES = [ "general " , "vscode" , "cursor" , "gemini" , "junie" ] as const ;
10+ export const AI_ASSISTANT_CHOICES = [ "generic " , "vscode" , "cursor" , "gemini" , "junie" ] as const ;
1111export type AiCodingAssistant = typeof AI_ASSISTANT_CHOICES [ number ] ;
1212
1313interface AssistantMcpConfig {
@@ -16,15 +16,15 @@ interface AssistantMcpConfig {
1616}
1717
1818export const AI_ASSISTANT_LABELS : Record < AiCodingAssistant , string > = {
19- "general " : ".mcp.json (general for Claude Code, VS Code, and other assistants)" ,
19+ "generic " : ".mcp.json (generic for Claude Code, VS Code, and other assistants)" ,
2020 "vscode" : "VS Code (GitHub Copilot)" ,
2121 "cursor" : "Cursor" ,
2222 "gemini" : "Gemini" ,
2323 "junie" : "JetBrains Junie" ,
2424} ;
2525
2626export const AI_ASSISTANT_MCP_CONFIGS : Record < AiCodingAssistant , AssistantMcpConfig > = {
27- "general " : { mcpFilePath : ".mcp.json" , rootKey : "mcpServers" } ,
27+ "generic " : { mcpFilePath : ".mcp.json" , rootKey : "mcpServers" } ,
2828 "vscode" : { mcpFilePath : ".vscode/mcp.json" , rootKey : "servers" } ,
2929 "cursor" : { mcpFilePath : ".cursor/mcp.json" , rootKey : "mcpServers" } ,
3030 "gemini" : { mcpFilePath : ".gemini/settings.json" , rootKey : "mcpServers" } ,
@@ -50,7 +50,7 @@ const IGNITEUI_MCP_SERVERS: Record<string, McpServerEntry> = {
5050 * @returns whether the file was modified
5151 */
5252export function addMcpServers (
53- assistant : AiCodingAssistant = "vscode" ,
53+ assistant : AiCodingAssistant ,
5454 additionalServers ?: Record < string , McpServerEntry >
5555) : boolean {
5656 const { mcpFilePath, rootKey } = AI_ASSISTANT_MCP_CONFIGS [ assistant ] ;
0 commit comments