Black Friday · 30% off

Get 30% off

Hosted MCP server

YouTube transcripts in Codex CLI

Codex CLI supports remote MCP servers in its config.toml. Add GetYouTubeTranscript there, keep your key in an environment variable, and Codex can use video transcripts while it works on your code.

Set it up

  1. 1

    Get an API key

    Sign in at getyoutubetranscript.com and create a key on the developers page (100 free credits, no card). Keys start with sk_live_.

  2. 2

    Add the server to config.toml

    Add this to ~/.codex/config.toml:

    [mcp_servers.getyoutubetranscript]
    url = "https://getyoutubetranscript.com/api/mcp"
    bearer_token_env_var = "GYT_API_KEY"
  3. 3

    Set the key

    Export the environment variable the config points to, for example in your shell profile:

    export GYT_API_KEY="sk_live_..."
  4. 4

    Check it

    Start Codex and run /mcp to see the server and its tools.

What to ask Codex

  • Follow the steps in this tutorial and set the project up here: <YouTube URL>
  • Summarize this release video and update CHANGELOG.md with what affects us: <YouTube URL>
  • Search YouTube for a demo of the Stripe CLI and list the commands used.

Tools Codex CLI gets

ToolWhat it doesCost
get_youtube_transcriptFull transcript plus title, author, thumbnail1 credit
get_transcript_languagesCaption languages a video offers, manual or auto-generated1 credit
search_youtubeSearch videos or channels, paginated1 credit
get_channel_latest_videosA channel's metadata and recent uploads1 credit
search_channel_videosSearch within one channel1 credit
list_channel_videosEvery video a channel has uploaded1 credit
list_channel_playlistsA channel's playlists, paginated1 credit
list_channel_postsA channel's community posts, paginated1 credit
get_related_videosVideos YouTube suggests next to a video1 credit
get_channel_bannerA channel's banner and avatar1 credit
get_video_dislikesA video's estimated likes and dislikes1 credit
list_playlist_videosEvery video in a playlist1 credit
get_creditsRemaining credit balance for the keyFree

Good to know

  • bearer_token_env_var keeps the key out of config.toml; Codex reads it from the environment and sends it as the Authorization header.
  • The server is hosted, so there is nothing to run locally and no proxy to manage.
  • Only the credit balance check is free; every other tool costs one credit per successful call.

Links

Questions about Codex CLI

Can I scope it to one project?

Yes. Codex also reads .codex/config.toml in trusted projects, so you can put the same block there instead.

Codex says the server is unauthorized.

The environment variable is probably not set in the shell that started Codex. Export GYT_API_KEY and start Codex again.

What does it cost?

Each transcript, search or channel page uses one credit from your account, and failed requests are not charged. New accounts get 100 free credits, no card, and paid plans add more credits each month.

Use it in your other tools

All integrations

Featured on aitoolfame.comFeatured on Aura++Featured on DeepLaunch.ioFeatured on Dofollow.ToolsFeatured on EasyDoFollowFeatured on EarlyHuntFeatured on Findly.toolsFeatured on FoundrListGood AI ToolsFeatured on IndieHuntFeatured on LaunchBuffFeatured on launched.toolsFeatured on Launch Llama ToolsFeatured on LemonLaunchLiftOff launch badgeMy Launch StashGetYouTubeTranscript on Nick LaunchesOpenHunts Club MemberFeatured on saasfame.comShinyLaunchFeatured on ShowMeBestAIFeatured on toolfame.comListed on Turbo0Featured on Twelve ToolsHuzzler Embed BadgeFeatured on CodeHypeGetYouTubeTranscript on Better LaunchDokeyAIFeatured on WayfindioFeatured on LaunchZoneFeatured on NoonlaunchFeatured on WhatsthebigdataSurfaced on CodeTrendyFeatured on ScrollLaunchFeatured on ufind.bestFeatured on ShipBoostProduct WingWe Like ToolsAppa ListAcid ToolsPower Up ToolsToshi ListAIGC 160Appsy ToolsHunt for ToolsBeam ToolsTool Find DirTool SignalSaaS Tools DirSoftware BoltProduct List DirStack DirectorySaaS FieldSaaS WheelSaaS RootsStartup BenchmarksUnite ListTrustinerBest Tool VaultSolver ToolsAsh ListSmart Kit HubAI X CollectionAI Tech ViralMillion Dot HomepageThat App ShowLaunch ScrollMy Start ToolsLatest AI UpdatesSuper AI BoomTools Under RadarThe Key ToolsTool JourneyTools List HQThe App ToolsThe Mega ToolsSource DirTool CosmosTop Trend ToolsTiny Tool HubTool PrismStartup AIdeasFeatured on WonderLaunchFeatured on ShipycornFeatured on ToolsClawListed on ProofStoriesFeatured on ToolListedLaunched on Launch Streak