4,000+ servers built on vurb.ts
Vinkius

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

MCP Inspector GDPR Free for Subscribers

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.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
typescript
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();
Sonarr (TV)
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

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

Add series on Sonarr (TV)

Adds a new series to the library

delete

Delete episode file on Sonarr (TV)

Deletes an episode file from disk

delete

Delete queue item on Sonarr (TV)

Removes an item from the queue

delete

Delete series on Sonarr (TV)

Removes a series from the library

get

Get episode on Sonarr (TV)

Returns a specific episode by its ID

get

Get episode file on Sonarr (TV)

Returns a specific episode file

get

Get health on Sonarr (TV)

Returns any health check warnings or errors

get

Get history on Sonarr (TV)

Access the history of grabbed and imported episodes

get

Get queue on Sonarr (TV)

Returns all items in the download queue

get

Get series on Sonarr (TV)

Returns a specific series by its ID

get

Get system status on Sonarr (TV)

Returns system information (version, OS, paths)

list

List commands on Sonarr (TV)

Returns all currently running commands

list

List episode files on Sonarr (TV)

Returns all episode files for a series

list

List episodes on Sonarr (TV)

Returns all episodes for a specific series

list

List series on Sonarr (TV)

Returns all series in the library

start

Start command on Sonarr (TV)

g., SeriesSearch, RescanSeries, RefreshSeries). Starts a new command

update

Update episode on Sonarr (TV)

Updates an episode (e.g., marking it as monitored)

update

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.

01

Install dependencies

Run npm install @ai-sdk/mcp ai @ai-sdk/openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the script

Save to agent.ts and run with npx tsx agent.ts
04

Explore tools

The SDK discovers 18 tools from Sonarr (TV) and passes them to the LLM

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.

01

TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box

02

Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Sonarr (TV) integration everywhere

03

Built-in streaming UI primitives let you display Sonarr (TV) tool results progressively in React, Svelte, or Vue components

04

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.

01

AI-powered web apps: build dashboards that query Sonarr (TV) in real-time and stream results to the UI with zero loading states

02

API backends: create serverless endpoints that orchestrate Sonarr (TV) tools and return structured JSON responses to any frontend

03

Chatbots with tool use: embed Sonarr (TV) capabilities into conversational interfaces with streaming responses and tool call visibility

04

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.

01

"List all TV series in my Sonarr library."

02

"Check the current download queue and history."

03

"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.

01

createMCPClient is not a function

Install: npm install @ai-sdk/mcp

Sonarr (TV) + Vercel AI SDK FAQ

Common questions about integrating Sonarr (TV) MCP Server with Vercel AI SDK.

01

How does the Vercel AI SDK connect to MCP servers?

Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
02

Can I use MCP tools in Edge Functions?

Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
03

Does it support streaming tool results?

Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.

Explore More MCP Servers

View all →