How should an MCP server hand arbitrary files like PDFs and Office docs to an LLM agent?

Simple_Newspaper553 · reddit · 2026-09-28

A developer building an MCP server that downloads files for a Copilot CLI agent to analyze—covering image-heavy PDFs, Office docs, Excel, PNGs and more—reports that returning base64 blobs is unreliable.

They're asking the community for the right pattern for passing arbitrary binary content to LLM agents, highlighting a real gap: MCP still lacks an established best practice for binary file transfer.

Original post →

More from coding & agent

coding & agent channel →