7 references to DashboardOptions
Aspire.Dashboard (7)
Components\Dialogs\McpServerDialog.razor.cs (7)
67
if ((
DashboardOptions
.Value.Mcp.PublicUrl ??
DashboardOptions
.Value.Mcp.EndpointUrl) is { Length: > 0 } mcpUrl)
84
if (
DashboardOptions
.Value.Mcp.AuthMode == McpAuthMode.ApiKey)
86
_mcpConfigProperties.Add(new McpConfigPropertyViewModel { Name = $"{McpApiKeyAuthenticationHandler.McpApiKeyHeaderName} (header)", Value =
DashboardOptions
.Value.Mcp.PrimaryApiKey! });
98
private bool McpEnabled => !
DashboardOptions
.Value.Mcp.Disabled.GetValueOrDefault();
100
private bool IsCliMcpMode =>
DashboardOptions
.Value.Mcp.UseCliMcp == true;
109
if (
DashboardOptions
.Value.Mcp.AuthMode == McpAuthMode.ApiKey)