YouTube MCP server for AI agents
Automate YouTube channel operations directly from your AI assistant. PostSyncer’s MCP server offers 118 tools in one list (your client decides which of them it shows) so agents can inspect channel playlists, upload videos and Shorts up to 500 MB with custom thumbnails, hold spam comments for review and track views.
PostSyncer MCP server
https:// postsyncer.com/ mcp- Inspect up to 500 channel playlists via get-account and assign playlist_id on upload
- Watch videos up to 10 minutes with analyze-video (paid plans, AI credits) to write accurate titles, descriptions and tags
- Hold comments for review or republish them, delete live videos and check impressions
- Cancel anytime
- Unlimited posts on paid plans
Check our YouTube channel playlists, watch our new espresso pour video to draft SEO-friendly title and tags, and save an unlisted draft in the Tutorials playlist.
- list-workspacesHalden Coffee (#4815)
- get-accountYouTube Halden Coffee (#16241) · 6 playlists loaded
- analyze-videoExtracted pour steps, timestamps and 3 visual hooks
- create-postSaved draft #81450 with playlist Tutorials
Saved unlisted YouTube draft #81450 titled “How to Pour a Clean Rosetta” with tags, a description, a custom cover thumbnail and playlist Tutorials selected. Nothing is scheduled yet: tell me when it should go out.
01 Quick start
Connect YouTube to your AI agent in three steps
- 1
Connect your MCP client
Install the official ChatGPT app or Claude plugin, or point Claude Code, OpenClaw, Cursor, Codex or Gemini CLI at
https://postsyncer.com/mcp. - 2
Authorize your YouTube channel
Connect your channel inside PostSyncer with upload, playlist and comment permissions, then sign in from your AI client via OAuth or a scoped Bearer key.
- 3
Draft metadata, assign playlists and moderate comments
Ask your agent to analyze footage, pick the right playlist, schedule Shorts or long-form videos with custom thumbnails and manage viewer comments.
02 MCP tools
MCP tools for YouTube
Verified PostSyncer MCP tools for YouTube channels — covering playlist lookup, AI video inspection, video uploads up to 500 MB, comment review queues and channel analytics.
| Tool | Permission | What it does on YouTube |
|---|---|---|
get-account | accounts:read | Read a YouTube channel’s playlists array (up to 500 playlists with id, title and video_count). |
analyze-video | media:read | Watch a YouTube video or library clip of up to 10 minutes with AI to draft titles, chapters and tags (paid plans; costs AI credits by length). |
create-media-upload-link | media:create | Create a short-lived upload link for an MP4, MOV or WebM video up to 500 MB that your chat client can’t pass directly. |
create-post | posts:create / schedule / publish | Schedule or draft one YouTube video or Short with thumbnail, tags, playlist_id and disclosures. |
delete-postdestructive | posts:delete | Cancel a scheduled upload or remove an already-published video on YouTube. |
list-comments | comments:read | Read YouTube comments synced on schedule or via sync-comments-from-platforms. |
hide-commentdestructive | comments:update | Hold a YouTube comment for review, or pass hidden: false to publish it again. |
get-analytics-post | analytics:read | Fetch impressions, likes, comments and shares for a published YouTube video. |
03 Prompts and workflows
What to ask your agent on YouTube
Creator and video-team YouTube tasks that save hours every week through PostSyncer MCP.
Watch footage and generate metadata automatically
“Use analyze-video on our newest upload in the library, write a 90-character title, timestamped description and under-500-char tags, and save an unlisted YouTube draft.”
list-mediaanalyze-videoget-accountcreate-postOn paid plans,
analyze-videowatches up to 10 minutes of footage for AI credits, so you skip manual scrubbing while your metadata stays inside YouTube’s byte and tag ceilings.Cross-post a vertical clip as a YouTube Short
“Take our 45-second vertical pour clip and schedule it as a YouTube Short for Friday at 3 PM in the Espresso Tips playlist with notifySubscribers turned off.”
get-accountlist-mediacreate-postQueues a quiet Short upload with playlist assignment and custom
cover_image.thumbnail without notifying subscribers.Hold spam comments for review and answer viewer questions
“Sync comments on our latest YouTube tutorial, hold promotional link spam for review, and reply to questions about our grinder settings.”
list-postssync-comments-from-platformslist-commentshide-commentcreate-commentUses YouTube’s reversible hold-for-review state for questionable comments and posts text replies directly from the channel.
Audit YouTube disclosure fields across scheduled drafts
“List all upcoming YouTube drafts this month and verify every one has language, privacyStatus and containsSyntheticMedia set correctly.”
list-postsget-postupdate-postCatches missing disclosures, uncategorized playlists or overly long tags before scheduled videos go live.
Zero-error YouTube titles, UTF-8 byte descriptions and tag math
YouTube’s Data API rejects uploads over tiny formatting slips: a single < or > in a description, a tag list whose multi-word space quotes push it past 500 characters, or an unsupported language code. When an AI agent publishes through PostSyncer’s MCP server, PostSyncer validates YouTube’s exact tag calculation and language list up front, strips forbidden angle brackets and trims multi-byte UTF-8 descriptions safely at character boundaries.
To pick a playlist accurately instead of guessing IDs, your agent calls get-account (which returns up to 500 playlists with id, title and privacy_status; list-accounts omits them to stay fast) and passes the verified playlist_id into create-post.
Getting large YouTube videos from AI chat clients into PostSyncer
Long-form YouTube videos often run to hundreds of megabytes, and PostSyncer takes MP4, MOV or WebM files up to 500 MB each. Because chat windows cannot pass files that big into tool JSON, your agent calls upload-media-from-url for hosted links, upload-media-file for a file attached in ChatGPT, or create-media-upload-link to make a short-lived browser or curl upload link, then reads back the finished library ID via get-media-upload-link.
Attach a custom thumbnail image via cover_image.thumbnail (URL or library ID) — remember YouTube requires an image file rather than a video frame timestamp.
Hold-for-review moderation, first comments and honest limits
On YouTube, hide-comment places a comment into held-for-review status and passing hidden: false publishes it again. Calling delete-comment removes your own channel comment or permanently rejects someone else’s comment. Both actions carry destructive annotations so MCP clients ask before running them.
Remember that YouTube first comments and comment replies are text only (passing media on a first comment returns 422), and PostSyncer uploads your video at the scheduled time rather than configuring a native YouTube Premiere.
Direct REST API
Automating YouTube uploads from a render pipeline? Use the REST API
Trigger scheduled YouTube uploads, custom thumbnails and playlist assignments directly from code via https://postsyncer.com/api/v1.
REST API base URL
https:// postsyncer.com/ api/ v1Calendar and team review
Every agent post lands on your YouTube calendar
Drafts and scheduled posts created through MCP show up in PostSyncer with full YouTube previews, approval workflows and team notes. If you want a person to review first, leave posts:schedule and posts:publish off the agent's key: it saves drafts, and a schedule or publish call is refused.
AI clients
Connect YouTube to the AI tool you use
Every client reaches the same server at https://postsyncer.com/mcp. Each page has that client’s exact setup steps.
- ChatGPTPlugin directory
- ClaudeDirectory plugin
- Claude CodeTerminal
- Claude DesktopDirectory plugin
- Grok BotCustom connector
- OpenClawCommand line
- CursorInstall link
- OpenBotCustom server
- CodexTerminal
- GrokCustom connector
- Gemini CLITerminal
- AntigravityConfig file
- Any MCP clientThe server address, OAuth and API key options
claude mcp add --transport http postsyncer https://postsyncer.com/mcpLimits and plans
What each plan allows
The YouTube MCP server is on every plan, Free included. Posts created by your AI agent share your plan’s allowance and 60 requests a minute rate limit.
| Plan | Social accounts | Posts | API posts a day, per network |
|---|---|---|---|
| Free | 2 | 20 a month | Within the 20 |
| Starter$29 a month | 10 | Unlimited | Unlimited |
| Pro$49 a month | 30 | Unlimited | Unlimited |
| Agency$99 a month | 100, then $1/mo each | Unlimited | Unlimited |
Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.
401The API key is missing, wrong or past its end date.403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).422A field failed validation or the network’s rules refused a file, setting or text length.429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.
Docs
Read more in the docs
- YouTube platform guideExact YouTube settings, limits and API behavior
- MCP server overviewStreamable HTTP transport, OAuth and API key sign-in
- Connect your MCP clientSetup commands for ChatGPT, Claude, Claude Code, Cursor and Codex
- MCP tools referenceEvery tool name, argument and required permission
- Agent usage guideRecommended call order and safety rules
All 12 networks
Explore every platform MCP server on PostSyncer
Can an AI agent upload YouTube Shorts and long-form videos via MCP?
Yes. Pass an MP4, MOV or WebM video up to 500 MB (from your library, a public URL or an upload link) into create-post. Square or vertical videos up to 3 minutes publish as YouTube Shorts automatically.
How does my agent know which YouTube playlists exist?
The agent calls get-account on your YouTube account ID, which returns up to 500 channel playlists with their IDs, titles and privacy statuses, then passes playlist_id to create-post.
Can my AI agent watch a video before writing the YouTube title and description?
Yes, on paid plans. The analyze-video MCP tool watches up to 10 minutes of a library video or public video URL so the agent can write grounded titles, descriptions and tags. Each watch costs AI credits by length, about 2 for a one-minute video.
Can my agent set YouTube custom thumbnails and AI disclosures?
Yes. Pass cover_image.thumbnail for custom artwork and set containsSyntheticMedia, hasPaidProductPlacement and selfDeclaredMadeForKids inside accounts[].settings.
How does comment moderation work on YouTube MCP?
hide-comment holds a comment for review (and hidden: false republishes it), create-comment posts text replies as your channel, and delete-comment removes your comment or permanently rejects another viewer’s comment.
Does YouTube MCP work on the Free plan?
Yes. YouTube publishing, playlists and 7-day analytics work on Free within your plan’s monthly posts. analyze-video and extended analytics history require a paid plan.
Manage YouTube uploads, playlists and comments from your AI client.
Connect https://postsyncer.com/mcp and start scheduling YouTube videos on the Free plan today.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans