4 instantiations of AgentConfigLocation
aspire (4)
Agents\DeprecatedMcpCommandScanner.cs (4)
24new AgentConfigLocation("Claude Code", ".mcp.json", ConfigFormat.McpServersWithArgs, "mcpServers"), 25new AgentConfigLocation("VS Code", ".vscode/mcp.json", ConfigFormat.McpServersWithArgs, "servers"), 26new AgentConfigLocation("Copilot CLI", ".github/copilot/mcp.json", ConfigFormat.McpServersWithArgs, "servers"), 27new AgentConfigLocation("OpenCode", "opencode.jsonc", ConfigFormat.McpWithCommandArray, "mcp"),
5 references to AgentConfigLocation
aspire (5)
Agents\DeprecatedMcpCommandScanner.cs (5)
22private static readonly AgentConfigLocation[] s_configLocations = 48foreach (var location in s_configLocations) 104private static bool HasDeprecatedMcpCommand(JsonObject config, AgentConfigLocation location) 182private AgentEnvironmentApplicator CreateUpdateApplicator(AgentConfigLocation location, string configPath, JsonObject config) 198private async Task UpdateConfigAsync(AgentConfigLocation location, string configPath, JsonObject config, CancellationToken cancellationToken)