Stirling PDF MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 11 tools to Add Watermark, Cert Sign, Get All Requests, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Stirling PDF 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 Stirling PDF MCP Server for Vercel AI SDK is a standout in the Productivity category — giving your AI agent 11 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 Stirling PDF, 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 Stirling PDF MCP Server
Connect your Stirling PDF instance to any AI agent and take full control of your document workflows through natural conversation. This server allows you to process PDF files, convert formats, and monitor your self-hosted infrastructure.
The Vercel AI SDK gives every Stirling PDF tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 11 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
- Document Manipulation — Add text watermarks with custom opacity and font sizes, or convert images directly into PDF documents.
- Digital Security — Sign PDF documents using certificates with specific reasons and location metadata.
- Server Monitoring — Track application status, version info, and detailed request metrics (POST/GET) across all endpoints.
- Advanced Operations — Use the generic tool runner to access specialized features like merging, splitting, or extracting images from PDFs.
- Enterprise Metrics — Access Prometheus metrics for deep observability into your document processing pipeline.
The Stirling PDF MCP Server exposes 11 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 11 Stirling PDF tools available for Vercel AI SDK
When Vercel AI SDK connects to Stirling PDF through Vinkius, your AI agent gets direct access to every tool listed below — spanning pdf-tools, watermarking, pdf-conversion, 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.
Add watermark on Stirling PDF
Add a watermark to a PDF document
Cert sign on Stirling PDF
Sign a PDF document with a certificate
Get all requests on Stirling PDF
Get POST requests count for all endpoints
Get all unique requests on Stirling PDF
Get unique users count for all endpoints
Get load on Stirling PDF
Get total count of GET requests
Get prometheus metrics on Stirling PDF
Get Prometheus metrics (requires Enterprise tier)
Get requests on Stirling PDF
Get total count of POST requests
Get status on Stirling PDF
Get application status and version information
Get unique requests on Stirling PDF
Get count of unique users for POST requests
Img to pdf on Stirling PDF
Convert an image to a PDF document
Run generic tool on Stirling PDF
Pass additional parameters as a JSON string. Run any Stirling PDF tool by its ID
Connect Stirling PDF to Vercel AI SDK via MCP
Follow these steps to wire Stirling PDF 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 Stirling PDF MCP Server
Vercel AI SDK provides unique advantages when paired with Stirling PDF 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 Stirling PDF integration everywhere
Built-in streaming UI primitives let you display Stirling PDF 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
Stirling PDF + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Stirling PDF MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Stirling PDF in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Stirling PDF tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Stirling PDF capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Stirling PDF through natural language queries
Example Prompts for Stirling PDF in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Stirling PDF immediately.
"Check the current status and version of my Stirling PDF server."
"Add a 'CONFIDENTIAL' watermark to this PDF with 0.5 opacity."
"Convert this image to a PDF document named 'report.pdf'."
Troubleshooting Stirling PDF MCP Server with Vercel AI SDK
Common issues when connecting Stirling PDF to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpStirling PDF + Vercel AI SDK FAQ
Common questions about integrating Stirling PDF 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 →
Bizzabo
10 toolsOrchestrate your event experience via Bizzabo — manage events, registrations, and attendees directly from any AI agent.

DOT Transportation / 美国交通部
8 toolsOfficial U.S. DOT transportation data — decode VINs, check safety recalls, and audit ratings via AI.

Candid (GuideStar)
10 toolsAccess comprehensive non-profit data via Candid — search organizations, verify charity status, and retrieve detailed financials directly from any AI agent.

Airship
10 toolsMobile engagement orchestration — manage push notifications, segments, and channels via AI.
