Skip to main content
Glama
tuyennn

Xiaozhi YouTube MCP

by tuyennn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP bind host0.0.0.0
PORTNoHTTP port3000
MCP_PATHNoMCP HTTP route/mcp
MCP_TRANSPORTNoTransport mode: stdio or httpstdio
YOUTUBE_API_KEYYesGoogle API key for YouTube Data API v3 (required)
YOUTUBE_REGION_CODENoISO two-letter region codeVN
YOUTUBE_SAFE_SEARCHNoSafeSearch setting: none, moderate, or strictmoderate
YOUTUBE_CACHE_TTL_SECONDSNoCache TTL in seconds for API responses300
YOUTUBE_RELEVANCE_LANGUAGENoSearch relevance languagevi
YOUTUBE_DEFAULT_MAX_RESULTSNoDefault number of search results (max 10)5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
youtube_search_songA

Search YouTube Music-category videos and return playable YouTube URLs. Use this when the user asks to find or play a song.

youtube_play_songB

Find the best matching song and return one playback-ready YouTube URL. Prefer this for direct voice commands such as 'play...'

youtube_get_videoB

Get title, channel, duration, views, thumbnail, and playback URL for a YouTube video ID.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tuyennn/xiaozhi-youtube-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server