Les boutons suivent la couleur d’apparence, les libellés trop petits ou trop techniques sont clarifiés, et le catalogue des fournisseurs se met à jour tout seul. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
687 B
TypeScript
23 lines
687 B
TypeScript
'use client'
|
|
|
|
import { useLanguage } from '@/lib/i18n'
|
|
import { SettingsHelpBox } from '@/components/settings/settings-help-box'
|
|
|
|
export function McpSettingsHeader() {
|
|
const { t } = useLanguage()
|
|
|
|
return (
|
|
<SettingsHelpBox
|
|
title={t('mcpSettings.helpBox.title')}
|
|
defaultOpen={true}
|
|
steps={[
|
|
{ text: t('mcpSettings.helpBox.step1') },
|
|
{ text: t('mcpSettings.helpBox.step2') },
|
|
{ text: t('mcpSettings.helpBox.step3') },
|
|
{ text: t('mcpSettings.helpBox.step4'), link: { label: t('mcpSettings.helpBox.step4Link'), href: 'https://modelcontextprotocol.io/docs' } },
|
|
{ text: t('mcpSettings.helpBox.step5') },
|
|
]}
|
|
/>
|
|
)
|
|
}
|