9 references to GetMcpConfigPath
aspire (2)
Agents\OpenCode\OpenCodeAgentEnvironmentScanner.cs (1)
22var configFilePath = OpenCodePaths.GetMcpConfigPath(context.RepositoryRoot);
Agents\OpenCode\OpenCodePaths.cs (1)
52return GetMcpConfigPath(new DirectoryInfo(configDirectory));
Aspire.Cli.Tests (7)
Commands\AgentInitClientSelectionTests.cs (7)
801scope is AgentConfigurationScope.Project ? OpenCodePaths.GetMcpConfigPath(workspace.WorkspaceRoot) 851? OpenCodePaths.GetMcpConfigPath(workspace.WorkspaceRoot) : OpenCodePaths.GetGlobalMcpConfigPath(executionContext, environment))!; 905var jsoncPath = scope is AgentConfigurationScope.Project ? OpenCodePaths.GetMcpConfigPath(workspace.WorkspaceRoot) 970var jsoncPath = scope is AgentConfigurationScope.Project ? OpenCodePaths.GetMcpConfigPath(workspace.WorkspaceRoot) 1022var jsoncPath = scope is AgentConfigurationScope.Project ? OpenCodePaths.GetMcpConfigPath(workspace.WorkspaceRoot) 1297var path = scope is AgentConfigurationScope.Project ? OpenCodePaths.GetMcpConfigPath(workspace.WorkspaceRoot) 1336var path = scope is AgentConfigurationScope.Project ? OpenCodePaths.GetMcpConfigPath(workspace.WorkspaceRoot)