Skip to content
Diagram: a client sends file details to an MCP server, then uploads the file straight to storage through a presigned URL.

BlogIndustry News

Presigned URL Uploads Come to MCP: What the Draft Changes

MCP's new draft extension sends files through presigned URLs instead of the model. Here's how it works, where the risks are, and how to get ready.

On November 10, the Model Context Protocol maintainers published a draft extension for something agent builders have been hacking around for two years: moving files. Instead of stuffing a 40 MB PDF into a tool call, an MCP server can now hand the client a presigned URL, the file goes straight to storage, and the model only sees a one-line result (MCP blog).

That sounds like plumbing, and it is. But plumbing is where most agent projects quietly stall. If your AI assistant can read an invoice but can't save the signed copy back to your drive, a person is still doing the last mile by hand. Here's what the draft changes, where the risks sit, and what you should do with your own file workflows now.

TL;DR#

  • MCP's draft io.modelcontextprotocol/files extension moves file bytes outside the protocol, usually through short-lived presigned URLs, so large files never pass through the model.
  • It's experimental, with no reference implementation yet. The maintainers expect it to be stable before the end of 2026.
  • The big open risk is where files go, not who holds the credential. Plan for destination allowlists and treat every downloaded file as untrusted.

What the MCP file extension actually proposes#

The maintainers say requests like saving a PDF from a conversation to cloud storage, or pulling a CSV into a code sandbox, kept coming up, and every team was inventing its own conventions to do it. So they formed a File Uploads Working Group and wrote a draft extension (MCP blog).

The core idea is simple. A server marks a tool argument as a file with an x-mcp-file hint in its input schema, including accepted MIME types and a maximum size. The client, not the model, fills that argument in. Small files can travel inline as base64, up to a limit the server advertises. Anything bigger goes out of band.

It builds on the 2026-07-28 specification, which made the protocol core stateless. That matters: the upload flow doesn't depend on a session sticking to one server instance.

A few honest caveats. The draft is explicitly experimental, there's no reference implementation, and the authors expect the internals to shift once it meets real storage services. It's also optional, so nothing breaks if your client or server ignores it.

How a presigned URL upload works in MCP#

A presigned URL is a link that carries its own temporary permission. AWS describes it as time-limited access to a specific object without changing your bucket policy, signed with the credentials of whoever generated it (AWS S3 docs). The MCP draft uses the same pattern. Here's the upload flow for a save_to_folder tool:

Model ──> Host/Client: call save_to_folder
Host: user (or agent policy) approves sending the file
Client ──> MCP server: tools/call with file metadata only
MCP server: check permissions + quota
MCP server ──> Client: upload_required { url, expiresAt, requestState }
Client ──> Storage: PUT bytes to presigned URL ──> 2xx
Client ──> MCP server: same call + requestState
MCP server: confirm file arrived, check size/type, run tool
Client ──> Model: "Saved Q3 report.pdf" (no bytes, no URL)

Metadata first, bytes second#

Sending only name, type and size first lets the server reject a read-only folder or a blown quota before anyone uploads 40 MB. The requestState value is a tamper-protected note describing the unfinished job, so any server instance can pick it up after the upload (MCP blog).

Downloads run the other way#

A tool that produces a file returns a download link in the result's _meta field, with size and an optional SHA-256 digest. The client fetches it and checks both. The model gets "Exported q3-orders.csv" and nothing more.

Why this matters for agents that touch real documents#

Most useful business automation is file-shaped. Purchase orders arrive as PDFs. Finance lives in CSV exports. Product teams pass around image folders and zipped decks. Until now, getting those through an MCP tool meant one of three bad options: base64 the whole thing into the context window, invent a custom side channel, or leave the step manual.

Pushing raw bytes through the model is slow and expensive, and it fills the context with data the model doesn't need to read. Custom side channels work, but each one is a one-off that your next vendor won't understand. The draft gives everyone the same contract.

There's a quieter benefit too. Because the client handles the transfer, the upload URL never enters the model's context. That's one less place for a prompt injection to grab a live link.

The new release schedule published a day later helps you plan. Spec releases now land twice a year, on the last Tuesday of March and September, with the next one targeted for March 30, 2027. Extensions like this one can mature on their own track in the meantime.

The security trade-offs you need to plan for#

The draft is unusually candid about risk, which makes it easy to see where your own guardrails should go.

ConcernWhat the draft doesWhat's still on you
Leaking your MCP tokencredentials: omit sends no token; include only to the server's own originKeep the default at omit
Redirect tricksClients must refuse redirects and reject targets that set an Authorization headerTest your client actually does
Where the file goesRecommends an allowlist of upload originsEnforce one; it isn't mandatory yet
Duplicate runsServer can mark requestState as usedDo it for any tool that creates records
Malicious downloadsSize and digest checksScan files; a matching hash isn't proof of safety

The destination point deserves a second look. The user approves sending a file before the server says where it's going. A malicious or compromised server could point the upload at an endpoint it controls. Whether the allowlist becomes mandatory is still an open question in the draft.

Presigned links also behave like bearer tokens. On S3, anyone holding one can use it, more than once, until it expires, and SDK-generated links can last up to 7 days (AWS S3 docs). For agent flows, minutes is plenty.

What to do now: a checklist for your file workflows#

You don't need to ship against an experimental draft today. You should get your systems ready so adopting it is a small change, not a rewrite.

  1. List your file-shaped steps. Write down every place a person still downloads, renames or re-uploads a file between systems. That's your shortlist.
  2. Separate metadata from bytes in your own tools. Design tool inputs around name, type, size and destination, so the transfer can move out of band later.
  3. Generate short-lived signed links. Whether it's an S3 presigned URL or your storage's equivalent, keep expiry in minutes. On S3 you can also deny old signatures with the s3:signatureAge condition in a bucket policy.
  4. Maintain a destination allowlist. Agents should only ever push files to storage origins you own.
  5. Make write tools idempotent. A retried upload shouldn't create two invoices or two shipments.
  6. Treat inbound files as hostile. Check type, size and hash, then scan before anything downstream parses them.
  7. Log every transfer. Record who approved it, which tool asked, where the file went and the digest.

How MagicMakers Lab approaches this#

When we build MCP servers for clients, file handling is usually where the real work hides. Our pattern is the one this draft formalizes: metadata through the tool, bytes through short-lived signed links, destinations locked to storage the client owns, and an approval gate before anything leaves the building. It's the same thinking behind the order automation in our Framico case study, where the goal was to remove manual steps without giving up control.

Key takeaways#

  • MCP now has a draft standard for moving files, built around presigned URLs and kept out of the model's context.
  • It's experimental, optional and expected to stabilize before the end of 2026.
  • The main open risk is upload destination, so allowlists belong in your design now.
  • Signed links act like bearer tokens: keep them short-lived and scoped.
  • Preparing your tools today (metadata-first inputs, idempotent writes, transfer logs) makes adoption a small change later.

FAQ#

What is a presigned URL?#

A presigned URL is a link that includes a temporary, cryptographic permission to read or write one specific file. Whoever holds it can use it until it expires, without their own account or credentials. Storage services like Amazon S3 use them so apps can let users or programs upload and download directly, without opening up the whole bucket or proxying the data.

Can MCP servers handle file uploads today?#

Not through a finished standard. The io.modelcontextprotocol/files extension is an experimental draft with no reference implementation, and the maintainers expect it to stabilize before the end of 2026. Today, teams either pass small files inline as base64 or build custom upload tools. Designing those tools around metadata and signed links now makes moving to the standard easier.

Are presigned URLs secure for AI agents?#

They can be, if you scope them tightly. Keep expiry short, restrict each link to one object and one action, and only send files to storage you control. The MCP draft keeps links out of the model's context and stops the client sending its MCP token to unknown hosts, but you still need a destination allowlist and file scanning.

How long should a presigned URL last?#

For agent workflows, a few minutes is usually enough, because the client uploads immediately after the server responds. Longer windows only widen the time a leaked link stays useful. On S3, SDK-generated links can last up to seven days, and links expire early if the credentials that signed them expire first.

If your team still moves files between systems by hand, that's often the cheapest place to start automating, and we're happy to look at it with you. Book a free audit.

Sources#