jaegis-youtube-chat-mcp
v1.0.0
Published
JAEGIS YouTube Chat CLI - Model Context Protocol (MCP) Server for AI-powered YouTube video analysis and content processing
Maintainers
Readme
🎙️ JAEGIS YouTube Chat MCP Server
JAEGIS YouTube Chat MCP Server is a Model Context Protocol (MCP) server that exposes all YouTube Chat CLI commands as tools for AI assistants. This enables seamless integration of YouTube video analysis, podcast generation, channel monitoring, and content processing capabilities into any MCP-compatible AI system.
🚀 Quick Start
Installation
# Install globally via npm
npm install -g jaegis-youtube-chat-mcp
# Or run directly with npx (recommended)
npx jaegis-youtube-chat-mcpPrerequisites
The MCP server requires the YouTube Chat CLI to be installed:
# Install the YouTube Chat CLI
pip install youtube-chat-cli
# Verify installation
youtube-chat --versionUsage
# Start the MCP server
jaegis-youtube-chat-mcp
# Or with npx
npx jaegis-youtube-chat-mcpThe server will start and listen for MCP connections via stdio.
🛠️ Available Tools
The MCP server exposes 35+ tools organized into the following categories:
📋 Session Management
jaegis_session_view- View current session informationjaegis_session_clear_history- Clear chat historyjaegis_session_clear_all- Clear all session datajaegis_session_new_id- Generate new session ID
📄 Content Processing
jaegis_set_source- Set active source URL and process contentjaegis_print_text- Print processed text contentjaegis_summarize- Generate AI summaryjaegis_faq- Generate FAQ documentjaegis_toc- Generate table of contentsjaegis_chat- Start interactive chat sessionjaegis_ask- Ask single question to n8n RAG
🎙️ Podcast Generation
jaegis_podcast_generate- Generate podcast from video (14 styles)jaegis_podcast_list- List generated podcastsjaegis_podcast_create_multi- Create podcast from multiple sources
🔊 Text-to-Speech Management
jaegis_tts_list- List available TTS librariesjaegis_tts_info- Show TTS library detailsjaegis_tts_install- Install TTS libraryjaegis_tts_install_all- Install all TTS librariesjaegis_tts_uninstall- Uninstall TTS libraryjaegis_tts_test- Test TTS libraryjaegis_tts_set_default- Set default TTS libraryjaegis_tts_status- Show TTS statusjaegis_tts_configure- Configure TTS library
📺 Channel Monitoring
jaegis_channel_add- Add channel for monitoringjaegis_channel_list- List monitored channelsjaegis_channel_remove- Remove channeljaegis_channel_update- Update channel settingsjaegis_channel_scan- Manually scan channels
📥 Bulk Import
jaegis_import_channel- Import videos from channeljaegis_import_playlist- Import videos from playlistjaegis_import_urls- Import videos from URL file
⚙️ Service Management
jaegis_service_start- Start background servicejaegis_service_stop- Stop background servicejaegis_service_status- Check service statusjaegis_service_logs- View service logs
🔄 Workflow Management
jaegis_workflow_add- Add n8n workflowjaegis_workflow_remove- Remove workflowjaegis_workflow_list- List workflowsjaegis_workflow_test- Test workflow connectionsjaegis_workflow_set_default- Set default workflow
🔗 n8n Integration
jaegis_n8n_configure- Configure n8n settingsjaegis_n8n_send- Send video to n8n workflow
📊 Utilities
jaegis_stats- Show statisticsjaegis_history- View import historyjaegis_verify_connections- Verify service connectionsjaegis_blueprint_create- Create documentation blueprintjaegis_blueprint_list- List blueprints
🎯 Key Features
🎙️ Advanced Podcast Generation
- 14 Podcast Styles: Conversational, interview, narrative, educational, news, comedy, documentary, debate, monologue, panel, storytelling, technical, casual, formal
- Multiple Voices: Support for various TTS engines and voices
- RAG Enhancement: Optional n8n RAG integration for enhanced content
- Multi-source: Generate podcasts from multiple content sources
📺 Intelligent Channel Monitoring
- Automated Scanning: Background service for continuous monitoring
- Advanced Filtering: Keywords, duration, content type filters
- Rate Limiting: Intelligent rate limiting to respect API limits
- Bulk Operations: Import entire channels, playlists, or URL lists
🤖 AI Integration
- n8n RAG Workflows: Seamless integration with n8n for RAG processing
- Multiple Workflows: Support for multiple AI workflows
- Session Management: Persistent sessions for context continuity
- Interactive Chat: Real-time chat with AI agents
🔊 Comprehensive TTS Support
- Multiple Libraries: OpenAI, ElevenLabs, Edge TTS, Google TTS, and more
- Easy Management: Install, configure, and test TTS libraries
- Voice Selection: Wide variety of voices and languages
- Quality Control: Test and validate TTS output
🔧 Configuration
Environment Variables
The MCP server uses the same configuration as YouTube Chat CLI:
# Required for YouTube API access
YOUTUBE_API_KEY=your_youtube_api_key
# Required for AI features
OPENROUTER_API_KEY=your_openrouter_api_key
# Optional: n8n integration
N8N_WEBHOOK_URL=your_n8n_webhook_url
# Optional: TTS API keys
OPENAI_API_KEY=your_openai_api_key
ELEVENLABS_API_KEY=your_elevenlabs_api_keyMCP Client Configuration
To use with an MCP client, add the server to your configuration:
{
"mcpServers": {
"jaegis-youtube-chat": {
"command": "npx",
"args": ["jaegis-youtube-chat-mcp"]
}
}
}📖 Usage Examples
Generate a Podcast
// Using the MCP tool
await callTool('jaegis_podcast_generate', {
video_url: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
style: 'conversational',
voice: 'alloy',
use_rag: true
});Monitor a YouTube Channel
// Add channel for monitoring
await callTool('jaegis_channel_add', {
channel_url: 'https://www.youtube.com/@channelname',
check_interval: 24,
no_shorts: true,
include_keywords: ['AI', 'technology']
});Create Documentation Blueprint
// Generate comprehensive documentation
await callTool('jaegis_blueprint_create', {
sources: '/path/to/content',
title: 'Project Documentation',
style: 'comprehensive',
format: 'markdown',
use_rag: true
});🔍 Troubleshooting
Common Issues
"YouTube Chat CLI not found"
pip install youtube-chat-cli"Permission denied"
chmod +x node_modules/.bin/jaegis-youtube-chat-mcp"API key not configured"
- Set required environment variables
- Check
.envfile configuration
Debug Mode
Run with debug output:
DEBUG=* npx jaegis-youtube-chat-mcp🤝 Contributing
Contributions are welcome! Please see the main repository for contribution guidelines.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Related Projects
- YouTube Chat CLI - The underlying Python CLI
- Model Context Protocol - The MCP specification
📞 Support
- 🐛 Report Issues
- 💬 Discussions
- 📧 Email: [email protected]
Made with ❤️ by the JAEGIS Team
