MCP server for YouTube video management
## YouTube API MCP Server: Video Platform Development The **YouTube API MCP Server** provides direct access to YouTube's Data API and Analytics API within Google Antigravity, enabling AI assistants to build applications that interact with YouTube content, channels, and viewer data programmatically. This integration brings comprehensive YouTube development capabilities to your workflow. ### Why YouTube API MCP? - **Data API Access**: Full access to videos, channels, playlists, comments, and search functionality - **Analytics Integration**: Retrieve detailed channel and video performance metrics - **Content Management**: Upload, update, and manage video content programmatically - **Live Streaming**: Create and manage live broadcasts and live chat interactions - **Reporting API**: Access detailed revenue and ad performance data for monetized channels ### Key Features #### 1. Video Operations ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Upload this video with optimized title, description, and tags for SEO" }], tools=[{ "name": "youtube_api_videos", "description": "Manage video content" }] ) ``` #### 2. Channel Analytics ```python # Get channel performance data response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Get this month channel analytics including views, watch time, and subscriber growth" }], tools=[{"name": "youtube_api_analytics", "description": "Access analytics"}] ) ``` #### 3. Comment Management ```python # Manage video comments response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Get all comments on our latest video and identify common questions" }], tools=[{"name": "youtube_api_comments", "description": "Manage comments"}] ) ``` #### 4. Live Streaming ```python # Manage live broadcasts response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Schedule a new live stream for next week with custom thumbnail and description" }], tools=[{"name": "youtube_api_live", "description": "Live streaming"}] ) ``` ### Configuration ```json { "mcpServers": { "youtube-api": { "command": "npx", "args": ["-y", "@anthropic/mcp-youtube-api"], "env": { "YOUTUBE_API_KEY": "your-api-key", "YOUTUBE_CLIENT_ID": "your-client-id", "YOUTUBE_CLIENT_SECRET": "your-client-secret" } } } } ``` ### Use Cases **Content Management**: Build tools for managing YouTube channels, uploads, and metadata. **Analytics Dashboards**: Create custom analytics dashboards for YouTube performance tracking. **Comment Moderation**: Automate comment monitoring and community management. **Video SEO**: Optimize video metadata and thumbnails for better discoverability. The YouTube API MCP Server brings comprehensive YouTube platform access directly into your development workflow, enabling powerful video applications.
{
"mcpServers": {
"youtube-api": {
"mcpServers": {
"youtube-api": {
"env": {
"YOUTUBE_API_KEY": "YOUR_YOUTUBE_API_KEY"
},
"args": [
"-y",
"youtube-mcp-server"
],
"command": "npx"
}
}
}
}
}