feat: add MCP server selection to pipeline extensions (#1754)

* Initial plan

* Backend: Add MCP server selection support to pipeline extensions

Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>

* Frontend: Add MCP server selection UI to pipeline extensions

Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>

* perf: ui

* perf: ui

* perf: desc for extension page

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
Co-authored-by: Junyan Qin <rockchinq@gmail.com>
This commit is contained in:
Copilot
2025-11-06 19:38:12 +08:00
committed by GitHub
parent 68eb0290e0
commit cb48221ed3
12 changed files with 334 additions and 84 deletions
+7 -1
View File
@@ -154,7 +154,7 @@ const enUS = {
plugins: {
title: 'Extensions',
description:
'Install and configure plugins to extend LangBot functionality',
'Install and configure plugins to extend functionality, please select them in the pipeline configuration',
createPlugin: 'Create Plugin',
editPlugin: 'Edit Plugin',
installed: 'Installed',
@@ -438,6 +438,12 @@ const enUS = {
noPluginsSelected: 'No plugins selected',
addPlugin: 'Add Plugin',
selectPlugins: 'Select Plugins',
pluginsTitle: 'Plugins',
mcpServersTitle: 'MCP Servers',
noMCPServersSelected: 'No MCP servers selected',
addMCPServer: 'Add MCP Server',
selectMCPServers: 'Select MCP Servers',
toolCount: '{{count}} tools',
},
debugDialog: {
title: 'Pipeline Chat',
+8 -1
View File
@@ -155,7 +155,8 @@ const jaJP = {
},
plugins: {
title: '拡張機能',
description: 'LangBotの機能を拡張するプラグインをインストール・設定',
description:
'LangBotの機能を拡張するプラグインをインストール・設定。流水線設定で使用します',
createPlugin: 'プラグインを作成',
editPlugin: 'プラグインを編集',
installed: 'インストール済み',
@@ -440,6 +441,12 @@ const jaJP = {
noPluginsSelected: 'プラグインが選択されていません',
addPlugin: 'プラグインを追加',
selectPlugins: 'プラグインを選択',
pluginsTitle: 'プラグイン',
mcpServersTitle: 'MCPサーバー',
noMCPServersSelected: 'MCPサーバーが選択されていません',
addMCPServer: 'MCPサーバーを追加',
selectMCPServers: 'MCPサーバーを選択',
toolCount: '{{count}}個のツール',
},
debugDialog: {
title: 'パイプラインのチャット',
+8 -2
View File
@@ -150,7 +150,7 @@ const zhHans = {
},
plugins: {
title: '插件扩展',
description: '安装和配置用于扩展 LangBot 功能的插件',
description: '安装和配置用于扩展功能的插件,请在流水线配置中选用',
createPlugin: '创建插件',
editPlugin: '编辑插件',
installed: '已安装',
@@ -413,7 +413,7 @@ const zhHans = {
deleteSuccess: '删除成功',
deleteError: '删除失败:',
extensions: {
title: '插件集成',
title: '扩展集成',
loadError: '加载插件列表失败',
saveSuccess: '保存成功',
saveError: '保存失败',
@@ -422,6 +422,12 @@ const zhHans = {
noPluginsSelected: '未选择任何插件',
addPlugin: '添加插件',
selectPlugins: '选择插件',
pluginsTitle: '插件',
mcpServersTitle: 'MCP 服务器',
noMCPServersSelected: '未选择任何 MCP 服务器',
addMCPServer: '添加 MCP 服务器',
selectMCPServers: '选择 MCP 服务器',
toolCount: '{{count}} 个工具',
},
debugDialog: {
title: '流水线对话',
+8 -2
View File
@@ -150,7 +150,7 @@ const zhHant = {
},
plugins: {
title: '外掛擴展',
description: '安裝和設定用於擴展 LangBot 功能的外掛',
description: '安裝和設定用於擴展功能的外掛,請在流程線配置中選用',
createPlugin: '建立外掛',
editPlugin: '編輯外掛',
installed: '已安裝',
@@ -411,7 +411,7 @@ const zhHant = {
deleteSuccess: '刪除成功',
deleteError: '刪除失敗:',
extensions: {
title: '插件集成',
title: '擴展集成',
loadError: '載入插件清單失敗',
saveSuccess: '儲存成功',
saveError: '儲存失敗',
@@ -420,6 +420,12 @@ const zhHant = {
noPluginsSelected: '未選擇任何插件',
addPlugin: '新增插件',
selectPlugins: '選擇插件',
pluginsTitle: '插件',
mcpServersTitle: 'MCP 伺服器',
noMCPServersSelected: '未選擇任何 MCP 伺服器',
addMCPServer: '新增 MCP 伺服器',
selectMCPServers: '選擇 MCP 伺服器',
toolCount: '{{count}} 個工具',
},
debugDialog: {
title: '流程線對話',