FileStack MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 8 tools to Generate Transform Url, Get Image Tags, Get Metadata, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect FileStack through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The FileStack MCP Server for Vercel AI SDK is a standout in the Image Video category — giving your AI agent 8 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using FileStack, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* 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
About 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.
The Vercel AI SDK gives every FileStack tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 8 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
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_urlwithout 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.
The FileStack MCP Server exposes 8 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 8 FileStack tools available for Vercel AI SDK
When Vercel AI SDK connects to FileStack through Vinkius, your AI agent gets direct access to every tool listed below — spanning file-upload, image-processing, ocr, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Generate transform url on FileStack
g., resize=width:400). Does not execute the request, just returns the URL. Generate a Filestack transformation URL
Get image tags on FileStack
Detect objects and features in an image
Get metadata on FileStack
Get metadata for a Filestack file
Get ocr on FileStack
Extract printed or handwritten text (OCR)
Get sfw status on FileStack
Detect unsafe content (Safe for Work)
Get video status on FileStack
Poll status of a video transcoding job
Start video transcode on FileStack
Returns a UUID that must be used to poll for status. Start asynchronous video/audio transcoding
Upload from url on FileStack
Upload a file to Filestack from a public URL
Connect FileStack to Vercel AI SDK via MCP
Follow these steps to wire FileStack into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the FileStack MCP Server
Vercel AI SDK provides unique advantages when paired with FileStack through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same FileStack integration everywhere
Built-in streaming UI primitives let you display FileStack tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
FileStack + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the FileStack MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query FileStack in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate FileStack tools and return structured JSON responses to any frontend
Chatbots with tool use: embed FileStack capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with FileStack through natural language queries
Example Prompts for FileStack in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with FileStack immediately.
"Upload this image to Filestack: https://example.com/photo.jpg"
"What objects are detected in the image with handle ABC123XYZ?"
"Convert the video ABC123XYZ to mp4 format."
Troubleshooting FileStack MCP Server with Vercel AI SDK
Common issues when connecting FileStack to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpFileStack + Vercel AI SDK FAQ
Common questions about integrating FileStack MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
Blueshift
10 toolsOrchestrate customer engagement via Blueshift — manage campaigns, track events, and sync customer data directly from any AI agent.

JSONPlaceholder
21 toolsAccess fake online REST API for testing and prototyping — manage posts, comments, albums, photos, and todos directly from your AI agent.

FDIC BankFind Suite
8 toolsAccess comprehensive FDIC data on financial institutions, branches, history, and financial performance directly from your AI agent.

Stemmer & Lemmatizer Engine
1 toolsPorter and Lancaster local text stemming. Reduce vocabulary size exactly and deterministically before feeding text to a vector database.
