Skip to content
▶Vidiyo
FeedWatchTV guideFor creatorsPricingSupport
DevelopersAbout
Watch nowWatch

Developers

OverviewREST APIMCP Server

Live references

Interactive API explorer ↗OpenAPI spec (JSON) ↗
Get API keys →

Integrations

MCP Server

The Vidiyo MCP server exposes your account as Model Context Protocol tools. Connect Cursor, Claude Desktop, or any MCP-compatible agent — then upload videos, manage your schedule, and query analytics using natural language or tool calls.

Connect your MCP client

Cursor IDE

Add this to .cursor/mcp.json in your project root, then restart Cursor:

{
  "mcpServers": {
    "vidiyo": {
      "url": "https://vidiyo-mcp-server.davidnaffis.workers.dev/mcp"
    }
  }
}

Claude (web, Desktop, and mobile)

Claude connects to remote MCP servers natively. Go to Settings → Connectors → Add custom connector, name it Vidiyo, and enter the MCP URL above. Enable it in a chat via the + menu, then verify: "Use the ping tool to check the Vidiyo MCP server." For Claude Code:

claude mcp add --transport http vidiyo https://vidiyo-mcp-server.davidnaffis.workers.dev/mcp

ChatGPT

Requires a paid plan. Enable Settings → Connectors → Advanced settings → Developer Mode, then Connectors → Create with the MCP URL and authentication set to None (you authenticate in-session with set_api_key). Enable the connector per chat via + → More → Developer Mode.

Grok

Go to grok.com/connectors → New Connector → Custom and enter the MCP URL. For the xAI API, pass the URL as an mcp tool with server_url and server_label.

MCP Inspector (debugging)

npx @modelcontextprotocol/inspector@latest # Enter: https://vidiyo-mcp-server.davidnaffis.workers.dev/mcp

Authentication

Method 1 — API Key (recommended for agents)

For autonomous agents, CI pipelines, and any workflow that runs without a browser.
Generate a key in Studio → Account → API Keys, then call set_api_key.
set_api_key(api_key: "vk_live_...")

The key is stored in the Durable Object session and sent on every API call. It is not echoed back or logged. The tool verifies the key against the API before storing it and will reject invalid or revoked keys immediately.

Method 2 — Google OAuth (for interactive users)

  1. Call authenticate — returns a URL
  2. Visit the URL in your browser and sign in with Google
  3. Return to your MCP client — the session is linked
  4. JWTs refresh automatically; sessions persist for the Durable Object's lifetime

Tools

Core (4 tools)

ToolAuthDescription
pingNoneHealth check. Returns server status and auth method.
authenticateNoneStart Google OAuth. Returns a URL for the user to visit.
set_api_keyNoneAuthenticate with a creator API key. For agents without a browser.
whoamiYesCurrent user's profile and active auth method.

Browse (10 tools — no auth)

ToolAuthDescription
list_channelsNonePaginated channel list, sorted by recency.
get_channelNoneChannel detail by slug.
get_channel_scheduleNoneSchedule blocks for a channel on a date.
get_now_playingNoneCurrent content + next upcoming on a channel.
searchNoneSearch channels and content.
get_trendingNoneTrending search terms.
get_home_feedNoneFeatured, live, and popular channels.
get_contentNonePublic content item by UUID.
list_categoriesNoneAll categories with channel counts.
get_categoryNoneCategory detail with paginated channels.

Playback (1 tool — no auth)

ToolAuthDescription
get_stream_urlNoneHLS master playlist URL, now-playing EPG, and VMAP ad tag for a channel.

Content library (7 tools)

ToolAuthDescription
list_my_contentcontent:readList your content library. Filter by status: 'ready' to find schedulable videos.
get_my_content_itemcontent:readFull detail for one owned item: renditions, captions, thumbnails, transcode status.
update_contentcontent:writeUpdate title, description, channel, rating, or tags.
delete_contentcontent:writeSoft-delete a content item.
retry_transcodecontent:writeRe-queue a failed transcode without re-uploading.
init_direct_uploadcontent:writeStart a direct-to-R2 upload. Returns a presigned URL + contentItemId.
complete_direct_uploadcontent:writeFinalize after the PUT succeeds. Triggers transcoding.
Two ways to upload a video. If your agent can make an HTTP PUT (Cursor, Claude Code, scripts), use init_direct_upload + complete_direct_upload. If it's a chat client that can't send file bytes (Claude web, ChatGPT, Grok), host the file at a public URL and use ingest_from_url — it works for any video, not just AI-generated content.

Schedule management (5 tools)

ToolAuthDescription
get_scheduleschedule:readSchedule blocks + gaps for a channel + date window.
create_schedule_blockschedule:writePlace a ready content item at a specific time. Returns 409 on overlap.
update_schedule_blockschedule:writeMove, resize, or swap content of an existing block.
delete_schedule_blockschedule:writeRemove a block. Content item is not deleted.
fill_schedule_gapsschedule:writeTrigger async auto-fill to cover gaps with library content.

Channel management (8 tools)

ToolAuthDescription
get_my_channelschannel:readList all channels you own, including drafts.
get_channel_dashboardchannel:readRealtime viewers, 7-day overview, now-playing, content counts.
create_channelchannel:writeCreate a new channel.
update_channelchannel:writeUpdate name, description, kind, category.
publish_channelchannel:writePublish a draft channel.
unpublish_channelchannel:writeTake a channel offline.
delete_channelchannel:writeSoft-delete a channel you own.
get_my_profileYesAuthenticated user's profile.

Analytics (7 tools)

ToolAuthDescription
get_analytics_overviewanalytics:readPer-channel KPIs: views, sessions, watch minutes, trends.
get_content_performanceanalytics:readPer-content metrics with pagination.
get_viewer_demographicsanalytics:readCountry and platform breakdown.
get_realtime_viewersanalytics:readLive viewer count and per-minute activity.
get_creator_overviewanalytics:readCross-channel totals with per-channel breakdown.
get_analytics_timeseriesanalytics:readDaily series for views, sessions, watch minutes, or ad impressions.
get_creator_analytics_summaryanalytics:readCompact today-vs-last-week snapshot.

Favorites and follows (7 tools)

ToolAuthDescription
list_my_favoritesYesUser's favorited channels.
add_favoriteYesFavorite a channel by UUID or slug.
remove_favoriteYesUnfavorite a channel.
list_followed_creatorsYesCreators the user follows.
follow_creatorYesFollow a creator by username.
unfollow_creatorYesUnfollow a creator.
list_followed_collectionsYesChannel collections the user follows.

Ingest, AI creation, Autopilot, and credits (10 tools)

ToolAuthDescription
ingest_from_urlcontent:writeIngest any publicly downloadable video URL (not just AI output). The upload path for chat clients that can't PUT file bytes.
estimate_generationYesPrice an AI generation in credits without submitting. Free.
request_generationcredits:spendSubmit an AI video generation. Spends credits.
get_generationYesStatus of one creation job.
list_generationsYesRecent creation jobs, newest first.
cancel_generationYesCancel a pre-submission job; refunds the hold.
create_briefcredits:spendRecurring Autopilot programming brief on a channel.
list_briefsYesBriefs with status and next run time.
run_briefcredits:spendTrigger a brief run now. Spends credits within caps.
get_creditsYesCredits balance and recent transactions.

Webhooks (4 tools)

ToolAuthDescription
list_webhookscontent:writeYour outbound webhook subscriptions with status and delivery stats.
create_webhookcontent:writeSubscribe an HTTPS endpoint to pipeline events. Returns the signing secret once.
delete_webhookcontent:writeRemove a subscription.
enable_webhookcontent:writeRe-enable a subscription auto-disabled after delivery failures.

Payouts and viewer (2 tools)

ToolAuthDescription
get_payout_summaryYesStripe Connect status, payout history, pending balance.
get_continue_watchingYesIn-progress viewing sessions with position and last-watched time.

Autonomous agent workflow

The complete flow for an AI agent that generates videos throughout the day and schedules them automatically:

# 1. Authenticate with API key (no browser needed)
set_api_key(api_key: "vk_live_...")

# 2. Upload a generated video
init_direct_upload(
  filename: "daily-briefing.mp4",
  title: "Daily Briefing — May 3",
  size_bytes: 52428800,
  content_type: "video/mp4",
  channel_id: "01936f4e-..."
)
# → { contentItemId, uploadUrl }
# Agent PUTs the file bytes to uploadUrl via HTTP

complete_direct_upload(content_item_id: "01936f4e-...")

# 3. Wait for transcoding (poll until status === "ready")
get_my_content_item(id: "01936f4e-...")   # repeat every 30s

# 4. Find an open slot
get_schedule(
  channel_id: "01936f4e-...",
  from: "2026-05-03T00:00:00Z",
  to: "2026-05-04T00:00:00Z"
)
# → inspect gaps[] to find open windows

# 5. Schedule the content
create_schedule_block(
  channel_id: "01936f4e-...",
  content_item_id: "01936f4e-...",
  starts_at: "2026-05-03T14:00:00Z"
)

Error handling

StatusMCP response
401Authentication required. Call authenticate or set_api_key.
403 (scope)API key is missing required scope(s): schedule:write
403 (ownership)You don't own this channel.
404The requested resource was not found.
409That time slot already has a block. Move or shorten it first.
429Rate limit exceeded. Please wait before retrying.
503The Vidiyo API is currently unavailable. Please try again later.

MCP endpoints

EnvironmentURL
Productionhttps://vidiyo-mcp-server.davidnaffis.workers.dev/mcp
Staginghttps://vidiyo-mcp-server-staging.davidnaffis.workers.dev/mcp
Local devhttp://localhost:8787/mcp

Transport: Streamable HTTP (SSE fallback supported). Standard MCP protocol — no vendor extensions.

Get API keys →REST API reference
▶Vidiyo

Your own TV channel. Free, on every screen.

Product

  • Watch
  • Feed
  • TV guide
  • For creators
  • Pricing
  • Apps
  • Support

Resources

  • Learn
  • Signal
  • Tools
  • Compare
  • About
  • RSS feed

Developers

  • Overview
  • REST API
  • MCP server

Legal

  • Terms
  • Privacy
  • Cookies
  • DMCA
  • Creator agreement
  • Trust & Safety
Get the app
  • iPhone & iPad
  • Android
  • Roku
  • Fire TV
  • Apple TV
© 2026 Vidiyo. Made for creators, everywhere.