|
@@ -3511,7 +3511,7 @@
|
|
|
},
|
|
},
|
|
|
"/api/ai/mcp/selectList": {
|
|
"/api/ai/mcp/selectList": {
|
|
|
"post": {
|
|
"post": {
|
|
|
- "summary": "获取mcp选择列表",
|
|
|
|
|
|
|
+ "summary": "MCP选择列表",
|
|
|
"deprecated": false,
|
|
"deprecated": false,
|
|
|
"description": "",
|
|
"description": "",
|
|
|
"tags": ["resource"],
|
|
"tags": ["resource"],
|
|
@@ -3520,10 +3520,9 @@
|
|
|
"name": "Authorization",
|
|
"name": "Authorization",
|
|
|
"in": "header",
|
|
"in": "header",
|
|
|
"description": "",
|
|
"description": "",
|
|
|
- "example": "bpm_client_1513029045627916288",
|
|
|
|
|
|
|
+ "example": "bpm_client_1521524767180460032",
|
|
|
"schema": {
|
|
"schema": {
|
|
|
- "type": "string",
|
|
|
|
|
- "default": "bpm_client_1513029045627916288"
|
|
|
|
|
|
|
+ "type": "string"
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
@@ -3537,13 +3536,10 @@
|
|
|
"type": "string"
|
|
"type": "string"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- "required": []
|
|
|
|
|
|
|
+ "required": ["keyword"]
|
|
|
},
|
|
},
|
|
|
"example": {
|
|
"example": {
|
|
|
- "keyword": "",
|
|
|
|
|
- "transport_type": "",
|
|
|
|
|
- "pageIndex": 1,
|
|
|
|
|
- "pageSize": 20
|
|
|
|
|
|
|
+ "keyword": ""
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -3564,113 +3560,19 @@
|
|
|
"type": "integer"
|
|
"type": "integer"
|
|
|
},
|
|
},
|
|
|
"result": {
|
|
"result": {
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "currentPage": {
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "hasNextPage": {
|
|
|
|
|
- "type": "boolean"
|
|
|
|
|
- },
|
|
|
|
|
- "hasPreviousPage": {
|
|
|
|
|
- "type": "boolean"
|
|
|
|
|
- },
|
|
|
|
|
- "model": {
|
|
|
|
|
- "type": "array",
|
|
|
|
|
- "items": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "advanced_config": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "retry_count": {
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "retry_delay": {
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "timeout": {
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["retry_count", "retry_delay", "timeout"]
|
|
|
|
|
- },
|
|
|
|
|
- "auth_config": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {}
|
|
|
|
|
- },
|
|
|
|
|
- "creationTime": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "creatorUserId": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "description": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "enabled": {
|
|
|
|
|
- "type": "boolean"
|
|
|
|
|
- },
|
|
|
|
|
- "env_vars": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {}
|
|
|
|
|
- },
|
|
|
|
|
- "headers": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {}
|
|
|
|
|
- },
|
|
|
|
|
- "id": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "isDeleted": {
|
|
|
|
|
- "type": "boolean"
|
|
|
|
|
- },
|
|
|
|
|
- "is_builtin": {
|
|
|
|
|
- "type": "boolean"
|
|
|
|
|
- },
|
|
|
|
|
- "name": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "stdio_config": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "command": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["command"]
|
|
|
|
|
- },
|
|
|
|
|
- "transport_type": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "updateTime": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "url": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "id": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "name": {
|
|
|
|
|
+ "type": "string"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- "pageSize": {
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "totalCount": {
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- },
|
|
|
|
|
- "totalPages": {
|
|
|
|
|
- "type": "integer"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": [
|
|
|
|
|
- "currentPage",
|
|
|
|
|
- "hasNextPage",
|
|
|
|
|
- "hasPreviousPage",
|
|
|
|
|
- "model",
|
|
|
|
|
- "pageSize",
|
|
|
|
|
- "totalCount",
|
|
|
|
|
- "totalPages"
|
|
|
|
|
- ]
|
|
|
|
|
|
|
+ "required": ["id", "name"]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
"isAuthorized": {
|
|
"isAuthorized": {
|
|
|
"type": "boolean"
|
|
"type": "boolean"
|
|
@@ -3681,40 +3583,28 @@
|
|
|
"example": {
|
|
"example": {
|
|
|
"isSuccess": true,
|
|
"isSuccess": true,
|
|
|
"code": 1,
|
|
"code": 1,
|
|
|
- "result": {
|
|
|
|
|
- "currentPage": 1,
|
|
|
|
|
- "hasNextPage": true,
|
|
|
|
|
- "hasPreviousPage": false,
|
|
|
|
|
- "model": [
|
|
|
|
|
- {
|
|
|
|
|
- "advanced_config": {
|
|
|
|
|
- "retry_count": 3,
|
|
|
|
|
- "retry_delay": 1,
|
|
|
|
|
- "timeout": 30
|
|
|
|
|
- },
|
|
|
|
|
- "auth_config": {},
|
|
|
|
|
- "creationTime": "2026-05-15 16:51:27",
|
|
|
|
|
- "creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
|
|
|
|
|
- "description": "沙鲁的MCP服务",
|
|
|
|
|
- "enabled": false,
|
|
|
|
|
- "env_vars": {},
|
|
|
|
|
- "headers": {},
|
|
|
|
|
- "id": "da3f6fb2-171b-434a-976f-be2260b3f0dc",
|
|
|
|
|
- "isDeleted": false,
|
|
|
|
|
- "is_builtin": false,
|
|
|
|
|
- "name": "新的MCP",
|
|
|
|
|
- "stdio_config": {
|
|
|
|
|
- "command": ""
|
|
|
|
|
- },
|
|
|
|
|
- "transport_type": "http-streamable",
|
|
|
|
|
- "updateTime": "2026-05-15 16:51:27",
|
|
|
|
|
- "url": "http://shalu-componenttesting-c-dev.shalu.com/api/mcp/account"
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- "pageSize": 20,
|
|
|
|
|
- "totalCount": 1,
|
|
|
|
|
- "totalPages": 1
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ "result": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "1ebd8255-f326-44bb-9270-9d1e9d3b4b1a",
|
|
|
|
|
+ "name": "业务表操作工具"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "0eff85f9-35e0-4244-a22f-fe222eb8afab",
|
|
|
|
|
+ "name": "流程工具"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "961c47f7-42dc-4135-bdc6-689ee736f12c",
|
|
|
|
|
+ "name": "视图数据工具"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "4d8faa4a-db87-4044-b8f6-b3bafadc291b",
|
|
|
|
|
+ "name": "基础数据工具"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "c0f5ff81-983b-4733-ac19-ac42b9f6c52d",
|
|
|
|
|
+ "name": "账户工具"
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
"isAuthorized": true
|
|
"isAuthorized": true
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|