16 references to McpConfigFileHelper
aspire (16)
Agents\ClaudeCode\ClaudeCodeAgentEnvironmentScanner.cs (4)
182return McpConfigFileHelper.HasServerConfigured(configFilePath, "mcpServers", AspireServerName); 191return McpConfigFileHelper.HasServerConfigured(configFilePath, "mcpServers", "playwright"); 212var config = await McpConfigFileHelper.ReadConfigAsync(configFilePath, cancellationToken); 242var config = await McpConfigFileHelper.ReadConfigAsync(configFilePath, cancellationToken);
Agents\CopilotCli\CopilotCliAgentEnvironmentScanner.cs (4)
165return McpConfigFileHelper.HasServerConfigured(configFilePath, "mcpServers", AspireServerName); 199var config = await McpConfigFileHelper.ReadConfigAsync(configFilePath, cancellationToken); 243var config = await McpConfigFileHelper.ReadConfigAsync(configFilePath, cancellationToken); 273return McpConfigFileHelper.HasServerConfigured(configFilePath, "mcpServers", "playwright");
Agents\OpenCode\OpenCodeAgentEnvironmentScanner.cs (4)
124return McpConfigFileHelper.HasServerConfigured(configFilePath, "mcp", AspireServerName, RemoveJsonComments); 181var config = await McpConfigFileHelper.ReadConfigAsync(configFilePath, cancellationToken, RemoveJsonComments); 215var config = await McpConfigFileHelper.ReadConfigAsync(configFilePath, cancellationToken, RemoveJsonComments); 246return McpConfigFileHelper.HasServerConfigured(configFilePath, "mcp", "playwright", RemoveJsonComments);
Agents\VsCode\VsCodeAgentEnvironmentScanner.cs (4)
208return McpConfigFileHelper.HasServerConfigured(mcpConfigPath, "servers", AspireServerName); 217return McpConfigFileHelper.HasServerConfigured(mcpConfigPath, "servers", "playwright"); 244var config = await McpConfigFileHelper.ReadConfigAsync(mcpConfigPath, cancellationToken); 281var config = await McpConfigFileHelper.ReadConfigAsync(mcpConfigPath, cancellationToken);