-
-
Notifications
You must be signed in to change notification settings - Fork 23.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When some of tools in custom MCP server have incorrect schema definition, Flowise failed to load that MCP server with zero error indication. This cause two problems:
- remaining tools that available in that MCP server is not accessible because of this
- making it hard to debug for MCP users
To Reproduce
- install Smarsheet MCP in the local following the instruction in the readme
- open chatflow
- drag a Custom MCP
- use the config below
{
"command": "/usr/local/bin/node",
"args": [
"-r",
"/root/smar-mcp/node_modules/dotenv/config",
"/root/smar-mcp/build/index.js"
],
"env": {
"SMARTSHEET_API_KEY":"123",
"SMARTSHEET_ENDPOINT": "https://api.smartsheet.eu/2.0"
}
}- click the "refresh" button in the right side of available actions dropdown list
- check the server logs
Expected behavior
all other tools provided by SmartSheet MCP should be loaded besides two user related tools that have the schema problem
Screenshots
Flow
No response
Use Method
Docker
Flowise Version
3.0.1
Operating System
Linux
Browser
Other
Additional context
The error of user related tools in SmartSheet MCP failed the loading
Error: Invalid schema type or missing properties
at createSchemaModel (/usr/src/packages/components/dist/nodes/tools/MCP/core.js:139:15)
at /usr/src/packages/components/dist/nodes/tools/MCP/core.js:86:29
at Array.map (<anonymous>)
at MCPToolkit.get_tools (/usr/src/packages/components/dist/nodes/tools/MCP/core.js:77:49)
at MCPToolkit.initialize (/usr/src/packages/components/dist/nodes/tools/MCP/core.js:66:37)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

