@if (stateLoading()) {
{{ 'XP.Plugin.CheckingMcpState' | translate: { Default: 'Checking MCP status...' } }}
} @if (stateError()) {
{{ 'XP.Plugin.McpStateUnavailable' | translate: { Default: 'MCP status could not be loaded. Refresh this plugin detail and try again.' } }}
} @if (syncError(); as error) {
{{ 'XP.Plugin.McpLastSyncFailed' | translate: { Default: 'The last MCP synchronization failed.' } }}
{{ error }}
}
{{ 'XP.Plugin.McpToolCount' | translate: { count: toolCount(), Default: toolCount() + ' tools' } }} {{ 'XP.Plugin.McpTransportStreamableHttp' | translate: { Default: 'Streamable HTTP' } }} {{ (isActive() ? 'XP.Plugin.McpServerStatusActive' : 'XP.Plugin.McpServerStatusDisabled') | translate: { Default: isActive() ? 'Enabled' : 'Disabled' } }} @if (actionPending()) { }
@if (canManage()) {
@if (isActive()) { } @else { } @if (canOpenAdvancedSettings()) { {{ 'XP.Plugin.AdvancedMcpSettings' | translate: { Default: 'Advanced settings' } }} }
}
@if (isActive() && !connection() && canManage()) { } @if (connection(); as currentConnection) {
{{ currentConnection.connectionInfo.endpoint }}
@if (canManage()) {
{{ 'XP.Plugin.McpApiKeyProtected' | translate: { Default: 'Keep this API token private. It grants access to this MCP server.' } }}
@if (credentialVisible() && currentConnection.apiKeySecret; as secret) {
{{ credentialVisible() ? secret : '••••••••••••••••••••••••' }}
}
} @if (clientConfiguration(); as config) {
{{ 'XP.Plugin.McpClientConfiguration' | translate: { Default: 'MCP client configuration' } }}
{{ config }}
}
} @if (actionError()) {
{{ actionError() }}
}