Replies: 1 comment
|
@zthafir The error: indicates that the MCP server is correctly validating its input schema, but Flowise is sending values like: {
"maxDepth": "3",
"limit": "10",
"ignoreQueryParameters": "true"
}instead of: {
"maxDepth": 3,
"limit": 10,
"ignoreQueryParameters": true
}Since the Firecrawl MCP server uses strict schema validation, it rejects those requests with a From what I can tell, I couldn't find any setting in Flowise's Custom MCP node that lets you specify or override the runtime data types for tool arguments. The documentation explains how to configure the MCP server and select available actions, but it doesn't mention automatic type coercion for tool inputs. :contentReference[oaicite:1]{index=1} There have also been related reports where MCP tools failed because Flowise passed values in an unexpected type (for example, sending an object as a string), which suggests this area has had interoperability issues with strongly typed MCP servers. :contentReference[oaicite:2]{index=2} Things you can try
At this point, I suspect this is a limitation or bug in Flowise's handling of MCP tool arguments rather than a configuration issue. A couple of questions that would help confirm that:
If it reproduces across different MCP servers that expect typed parameters, I'd recommend opening a GitHub Issue, as Flowise should ideally preserve the JSON schema types (number, boolean, object, etc.) when invoking MCP tools. If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I’m working on a case where I want to use an MCP server (specifically a custom MCP server). This server contains a group of tools, and each tool may accept different input arguments with different data types.
The issue I’m facing is that whenever I try to use a tool, Flowise always converts the input arguments into strings, which then causes errors.
For example, when using the Firecrawl MCP server and selecting the FIRECRAWL_CRAWL tool , I get the following error:
Here are the screenshots of the Flow setup that produces this issue:


So my question is:
Is there a way to prevent Flowise from converting all arguments to strings, or to handle this type casting properly so the tools receive the correct types (number, boolean, etc.)?
All reactions