data
YouTube MCP, CLI, and Lua Integration for AI Agents
YouTube integration docs for AI agents: MCP gateway setup, YouTube CLI commands, Lua API reference, credentials, and function schemas.
7 functions 7 read 0 write API key auth
YouTube for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
youtube- route_slug
youtube- package
youtube- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. YouTube CLIHeadless setup and direct function calls. YouTube MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
YouTube MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for YouTube.
Claude Code YouTube MCP setup for Claude Code. Cursor YouTube MCP setup for Cursor. Codex YouTube MCP setup for Codex. OpenAI Agents YouTube MCP setup for OpenAI Agents SDK. Claude Agent SDK YouTube MCP setup for Claude Agent SDK. Vercel AI SDK YouTube MCP setup for Vercel AI SDK. LangChain YouTube MCP setup for LangChain. LangGraph YouTube MCP setup for LangGraph. CrewAI YouTube MCP setup for CrewAI. MCP clients YouTube MCP setup for Generic MCP Clients.
YouTube CLI Matrix
Use these pages for direct YouTube CLI workflows in scripts, CI, cron, and agent wrappers.
CI YouTube CLI for CI. Cron Jobs YouTube CLI for cron jobs. Shell Scripts YouTube CLI for shell scripts. Headless Automation YouTube CLI for headless automation. Coding Agents YouTube CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
youtube.youtube_search_videos | Read read | 11 | Search for videos, channels, or playlists on YouTube using keywords, filters, and sorting options. Returns matching results with snippet metadata. |
youtube.youtube_get_video_details | Read read | 2 | Get detailed information about one or more YouTube videos by ID, including title, description, thumbnails, duration, view count, likes, and channel info. |
youtube.youtube_list_channels | Read read | 7 | List YouTube channels by username, channel ID, or category. Returns channel snippets, statistics, and content details. |
youtube.youtube_get_channel | Read read | 2 | Get detailed information about a specific YouTube channel by ID, including snippet, statistics (subscribers, views, videos), content details, and branding settings. |
youtube.youtube_list_playlists | Read read | 5 | List playlists for a YouTube channel or by playlist IDs. Returns playlist snippets and content details. |
youtube.youtube_get_playlist | Read read | 3 | Get details about a specific YouTube playlist by ID, including its metadata and up to 50 playlist items (videos). |
youtube.youtube_get_current_user | Read read | 0 | Get the authenticated user's YouTube channel information, including channel title, description, subscriber count, total views, and video count. |