# PubNio MCP for YouTube

Human page: https://pubnio.com/youtube-mcp
API reference page: https://pubnio.com/platforms/youtube.md
Hosted MCP URL: https://pubnio.com/mcp

## Summary

Add https://pubnio.com/mcp to your MCP client to give your AI agent YouTube video and Shorts upload tools over Google OAuth. Agents import video URLs into PubNio, validate titles and privacy settings, and publish asynchronously with confirmed YouTube video links.

PubNio operates this third-party MCP service. Availability depends on platform approval and account permissions.

## Quick setup

```sh
claude mcp add --transport http pubnio https://pubnio.com/mcp
codex mcp add pubnio --url https://pubnio.com/mcp && codex mcp login pubnio
```

## Example agent prompts

- "Import https://cdn.example.com/demo-short.mp4 and publish it as an unlisted YouTube Short so our team can review it first."
- "Schedule our product demo video to YouTube, TikTok, and Instagram Reels at 11:00 America/New_York."
- "Check the publish status of our YouTube upload and return the live video URL."

## Expected Code Mode flow

```text
search   -> find media and post operations
execute  -> import media { url: "https://..." } => { mediaId: "med_yt_01", status: "processing" }
execute  -> check media readiness => { status: "ready" }
execute  -> create YouTube video post { text, media: [{ mediaId: "med_yt_01" }] } => { postId: "pst_01j9..." }
execute  -> read post until settled => { status: "published" }
```

## FAQs

### Can an agent upload a YouTube Short from an HTTPS video link?

Yes. Your agent imports the video into PubNio, waits for media readiness, then creates the YouTube post.

### How does YouTube video upload work when my agent disconnects?

PubNio continues the upload in the background and emits a signed webhook once YouTube confirms the video ID.
