WorkFLow To upload the file and send tp MCP server

Hi, i have tried to solve the problem and i am stuck…

There is the flow which get file from the chat and needs to be sent to the custom MCP server via MCP client.

Questions:

  1. Could i send the uploaded file from chat to the MCP server via MCP client ? if yes, please describe which nodes should i use for that
  2. I saw from documentation that only text and image types available in the request and response for MCP server communication, could I send the binary data to MCP server and get Files from it ? how should the MCP client be configured ?
  3. If the flow I described above is not available to create, how could I create workflow to upload the file from chat + parse the message and combine files from chat + send to the remote server via REST api or MCP server api, and get the response with xlsx or xls file which will be available in the cat to download or download automatically after the response appeared ?

Please let me know what should I attach to the message to simplify your understanding of my issue

Waiting for replies, because it is blocking me to go next steps.

1 Like

I too want to know how to do this?

The only examples that I’ve found are reading the contents of the file, using CLI tool nodes or executing other CLI commands (such as outputing the text contents to a file).

Can someone give an example of handling binary files with MCP Server / MCP Client