AI seems to be the future and for some reason people are charging for it.
Everyone and their dog is slapping “AI” on a SaaS tier and charging extra for it right now. MCP (the Model Context Protocol) is a standard way for an AI assistant to use another service’s tools: the service publishes a list of things it can do (“list files”, “upload”, “inspect”), and the assistant calls them. Connecting an agent to Sarkoa via MCP is genuinely useful - as long as you don’t do something silly like piping a multi-gigabyte GeoTIFF through an LLM tool call.
The reason it’s silly: everything an assistant sends through a tool call passes through its own working memory (its context), which holds a limited amount of text. A multi-gigabyte GeoTIFF is billions of numbers.
Sarkoa already had a clean path for big browser uploads via presigned URLs (a one-time, short-lived web address that lets you put one file in one exact spot in storage), so the hosted MCP server just reuses that exact pattern. Instead of shoving raw pixels through the protocol, the MCP server acts as a traffic cop: it hands the client a signed URL, lets the client push the bytes straight to storage, and then helps it poll status and inspect what came out.
Upload, poll, inspect
- The client asks Sarkoa for an upload destination and gets back a signed URL.
- It PUTs the GeoTIFF directly to object storage and tells Sarkoa the transfer is done.
- While the background processor converts it, the client polls the status endpoint (asks “is it ready yet?” every few seconds) until it’s ready.
- Once ready, it calls inspect to find out what kind of layer it’s actually dealing with.
The MCP server only coordinates. The file travels directly from the client to object storage.
Why does that last step matter? Take the December 2018 optical mosaic from my Camp Fire map (~24 MB TIFF in WGS 84 / UTM zone 10N). From a .tif filename alone, an agent has no idea what’s inside. Calling inspect tells it three things it actually needs (selected status and inspection fields): it’s an active raster, it’s a 4-band Cloud Optimized GeoTIFF, and it’s classified as a visual product.
That last flag saves the agent from guessing wrong. A 4-band visual image is RGBA meant to sit underneath other layers, whereas four measured scientific bands need a colour ramp and styling rules. Telling the client outright stops it from trying to style an aerial photo like a temperature grid.
I also baked the discover -> poll -> inspect workflow instructions directly into the server’s MCP initialization handshake, so any client learns how to wait on conversions the moment it connects.