+ {message(running ? "testing" : entry.state === "success" ? "success" : "failure")} +
+ {hasValidationStages(result ?? null) && ( +{oauthErrorMessage(intl, entry.errorCode)}
} + {entry.state === "success" && result?.componentCounts?.tools !== undefined && ( ++ {intl.formatMessage( + { + id: `mcpServer.testConnection.${result.countsPartial ? "countsPartial" : "counts"}.tools`, + }, + { count: result.componentCounts.tools }, + )} +
+ )} + {entry.testedAt && ( ++ {intl.formatMessage( + { id: "mcpServer.oauthValidation.testedAt" }, + { time: intl.formatTime(entry.testedAt) }, + )} +
+ )} +