KosmoKrator

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_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

YouTube MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for YouTube.

YouTube CLI Matrix

Use these pages for direct YouTube CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
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.