Upload YouTube videos from Codex

Use Pushwing as a YouTube MCP server in Codex to upload videos, set thumbnails and schedule publication. Connect your channel with Google and sign Codex in to Pushwing with OAuth.

$codex mcp add pushwing --url https://mcp.pushwing.com/mcp
Terminal
~/podcast
$ codex mcp add pushwing --url https://mcp.pushwing.com/mcp
✓ Added pushwing

$ codex mcp login pushwing
  opens the browser…
✓ pushwing · logged in · 85 tools

Set up in three steps

1

Add the server

$codex mcp add pushwing --url https://mcp.pushwing.com/mcp

Run the command once. It writes the server to ~/.codex/config.toml.

2

Log in

Run codex mcp login pushwing. A browser tab opens for the Pushwing sign-in and consent screen.

3

Try it

Start Codex and ask: "List my connected accounts and today's publishing limits."

What works today
YouTube uploads default to private; public releases require confirmation.
Instagram is invite-only while Meta reviews the app.
Google OAuth verification is approved for Pushwing’s YouTube permissions.
Updated 3 Nov 2026 · the full table

Codex note

The config.toml alternative: an [mcp_servers.pushwing] table with url = "https://mcp.pushwing.com/mcp". Run codex mcp login pushwing to complete OAuth before using the tools.

YouTube publishing with Codex

Upload a video, add a thumbnail and schedule publication.

Connect your channel in Pushwing, complete the Codex setup above, then use these example prompts. Start with a private upload so you can check the result before choosing a public release.

These are example prompts. Replace the sample files or links with your own media; no upload runs from this page.

Before you start

  • During early access, join the waitlist and accept your invitation before setting up an account.
  • Open Connections and connect a YouTube channel you own through Google. Connect each channel separately.
  • Have a video and thumbnail available in the Codex workspace, or provide fetchable HTTPS download links. Local files must be staged before the remote publishing tools can use them. A local filename alone is not accessible to Pushwing.
  • Custom thumbnails require an eligible YouTube channel. Check your current file and publishing allowances in Usage and limits.

Instagram has a separate tester requirement. This walkthrough uses YouTube only. Review the YouTube capabilities and access requirements.

  1. 1. Check the connected channel

    After signing Codex in to Pushwing, check which channel it can use and your available allowance. If you have several channels, choose one explicitly.

    List my connected Pushwing accounts and current publishing limits. Show me the YouTube channel name and handle before uploading anything.
  2. 2. Upload a private test video

    Use your own source video. Codex stages it with Pushwing and starts an upload job. Keep the video private while you inspect it.

    Stage ./episode.mp4 with Pushwing and upload it to the YouTube channel I selected. Title it “My first Pushwing upload” and keep it private. Check the upload job until it finishes, then show the video link, processing status and effective privacy.
  3. 3. Set and check the thumbnail

    Use the same uploaded video and your own image. Verify the result from YouTube's returned details or in YouTube Studio.

    Stage ./thumbnail.png and set it as the thumbnail for that uploaded video. Read its details again and show the title, thumbnail and privacy. Keep it private.
  4. 4. Review a publication schedule

    Choose a future date and name your time zone. Pushwing requires confirmation before applying a public release or schedule. Read the preview, then approve only when it is correct.

    Prepare this video's public release for next Friday at 09:00 Asia/Dubai. Resolve the exact date and UTC offset, then show the channel, video and publication time for my approval. After I confirm, read the schedule and privacy back to verify them.

How do I know the upload worked?

Check the returned video link, requested title, processing status and privacy. A completed upload job means the transfer finished; processing and public visibility need their own check. A scheduled video remains private until its publication time.

You can also open the same video in YouTube Studio to verify the thumbnail and schedule. If a result is uncertain, inspect the existing job and video before starting another upload.

What if setup or publishing fails?

  • No Pushwing tools: Check the server entry in Codex and complete codex mcp login pushwing. Start a new Codex session if tools remain unavailable. Confirm the intended workspace file is readable, or use an HTTPS source instead.
  • No channel or expired access: open Connections in Pushwing and connect or reconnect the intended Google channel.
  • Upload rejected or still processing: read the job error and YouTube's processing details. Correct the reported problem before retrying.
  • Allowance unavailable: check Usage and limits for the current allowance and platform availability.

See the full YouTube MCP capabilities, how permissions and confirmation work, or get help with setup.

Setup reference: Codex’s MCP configuration guide. Reviewed 24 November 2026. Client menus and workspace permissions can change.

Your first useful result

You do not need to publish publicly to check setup. After accepting your invitation, connect a channel, sign Codex in to Pushwing, and ask it to list your connected accounts or read your own uploads. Check the result against Connections. Continue to the private-upload example when the channel is correct.

For a recorded example, see the YouTube verification case study. A successful read verifies the connection; it does not prove that an upload, thumbnail or public schedule has run.

What you can say

Six prompts that work on day one

List my accounts and today's limits.
list_connectionsget_usage_limits
Upload ep12.mp4 as private with this thumbnail.
create_media_uploadcomplete_media_uploadyoutube_upload_videoyoutube_set_thumbnail
Schedule this Reel for Friday 09:00.
instagram_publish_reel
Stats for my last three uploads.
youtube_list_videosyoutube_get_video_stats
List comments on episode 11 and draft replies.
youtube_list_commentsyoutube_reply_comment
Cancel the scheduled Reel.
list_publish_jobscancel_publish_job
The confirm gate

How it feels in Codex

Public actions come back as a preview. Codex shows it; you answer in the terminal.

Reply to the top comment on episode 11 with the repo link.
requires_confirmationReply to @maria_dev: "It's github.com/keshav/ep11 — link is in the description too."
Before I post, here's the reply. Post it?
Post it.
Posted. This reply counts toward your channel's current rolling allowance. Check Usage and limits for what remains.
FAQ

Questions

Do I need an API key?

No. Your client signs in with OAuth through Clerk.

Can I use several channels?

Connect once per channel; Google's chooser lets you pick a different one each time.

Why are uploads private?

Private is the default. Ask for public or unlisted visibility, confirm the preview, and check the video after processing.

How do I disconnect?

Dashboard → Connections → Disconnect; it revokes at Google.

Publish from Codex.

Join the waitlist. We’ll email you when your invitation is ready.