# What's the best way to send any arbitrary file from an mcp server to an llm agent ? — retained record

> Retained reddit record from reddit:AI_Agents.

Canonical: https://highsignal.app/data/records/0e218d317cccd6d8

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:AI_Agents)  published 2026-09-28 07:39 ingested 2026-09-29 02:36

[original source ↗](https://www.reddit.com/r/AI_Agents/comments/1ws87vu/whats_the_best_way_to_send_any_arbitrary_file/)

## retained text



```
I'm building an mcp server that downloads files and hands them to a copilot cli agent for analysis.

The files can be pdf's with images, office docs, excel, png etc...

Retuning base64 blobs seems unreliable.

What's the right approach?
```



document fetched 2026-09-29 00:19 · canonical https://reddit.com/r/AI_Agents/comments/1ws87vu/whats_the_best_way_to_send_any_arbitrary_file
