4,000+ servers built on vurb.ts
Vinkius
Mastra AISDK
Mastra AI
FileStack MCP Server

Bring File Upload
to Mastra AI

Learn how to connect FileStack to Mastra AI and start using 8 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Generate Transform UrlGet Image TagsGet MetadataGet OcrGet Sfw StatusGet Video StatusStart Video TranscodeUpload From Url

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
FileStack

What is the FileStack MCP Server?

Connect your Filestack account to any AI agent to handle complex file workflows, from cloud uploads to advanced AI content analysis, through simple commands.

What you can do

  • Smart Uploads — Upload files directly from any public URL to your Filestack S3 storage using upload_from_url.
  • AI Intelligence — Automatically extract text from documents (get_ocr), detect objects and features in images (get_image_tags), and check for unsafe content (get_sfw_status).
  • Image Transformations — Generate optimized CDN URLs for resizing, blurring, or filtering images using generate_transform_url without manual editing.
  • Video Processing — Initiate and monitor asynchronous video transcoding jobs (start_video_transcode) to convert files into web-ready formats like MP4 or HLS.
  • Metadata Inspection — Retrieve deep technical details including dimensions, mime types, and file sizes with get_metadata.

How it works

  1. Subscribe to this server
  2. Enter your Filestack API Key (and optional Policy/Signature for security)
  3. Start processing assets directly from Claude, Cursor, or any MCP client

Who is this for?

  • Developers — Automate asset pipelines and generate transformation URLs directly from the code editor.
  • Content Moderators — Use AI to automatically flag unsafe images or tag visual assets at scale.
  • Data Engineers — Extract structured text from scanned documents and images using OCR for downstream processing.

Built-in capabilities (8)

generate_transform_url

g., resize=width:400). Does not execute the request, just returns the URL. Generate a Filestack transformation URL

get_image_tags

Detect objects and features in an image

get_metadata

Get metadata for a Filestack file

get_ocr

Extract printed or handwritten text (OCR)

get_sfw_status

Detect unsafe content (Safe for Work)

get_video_status

Poll status of a video transcoding job

start_video_transcode

Returns a UUID that must be used to poll for status. Start asynchronous video/audio transcoding

upload_from_url

Upload a file to Filestack from a public URL

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and FileStack tool infrastructure. Connect 8 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add FileStack without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every FileStack tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

FileStack in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

FileStack and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect FileStack to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for FileStack in Mastra AI

The FileStack MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 8 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

FileStack
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

The Vinkius Advantage

How Vinkius secures FileStack for Mastra AI

Every tool call from Mastra AI to the FileStack MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

How can I extract text from a scanned document or image?

Use the get_ocr tool with the file handle. The AI will perform Optical Character Recognition and return the extracted text along with its coordinates.

02

Is there a way to check if an uploaded image contains adult or unsafe content?

Yes, the get_sfw_status tool uses Filestack Intelligence to analyze the image and return a safety score, helping you moderate content automatically.

03

Can I resize an image without actually downloading and re-uploading it?

Absolutely. Use generate_transform_url to create a specific CDN URL with tasks like resize=width:400. This allows the Filestack CDN to handle the transformation on the fly.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →