Skip to content
MCP server
Registry

YouTube Shorts Agent MCP Server

Agent-first YouTube Shorts uploader: dry-run validation, OAuth checks, synthetic-media metadata.

YouTube Shorts Agent scores 70 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 3 tools. Filed under Media. GitHub shows 1 stars. Package registries report about 167 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by davidmosiahMITJavaScript1 stars
Trust score
70Good
Trust score 70 of 100, Good

Good trust

70 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 70 comes from

22 + 20 + 4 + 10 + 4 + 10 = 70. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "davidmosiah-youtube-shorts-agent": {      "command": "npx",      "args": [        "-y",        "youtube-shorts-agent@0.1.6"      ],      "env": {        "YOUTUBE_DRY_RUN": "",        "YOUTUBE_CLIENT_ID": "",        "YOUTUBE_CLIENT_SECRET": "YOUR_YOUTUBE_CLIENT_SECRET"      }    }  }}

Environment variables

NameRequiredNotes
YOUTUBE_DRY_RUNOptionalSet to false only when the agent should perform live YouTube upload operations. Defaults to dry-run behavior.
YOUTUBE_CLIENT_IDOptionalGoogle OAuth client ID. Optional until OAuth or live upload flows are used.
YOUTUBE_CLIENT_SECRETSecretOptionalGoogle OAuth client secret. Keep local and do not expose it to agents.

Tools3Tool docs quality grade F

All capabilities

About

โญ If this agent-first tool helps your workflow, please star the repo. Stars make this tooling easier for other builders to discover and help Delx keep shipping open infrastructure. ๐Ÿงฑ Part of the Delx agent stack โ€” 15 open-source MCP servers across body, reach and coordination.


Agent-first YouTube Shorts uploader for the YouTube Data API. It is designed for Codex, Claude, Cursor, Hermes, OpenClaw and any MCP client that needs a predictable upload workflow with dry-run safety, OAuth readiness checks and structured output.

Use it when an agent needs to prepare, validate or upload Shorts through the official API without touching YouTube Studio UI.

What Agents Get

  • youtube_agent_manifest for install/runtime guidance
  • youtube_connection_status before upload attempts
  • youtube_privacy_audit for local token and media boundaries
  • youtube_oauth_authorize_url with local PKCE session storage
  • youtube_upload_short with containsSyntheticMedia support
  • youtube_list_recent_videos for lightweight post-upload checks

Install

npm install -g youtube-shorts-agent

Or run directly:

npm exec --yes --package=youtube-shorts-agent -- youtube-shorts-agent doctor

CLI

youtube-shorts-agent manifest --client codex
youtube-shorts-agent doctor
youtube-shorts-agent privacy-audit
youtube-shorts-agent auth-url --redirect-uri http://localhost:8787/callback
youtube-shorts-agent upload-short --video ./short.mp4 --title "Launch title" --caption-file copy.txt
youtube-shorts-agent list-recent --max-results 10

Dry-run is enabled by default. Set YOUTUBE_DRY_RUN=false only when doctor reports a complete OAuth setup and you intend to call the live API.

Optional cover draft

Prepare a local square cover draft with the cover recipe. Preview offline, request a free quote, then let the operator approve that exact purchase with --pay. The separate image kit verifies the WebP and safely resumes the same payment authorization.

First Upload (dry-run walkthrough)

This is the full first-run path. Every step here is dry-run safe โ€” no credentials are required and nothing is sent to YouTube. The output below is captured verbatim from a real run.

1. Check readiness. With no OAuth configured, doctor confirms you are in dry-run mode:

youtube-shorts-agent doctor
{
  "ok": true,
  "dry_run": true,
  "configured": {
    "client_credentials": "missing",
    "access_token": "missing",
    "refresh_token": "missing"
  },
  "missing_count": 3,
  "ready_for_live_upload": false,
  "next_steps": [
    "Current mode is dry-run. Validate metadata and agent flow before live uploads."
  ]
}

2. Prepare a Short and its caption.

printf 'Launching the agent-first Shorts uploader.\n#shorts #ai #agents' > copy.txt
# short.mp4 is your vertical 9:16 clip

3. Run the upload in dry-run. No network call is made; the tool returns the exact job and result it would publish, so an agent can validate metadata before going live:

youtube-shorts-agent upload-short \
  --video ./short.mp4 \
  --title "Agent-first Shorts upload" \
  --caption-file copy.txt \
  --tags ai,agents \
  --duration 24
{
  "ok": true,
  "dry_run": true,
  "job": {
    "id": "youtube_1780082215631",
    "platform": "youtube",
    "status": "queued",
    "createdAt": "2026-05-29T19:16:55.631Z",
    "caption": "Launching the agent-first Shorts uploader.\n#shorts #ai #agents",
    "targetUrl": "",
    "mediaPaths": ["./short.mp4"],
    "metadata": {
      "title": "Agent-first Shorts upload",
      "youtube_title": "Agent-first Shorts upload",
      "youtube_tags": ["ai", "agents"],
      "youtube_contains_synthetic_media": true,
      "video_duration_sec": 24,
      "video_aspect_ratio": "9:16"
    }
  },
  "result": {
    "provider": "youtube_official",
    "platformPostId": "dryrun_1780082215631",
    "releaseUrl": "https://www.youtube.com",
    "raw": { "dryRun": true, "jobId": "youtube_1780082215631" }
  }
}

platformPostId is prefixed with dryrun_ and releaseUrl is the YouTube root โ€” both signal that nothing was uploaded. The id, createdAt and dryrun_* values vary per run.

4. Confirm the channel listing path (returns an empty list in dry-run):

youtube-shorts-agent list-recent --max-results 5
{ "items": [] }

Going live. Configure OAuth (youtube-shorts-agent auth-url --redirect-uri http://localhost:8787/callback, then exchange the callback code for tokens), set YOUTUBE_CLIENT_ID / YOUTUBE_CLIENT_SECRET / YOUTUBE_ACCESS_TOKEN / YOUTUBE_REFRESH_TOKEN in .env, re-run doctor until ready_for_live_upload is true, then set YOUTUBE_DRY_RUN=false and re-run the same upload-short command.

MCP

youtube-shorts-mcp

HTTP (v2 stateless)

Default is stdio. Optional Streamable HTTP โ€” no session id, JSON responses, loopback only:

npx -y -p youtube-shorts-agent youtube-shorts-mcp --http
# GET  http://127.0.0.1:3032/health
# POST http://127.0.0.1:3032/mcp   (sessionless)

Env: YOUTUBE_MCP_HOST, YOUTUBE_MCP_PORT, YOUTUBE_MCP_TRANSPORT=http.

Hermes-style config:

mcp_servers:
  youtube_shorts:
    command: npx
    args: ["-y", "youtube-shorts-agent"]
    sampling:
      enabled: false

Recommended first calls:

  1. youtube_connection_status
  2. youtube_privacy_audit
  3. youtube_upload_short

Agent Surfaces

ToolPurpose
youtube_agent_manifestInstall/runtime guidance for Codex, Claude, Cursor, Hermes and OpenClaw
youtube_connection_statusOAuth and dry-run readiness without token values
youtube_privacy_auditUpload scope, synthetic media and local file boundaries
youtube_oauth_authorize_urlPKCE authorization URL with local session storage
youtube_upload_shortDry-run or live Shorts upload
youtube_list_recent_videosLightweight channel verification

Copy-Paste Agent Prompt

Use youtube-shorts-agent. First call youtube_connection_status and youtube_privacy_audit.
If uploading AI-generated media, keep containsSyntheticMedia=true. Never print token values.

Configuration

Copy .env.example to .env. Keep .env and .agent-data/ out of Git.

The upload tool sets containsSyntheticMedia=true by default for AI-generated or AI-edited videos. Override only when that is not true for the asset.

Safety Model

  • OAuth tokens are never returned by CLI or MCP tools.
  • PKCE verifier is stored locally in .agent-data/.
  • Live upload requires YOUTUBE_DRY_RUN=false.
  • The package uses the official YouTube Data API and does not automate Studio UI.

Development

npm install
npm test
npm run check

๐Ÿ“ง Contact & Support

Frequently asked questions

What is YouTube Shorts Agent MCP Server?

Agent-first YouTube Shorts uploader: dry-run validation, OAuth checks, synthetic-media metadata.

How do I install YouTube Shorts Agent MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. YouTube Shorts Agent MCP Server runs locally from the npm package youtube-shorts-agent with the command npx -y youtube-shorts-agent@0.1.6.

Is YouTube Shorts Agent MCP Server free and open source?

Yes. YouTube Shorts Agent MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does YouTube Shorts Agent MCP Server support remote (HTTP) connections?

No remote endpoint is listed for YouTube Shorts Agent MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does YouTube Shorts Agent MCP Server provide?

YouTube Shorts Agent MCP Server provides 3 tools: youtube_agent_manifest, youtube_list_recent_videos, and youtube_privacy_audit. See the full tool list for descriptions and parameters.

How is YouTube Shorts Agent MCP Server's trust score calculated?

YouTube Shorts Agent MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server