Sonarr (TV) MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 18 tools to Add Series, Delete Episode File, Delete Queue Item, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Sonarr (TV) 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 Sonarr (TV) MCP Server for Vercel AI SDK is a standout in the Productivity category — giving your AI agent 18 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 Sonarr (TV), 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 Sonarr (TV) MCP Server
Connect your Sonarr instance to any AI agent to take full control of your TV media library through natural conversation.
The Vercel AI SDK gives every Sonarr (TV) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 18 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
- Library Management — List all series, add new shows via TVDB ID, and update monitoring status or quality profiles.
- Episode Tracking — Fetch details for specific episodes, list all episodes in a series, and manage their monitored state.
- File Control — List and delete physical episode files directly from your storage to manage disk space.
- Activity Monitoring — Access download history and current queue status to see what's downloading or stalled.
- System Health — Check Sonarr's connectivity, system status, and internal health metrics to ensure smooth operation.
The Sonarr (TV) MCP Server exposes 18 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 18 Sonarr (TV) tools available for Vercel AI SDK
When Vercel AI SDK connects to Sonarr (TV) through Vinkius, your AI agent gets direct access to every tool listed below — spanning media-management, pvr, automation, 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 series on Sonarr (TV)
Adds a new series to the library
Delete episode file on Sonarr (TV)
Deletes an episode file from disk
Delete queue item on Sonarr (TV)
Removes an item from the queue
Delete series on Sonarr (TV)
Removes a series from the library
Get episode on Sonarr (TV)
Returns a specific episode by its ID
Get episode file on Sonarr (TV)
Returns a specific episode file
Get health on Sonarr (TV)
Returns any health check warnings or errors
Get history on Sonarr (TV)
Access the history of grabbed and imported episodes
Get queue on Sonarr (TV)
Returns all items in the download queue
Get series on Sonarr (TV)
Returns a specific series by its ID
Get system status on Sonarr (TV)
Returns system information (version, OS, paths)
List commands on Sonarr (TV)
Returns all currently running commands
List episode files on Sonarr (TV)
Returns all episode files for a series
List episodes on Sonarr (TV)
Returns all episodes for a specific series
List series on Sonarr (TV)
Returns all series in the library
Start command on Sonarr (TV)
g., SeriesSearch, RescanSeries, RefreshSeries). Starts a new command
Update episode on Sonarr (TV)
Updates an episode (e.g., marking it as monitored)
Update series on Sonarr (TV)
Updates an existing series
Connect Sonarr (TV) to Vercel AI SDK via MCP
Follow these steps to wire Sonarr (TV) 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 Sonarr (TV) MCP Server
Vercel AI SDK provides unique advantages when paired with Sonarr (TV) 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 Sonarr (TV) integration everywhere
Built-in streaming UI primitives let you display Sonarr (TV) 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
Sonarr (TV) + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Sonarr (TV) MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Sonarr (TV) in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Sonarr (TV) tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Sonarr (TV) capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Sonarr (TV) through natural language queries
Example Prompts for Sonarr (TV) in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Sonarr (TV) immediately.
"List all TV series in my Sonarr library."
"Check the current download queue and history."
"Get details for episode ID 1542."
Troubleshooting Sonarr (TV) MCP Server with Vercel AI SDK
Common issues when connecting Sonarr (TV) to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpSonarr (TV) + Vercel AI SDK FAQ
Common questions about integrating Sonarr (TV) 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 →
Moving Average Engine
1 toolsCalculate Simple (SMA) and Exponential (EMA) moving averages exactly. Stop LLMs from estimating financial technical indicators.

Reddit Intelligence
9 toolsTap into Reddit's public communities for real-time marketing intelligence — discover trending topics, monitor niches, and analyze sentiment without any API key.

Cody AI
10 toolsEnable your AI agent to manage knowledge-base bots, import documents, and query trained AI assistants via the Cody AI API.

BulkSMS
8 toolsSend and manage SMS messages via BulkSMS.com — track delivery, manage groups, and monitor credits directly from any AI agent.
