FlowTruxFlowTrux/Docs

Files MCP Server

Store, read, list, share and extract text from files in your organization's FlowTrux storage

The Files MCP server (shown as Files Storage (S3) in the catalog) gives workflows a place to keep files: write text or binary files, read them back, list folders, create download links and extract text from office documents. It provides 8 tools.

How It Works

Files live in your organization's FlowTrux storage, organized by workspace. Each file is addressed by a key, returned when the file is written and by list_files. Pass that key to the other tools - and to tools of other servers that accept a stored file, such as Gmail attachments (gmail_send) and Telegram documents (send_document).

The same files are visible on the File Storage page. Writes count toward your plan's storage limit; when it is reached, a write fails with a message saying so.

Setup

None. The Files server is enabled by default: every organization has it, and it is available in each workspace without any keys or configuration.

An OWNER or ADMIN can switch it off for the whole organization in Resources > MCP Servers, or remove it from a single workspace in that workspace's settings (Enabled resources tab > MCP Servers).

Tools

Writing

write_file

Write text or JSON content as a file in organization storage

ParameterTypeRequiredDescription
namestringYesFile name (e.g., 'report.csv', 'data.json')
contentstringYesText content to save.
mime_typestringNoMIME type (default: auto-detect from extension)
categorystringNoCategory for organization (e.g., 'backups', 'reports')
tagsstringNoComma-separated tags.
pathstringNoSubfolder path within workspace (default: 'uploads')

write_binary

Write binary content (base64-encoded) as a file in organization storage.

ParameterTypeRequiredDescription
namestringYesFile name (e.g., 'backup.dump', 'image.png')
base64_contentstringYesBase64-encoded binary content.
mime_typestringYesMIME type (e.g., 'application/octet-stream', 'image/png')
categorystringNoCategory.
tagsstringNoComma-separated tags.
pathstringNoSubfolder path.

Reading and listing

read_file

Read a file by its key. Text files return their content directly, binary files return base64. Files over 5 MB are refused - pass the key on, or use get_download_url / parse_text.

ParameterTypeRequiredDescription
keystringYesStorage key of the file (from write_file/list_files response)

list_files

List files in organization storage. Navigate folders with path parameter.

ParameterTypeRequiredDescription
pathstringNoSubfolder path within the workspace (e.g., uploads). Empty = workspace root.
limitnumberNoMax files to return (default: 100)

get_file_info

Get file metadata (size, content type, category, tags) without downloading.

ParameterTypeRequiredDescription
keystringYesStorage key of the file.

parse_text

Extract the text of a stored document: PDF, DOCX, PPTX, XLSX, ODT, ODP, ODS and RTF. Useful for CVs, reports and other office documents before AI analysis. Files over 50 MB are refused.

ParameterTypeRequiredDescription
keystringYesStorage key of the file to parse (from write_file/write_binary/list_files response)
max_lengthnumberNoMaximum text length to return in characters (default: 100000). Truncates with notice if exceeded.

Sharing and deleting

get_download_url

Create a temporary download link for a file (valid for 1 hour by default).

ParameterTypeRequiredDescription
keystringYesStorage key of the file.
expires_innumberNoLink lifetime in seconds (default 3600 = 1 hour, maximum 7 days).

delete_file

Delete a file from organization storage.

ParameterTypeRequiredDescription
keystringYesStorage key of the file to delete.

Tips

  • Pass the key, not the bytes. To email or send a stored file, give its key to gmail_send (s3_key) or Telegram's send_document (s3_key). Reading a file only to hand it to another tool drags its whole content through every following step. Use read_file only when the workflow itself must look at the content.
  • Size limits. read_file refuses files over 5 MB and parse_text files over 50 MB. For a larger file, pass its key on or create a link with get_download_url.
  • Extract before analyzing. Run parse_text on a PDF, DOCX, PPTX, XLSX, ODT, ODP, ODS or RTF file before giving it to an Agent node.
  • Download links expire. The default is one hour; pass expires_in (seconds, up to 7 days) for a link that has to last longer.

Example Workflows

Saving workflow output

  1. Trigger - Webhook receives data.
  2. Agent - Turns the data into a CSV report.
  3. Action - MCP tool files:write_file with name report-{{trigger.data.date}}.csv and content taken from the Agent node's output.
  4. Action - MCP tool files:get_download_url with key {{steps.save.output.response.key}}.
  5. Action - Send the link with Slack or Telegram.

Screening a CV from an email attachment

  1. Trigger - Schedule or manual.
  2. Action - google-workspace:gmail_search for new candidate emails.
  3. Action - google-workspace:gmail_read to get the attachment metadata.
  4. Action - google-workspace:gmail_get_attachment to download the CV (base64).
  5. Action - files:write_binary to store it.
  6. Action - files:parse_text to extract its text.
  7. Agent - Score the CV against the job description.
  8. Action - google-workspace:sheets_append to log the result.