data
YouTube MCP Gateway for AI Agents
Expose YouTube tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
7 functions 7 read 0 write API key auth
YouTube MCP Gateway
Expose YouTube to MCP clients with `kosmokrator mcp:serve --integration=youtube`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=youtube --write=deny --json {
"mcpServers": {
"kosmokrator-youtube": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=youtube",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=youtube --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__youtube__youtube_search_videos | youtube.youtube_search_videos | Read read |
integration__youtube__youtube_get_video_details | youtube.youtube_get_video_details | Read read |
integration__youtube__youtube_list_channels | youtube.youtube_list_channels | Read read |
integration__youtube__youtube_get_channel | youtube.youtube_get_channel | Read read |
integration__youtube__youtube_list_playlists | youtube.youtube_list_playlists | Read read |
integration__youtube__youtube_get_playlist | youtube.youtube_get_playlist | Read read |
integration__youtube__youtube_get_current_user | youtube.youtube_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.