
YouTube Shorts Agent
io.github.davidmosiahPublished by GitHub account davidmosiahv0.1.6Updated Oct 24, 2026
Agent-first YouTube Shorts uploader: dry-run validation, OAuth checks, synthetic-media metadata.
Overview
A local MCP server that lets an assistant prepare, validate and, with OAuth configured, upload YouTube Shorts through the official YouTube Data API.
- What you can do
- Check OAuth and dry-run readiness and get install guidance for MCP clients, without exposing token values (manifest, connection status). Audit upload scope, synthetic-media flags and local file boundaries. Generate a PKCE authorization URL with local session storage. Upload a Short in dry-run or live mode, with synthetic-media metadata set by default. List recent channel videos for lightweight post-upload verification.
- When to use it
- Use it when an assistant should prepare and validate Shorts uploads, including title, caption, tags and synthetic-media metadata, before anything is published, or when it should publish through the official API instead of the YouTube Studio interface. Dry-run mode makes it safe to try without credentials.
- Requirements
- Runs locally over stdio as an npm package (Node.js); an optional loopback-only HTTP mode exists. Live uploads need a Google OAuth client and tokens: YOUTUBE_CLIENT_ID, YOUTUBE_CLIENT_SECRET, plus access and refresh tokens configured in a local .env file. Network access to the YouTube Data API is needed for live calls; dry-run needs no credentials.
Installation
In SourceWeft
- Open YouTube Shorts Agent in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
YouTube Shorts Agent
Agent-first YouTube Shorts uploader for the YouTube Data API.
Dry-run safe, OAuth readiness checks, MCP-ready for Codex / Claude / Cursor / Hermes.
[npm version] [npm downloads] [License MIT] [Built for MCP]
[GitHub stars] [CI status] [Part of the Delx agent stack] [Category]
⭐ 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_manifestfor install/runtime guidanceyoutube_connection_statusbefore upload attemptsyoutube_privacy_auditfor local token and media boundariesyoutube_oauth_authorize_urlwith local PKCE session storageyoutube_upload_shortwithcontainsSyntheticMediasupportyoutube_list_recent_videosfor lightweight post-upload checks
Install
Or run directly:
CLI
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.
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:
2. Prepare a Short and its caption.
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:
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):
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
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
Env: YOUTUBE_MCP_HOST, YOUTUBE_MCP_PORT, YOUTUBE_MCP_TRANSPORT=http.
Hermes-style config:
Recommended first calls:
youtube_connection_statusyoutube_privacy_audityoutube_upload_short
Agent Surfaces
Copy-Paste Agent Prompt
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
📧 Contact & Support
- 📨 [email protected] — general questions, integration help, partnerships
- 🐛 Bug reports / feature requests — GitHub Issues
- 🐦 Updates — @delx369 on X
- 🌐 Site — wellness.delx.ai
Source: README.md at commit 26827b4
Tools
0Version history
1- v0.1.6LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts