File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -223,14 +223,14 @@ export default {
223
223
} ,
224
224
mcpNode : {
225
225
label : 'MCP Server' ,
226
- text : 'Call MCP Tools through SSE' ,
226
+ text : 'Call MCP Tools through SSE/STREAMABLE_HTTP ' ,
227
227
getToolsSuccess : 'Get Tools Successfully' ,
228
228
getTool : 'Get Tools' ,
229
229
tool : 'Tool' ,
230
230
toolParam : 'Tool Params' ,
231
231
mcpServerTip : 'Please enter the JSON format of the MCP server config' ,
232
232
mcpToolTip : 'Please select a tool' ,
233
- configLabel : 'MCP Server Config (Only supports SSE call method)'
233
+ configLabel : 'MCP Server Config (Only supports SSE/STREAMABLE_HTTP call method)'
234
234
} ,
235
235
imageGenerateNode : {
236
236
label : 'Image Generation' ,
Original file line number Diff line number Diff line change @@ -224,14 +224,14 @@ export default {
224
224
} ,
225
225
mcpNode : {
226
226
label : 'MCP 调用' ,
227
- text : '通过SSE方式执行MCP服务中的工具 ' ,
227
+ text : '通过SSE/STREAMABLE_HTTP方式执行MCP服务中的工具 ' ,
228
228
getToolsSuccess : '获取工具成功' ,
229
229
getTool : '获取工具' ,
230
230
tool : '工具' ,
231
231
toolParam : '工具参数' ,
232
232
mcpServerTip : '请输入JSON格式的MCP服务器配置' ,
233
233
mcpToolTip : '请选择工具' ,
234
- configLabel : 'MCP Server Config (仅支持SSE调用方式 )'
234
+ configLabel : 'MCP Server Config (仅支持SSE/STREAMABLE_HTTP调用方式 )'
235
235
} ,
236
236
imageGenerateNode : {
237
237
label : '图片生成' ,
Original file line number Diff line number Diff line change @@ -223,14 +223,14 @@ export default {
223
223
} ,
224
224
mcpNode : {
225
225
label : 'MCP 調用' ,
226
- text : '透過SSE方式執行MCP服務中的工具 ' ,
226
+ text : '透過SSE/STREAMABLE_HTTP方式執行MCP服務中的工具 ' ,
227
227
getToolsSuccess : '獲取工具成功' ,
228
228
getTool : '獲取工具' ,
229
229
tool : '工具' ,
230
230
toolParam : '工具變數' ,
231
231
mcpServerTip : '請輸入JSON格式的MCP服務器配置' ,
232
232
mcpToolTip : '請選擇工具' ,
233
- configLabel : 'MCP Server Config (僅支持SSE調用方式 )'
233
+ configLabel : 'MCP Server Config (僅支持SSE/STREAMABLE_HTTP調用方式 )'
234
234
} ,
235
235
imageGenerateNode : {
236
236
label : '圖片生成' ,
Original file line number Diff line number Diff line change @@ -266,6 +266,10 @@ function getTools() {
266
266
.then ((res : any ) => {
267
267
form_data .value .mcp_tools = res .data
268
268
MsgSuccess (t (' views.applicationWorkflow.nodes.mcpNode.getToolsSuccess' ))
269
+ // 修改了json,刷新mcp_server
270
+ form_data .value .mcp_server = form_data .value .mcp_tools .filter (
271
+ (item : any ) => item .name === form_data .value .mcp_tool
272
+ )[0 ].server
269
273
})
270
274
}
271
275
You can’t perform that action at this time.
0 commit comments