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
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | File name (e.g., 'report.csv', 'data.json') |
content | string | Yes | Text content to save. |
mime_type | string | No | MIME type (default: auto-detect from extension) |
category | string | No | Category for organization (e.g., 'backups', 'reports') |
tags | string | No | Comma-separated tags. |
path | string | No | Subfolder path within workspace (default: 'uploads') |
write_binary
Write binary content (base64-encoded) as a file in organization storage.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | File name (e.g., 'backup.dump', 'image.png') |
base64_content | string | Yes | Base64-encoded binary content. |
mime_type | string | Yes | MIME type (e.g., 'application/octet-stream', 'image/png') |
category | string | No | Category. |
tags | string | No | Comma-separated tags. |
path | string | No | Subfolder 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Storage key of the file (from write_file/list_files response) |
list_files
List files in organization storage. Navigate folders with path parameter.
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | No | Subfolder path within the workspace (e.g., uploads). Empty = workspace root. |
limit | number | No | Max files to return (default: 100) |
get_file_info
Get file metadata (size, content type, category, tags) without downloading.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Storage 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Storage key of the file to parse (from write_file/write_binary/list_files response) |
max_length | number | No | Maximum 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Storage key of the file. |
expires_in | number | No | Link lifetime in seconds (default 3600 = 1 hour, maximum 7 days). |
delete_file
Delete a file from organization storage.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Storage 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'ssend_document(s3_key). Reading a file only to hand it to another tool drags its whole content through every following step. Useread_fileonly when the workflow itself must look at the content. - Size limits.
read_filerefuses files over 5 MB andparse_textfiles over 50 MB. For a larger file, pass its key on or create a link withget_download_url. - Extract before analyzing. Run
parse_texton 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
- Trigger - Webhook receives data.
- Agent - Turns the data into a CSV report.
- Action - MCP tool
files:write_filewithnamereport-{{trigger.data.date}}.csvandcontenttaken from the Agent node's output. - Action - MCP tool
files:get_download_urlwithkey{{steps.save.output.response.key}}. - Action - Send the link with Slack or Telegram.
Screening a CV from an email attachment
- Trigger - Schedule or manual.
- Action -
google-workspace:gmail_searchfor new candidate emails. - Action -
google-workspace:gmail_readto get the attachment metadata. - Action -
google-workspace:gmail_get_attachmentto download the CV (base64). - Action -
files:write_binaryto store it. - Action -
files:parse_textto extract its text. - Agent - Score the CV against the job description.
- Action -
google-workspace:sheets_appendto log the result.