feat(MCP): add external MCP search website link in MCP settings
This commit is contained in:
parent
c29cab7daa
commit
424eb09995
@ -856,6 +856,7 @@
|
||||
"editServer": "Edit Server",
|
||||
"env": "Environment Variables",
|
||||
"envTooltip": "Format: KEY=value, one per line",
|
||||
"findMore": "Find More MCP Servers",
|
||||
"name": "Name",
|
||||
"nameRequired": "Please enter a server name",
|
||||
"noServers": "No servers configured",
|
||||
|
||||
@ -856,6 +856,7 @@
|
||||
"editServer": "サーバーを編集",
|
||||
"env": "環境変数",
|
||||
"envTooltip": "形式: KEY=value, 1行に1つ",
|
||||
"findMore": "MCP サーバーを見つける",
|
||||
"name": "名前",
|
||||
"nameRequired": "サーバー名を入力してください",
|
||||
"noServers": "サーバーが設定されていません",
|
||||
|
||||
@ -856,6 +856,7 @@
|
||||
"editServer": "Редактировать сервер",
|
||||
"env": "Переменные окружения",
|
||||
"envTooltip": "Формат: KEY=value, по одной на строку",
|
||||
"findMore": "Найти больше MCP серверов",
|
||||
"name": "Имя",
|
||||
"nameRequired": "Пожалуйста, введите имя сервера",
|
||||
"noServers": "Серверы не настроены",
|
||||
|
||||
@ -856,6 +856,7 @@
|
||||
"editServer": "编辑服务器",
|
||||
"env": "环境变量",
|
||||
"envTooltip": "格式:KEY=value,每行一个",
|
||||
"findMore": "更多 MCP 服务器",
|
||||
"name": "名称",
|
||||
"nameRequired": "请输入服务器名称",
|
||||
"noServers": "未配置服务器",
|
||||
|
||||
@ -856,6 +856,7 @@
|
||||
"editServer": "編輯伺服器",
|
||||
"env": "環境變數",
|
||||
"envTooltip": "格式:KEY=value,每行一個",
|
||||
"findMore": "更多 MCP 伺服器",
|
||||
"name": "名稱",
|
||||
"nameRequired": "請輸入伺服器名稱",
|
||||
"noServers": "未設定伺服器",
|
||||
|
||||
@ -1,4 +1,11 @@
|
||||
import { DeleteOutlined, EditOutlined, PlusOutlined, QuestionCircleOutlined } from '@ant-design/icons'
|
||||
import {
|
||||
DeleteOutlined,
|
||||
EditOutlined,
|
||||
LinkOutlined,
|
||||
PlusOutlined,
|
||||
QuestionCircleOutlined,
|
||||
SearchOutlined
|
||||
} from '@ant-design/icons'
|
||||
import { HStack } from '@renderer/components/Layout'
|
||||
import { useTheme } from '@renderer/context/ThemeProvider'
|
||||
import { useAppSelector } from '@renderer/store'
|
||||
@ -50,6 +57,10 @@ const MCPSettings: FC = () => {
|
||||
}
|
||||
}
|
||||
|
||||
const handleOpenMCPServers = () => {
|
||||
window.open('https://glama.ai/mcp/servers', '_blank')
|
||||
}
|
||||
|
||||
const columns = [
|
||||
{
|
||||
title: t('settings.mcp.name'),
|
||||
@ -153,6 +164,9 @@ const MCPSettings: FC = () => {
|
||||
<Button icon={<EditOutlined />} onClick={() => EditMcpJsonPopup.show()}>
|
||||
{t('settings.mcp.editJson')}
|
||||
</Button>
|
||||
<Button icon={<SearchOutlined />} onClick={handleOpenMCPServers}>
|
||||
{t('settings.mcp.findMore')} <LinkOutlined />
|
||||
</Button>
|
||||
</HStack>
|
||||
<Table
|
||||
dataSource={mcpServers}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user