-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Contact Information
No response
MaxKB Version
1.10.8 LTS & 2.0.0
Problem Description
Environment: Quickchart MCP Server
It returns Exception when set data in the format like this in parameter(customr or reference variable):
[{"label": "Sales","data":[65,59,80],"backgroundColor":["#FF6384","#36A2EB","#FFCE56"]}]

From MCP Server side, we observed the request from the log. The dataset was captured in the screenshot below, which is the cause of the problem.
"[{\"label\": \"Sales\",\"data\":[65,59,80],\"backgroundColor\":[\"#FF6384\",\"#36A2EB\",\"#FFCE56\"]}]"

The MCP call completed successfully if the server side receives the data in the format like this:
[{"label":"Sales","data":[65,59,80],"backgroundColor":["#FF6384","#36A2EB","#FFCE56"]}]

Steps to Reproduce
- Have MCP server setup
- Create Workflow with MCP client node
- Set the parameter of the MCP client node with data format or variable similar to what described above.
The expected correct result
The MCP call is expected to complete successfully.
Related log output
Refer to the information in problem description.
Additional Information
If quest the mcp call directly using python with right data format, it completes successfully.