n8n Video Compilation MCP Server
Enables AI agents to create and manage video compilations through n8n workflows with smart query optimization, quality analysis, batch processing, and trusted channel filtering for platforms like YouTube.
README
🏥 Insurance Claims Processing Automation Demo
Transform manual claims processing from 3 hours to 3 minutes with AI-powered automation
This n8n workflow demonstrates how insurance companies can automate their claims processing with AI, reducing processing time by 90% while improving fraud detection and customer communication.
🎯 Demo Impact
For a company processing 500 claims/month:
- Time savings: 1,500 hours/month → 125 hours/month
- Cost savings: $75,000/month → $6,750/month
- Annual savings: ~$819,000
- ROI: 13,600% (after automation costs)
🚀 Quick Start (5 Minutes)
Prerequisites
- Docker installed on your machine
- OpenAI API key (get from platform.openai.com)
- Email account for notifications
1. Start the Demo
# Clone or download this repository
# Navigate to the project directory
./start-demo.sh
2. Access n8n
- Open: http://localhost:5678
- Username:
admin - Password:
insurance_demo_2024
3. Import the Workflow
- Click "Add Workflow"
- Menu (⋯) → "Import from File"
- Upload
insurance-claims-workflow.json
4. Configure Credentials
- OpenAI: Settings → Credentials → Add → OpenAI API
- Email: Settings → Credentials → Add → Email (SMTP)
5. Activate & Test
- Click "Active" toggle
- Run:
./test-claims.sh - Watch the magic happen! ✨
📁 Project Files
n8n-money/
├── 📊 insurance-claims-workflow.json # Main n8n workflow
├── 📋 demo-presentation.md # Sales presentation slides
├── 🧪 sample-claim-data.json # Test scenarios
├── ⚙️ docker-compose.yml # Easy Docker setup
├── 🚀 start-demo.sh # One-click startup
├── 🧪 test-claims.sh # Automated testing
├── 📖 setup-guide.md # Detailed setup guide
├── 📖 local-setup-guide.md # Local installation guide
└── 📖 README.md # This file
🔄 Workflow Overview
What It Does
- Receives Claims via webhook (web form, email, API)
- AI Processing extracts key information from claim data
- Fraud Detection scores claims 1-10 for suspicious patterns
- Smart Routing sends high-risk claims to senior adjusters
- Customer Communication sends instant status updates
- Task Management creates appropriate staff assignments
Workflow Paths
- Auto Claims (< $10K): Standard 3-5 day processing
- High-Value Claims (> $10K): Senior adjuster review within 24h
- Fraud Suspected: Immediate investigation priority
- Property Claims: Specialist assignment with contractor verification
🎬 Demo Script
Opening Hook (30 seconds)
"I'm going to show you how we can reduce your claims processing from 3 hours to 3 minutes. Watch this..."
Live Demo (2 minutes)
- Submit a claim via webhook
- Watch AI processing in real-time
- Show results: Customer emails, staff tasks, fraud scores
ROI Discussion (3 minutes)
- Calculate their specific savings
- Show fraud detection benefits
- Discuss scalability without hiring
📊 Test Scenarios
Run ./test-claims.sh to see:
- Standard Claim ($3,200) → Approved automatically
- High-Value Claim ($15,750) → Senior review required
- Suspicious Claim → Fraud investigation triggered
- Property Claim → Specialist assignment
🛠️ Customization Options
Industry Adaptations
- Auto Insurance: VIN lookup, police reports, repair networks
- Property Insurance: Weather data, contractor estimates, permits
- Health Insurance: Provider networks, medical codes, pre-auth
- Life Insurance: Beneficiary verification, documentation
Integrations
- CRM: Salesforce, HubSpot, Pipedrive
- Email: Gmail, Outlook, SendGrid
- Storage: Google Drive, Box, SharePoint
- Tasks: Asana, Monday.com, Jira
- Communication: Slack, Teams, WhatsApp
💰 Business Case
Current Manual Process (Per Claim)
- Data entry: 45 minutes
- Policy lookup: 30 minutes
- Risk assessment: 60 minutes
- Communication: 30 minutes
- Task creation: 15 minutes
- Total: 3 hours
With Automation (Per Claim)
- Automatic processing: 2 minutes
- Human review (when needed): 15 minutes
- Total: 2-17 minutes
Benefits Beyond Time
- Fraud Detection: AI catches 85% more fraud than manual review
- Customer Satisfaction: Instant confirmations vs days of waiting
- Compliance: Complete audit trails and documentation
- Scalability: Handle 10x volume without hiring
- Accuracy: 99%+ vs 90-95% manual data entry
🔧 Troubleshooting
Common Issues
# n8n won't start
docker logs n8n-insurance-demo
# Webhook not working
curl -X POST http://localhost:5678/webhook/new-claim
# Restart everything
docker-compose down && docker-compose up -d
Getting Help
🎯 Next Steps
For Your Demo
- Customize emails with your company branding
- Add your specific fraud detection rules
- Connect to your existing systems
- Practice the demo flow until smooth
For Production
- Cloud Hosting (AWS, DigitalOcean, n8n Cloud)
- Database Setup for persistence and analytics
- Security Configuration with proper auth and SSL
- Team Training on workflow management
📞 Demo Objection Handling
"What about complex claims?" → 80% handled automatically, 20% routed to experts who can focus on what matters
"What if AI makes mistakes?"
→ Human oversight for high-value claims, 99%+ accuracy vs 90-95% manual
"Integration concerns?" → Connects to your existing systems, no replacement needed
"Cost concerns?" → $500/month saves $68,000/month = 13,600% ROI
🎉 Success Metrics
After implementing, measure:
- Time reduction: Hours per claim
- Cost savings: Monthly processing costs
- Fraud detection: Cases caught vs missed
- Customer satisfaction: Response time improvements
- Staff productivity: Focus on complex work
🎬 NEW: AI-Powered Video Compilation System
MCP Integration for AI Agents
This project now includes an advanced Model Context Protocol (MCP) server that enables AI agents like Claude, GPT, and other LLMs to directly control and optimize video compilation workflows.
🚀 Quick Start - Video Compilation
# Install MCP dependencies
npm install
# Start the MCP server
npm run start:mcp
# Test the integration
npm run test:mcp
🤖 AI Agent Capabilities
With MCP integration, AI agents can:
- 🎯 Smart Query Optimization: "lebron dunk" → "LeBron James dunks compilation highlights"
- 📊 Quality Analysis: Real-time AI scoring of video content (1-10 scale)
- 🏆 Channel Trust System: Filter by 16+ trusted sports channels (NBA, ESPN, etc.)
- 📦 Batch Processing: Create multiple compilations simultaneously
- 🔄 Error Recovery: Intelligent retry with parameter adjustments
- 📈 Performance Insights: Detailed analytics and recommendations
🛠️ Available MCP Tools
compile_video- Create AI-enhanced video compilationsoptimize_search_query- Smart query enhancementbatch_compile- Multiple compilations at oncelist_workflows- View available n8n workflowsget_workflow_status- Monitor workflow execution
💬 Example AI Interactions
User: "Create a compilation of LeBron James dunking highlights"
AI Agent:
- Optimizes query → "LeBron James dunks compilation highlights NBA"
- Executes enhanced workflow with quality filtering
- Analyzes results and provides insights
- Suggests improvements if needed
User: "Make compilations for the top 5 NBA players' signature moves"
AI Agent:
- Batch processes: LeBron dunks, Curry threes, Giannis blocks, etc.
- Monitors all executions simultaneously
- Provides comparative analysis of results
- Recommends optimal parameters for future compilations
📁 Video Compilation Files
n8n-money/
├── 🎬 video-compilation-workflow-enhanced.json # AI-enhanced workflow
├── 🤖 mcp-server.js # MCP server for AI agents
├── ⚙️ mcp-config.json # MCP configuration
├── 📖 mcp-integration-guide.md # Detailed MCP setup guide
├── 🧪 test-mcp-server.js # MCP functionality tests
├── 📋 video-compilation-enhanced-setup.md # Enhanced workflow setup
└── 🧪 test-enhanced-compilation.sh # Workflow testing script
🔗 Integration with Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"n8n-video-compilation": {
"command": "node",
"args": ["/path/to/n8n-money/mcp-server.js"],
"env": {
"N8N_BASE_URL": "http://localhost:5678/api",
"N8N_API_KEY": "your_api_key"
}
}
}
}
📊 Performance Benefits
- ⚡ Speed: AI-optimized queries find better content faster
- 🎯 Quality: Smart filtering ensures high-quality compilations
- 🔄 Automation: Full workflow automation with AI oversight
- 📈 Learning: AI improves strategies based on results
- 🛠️ Efficiency: Batch processing saves time and resources
See mcp-integration-guide.md for complete setup instructions and advanced usage examples.
🖥️ NEW: Interactive Workflow Manager CLI
Professional Workflow Management Made Easy
Introducing a user-friendly command-line interface for managing n8n workflows with enterprise-grade features:
🚀 Quick Start - Workflow Manager
# Using bun (recommended)
bun run workflow-manager
# Or use the short alias
bun run wm
# Traditional node
npm run workflow-manager
✨ Key Features
- 🔍 Smart Discovery: Automatically scans and catalogs all workflows
- ✅ Advanced Validation: Comprehensive syntax and configuration checking
- 🔐 Credential Management: Detects and guides credential setup
- 📤 Smart Import: Multi-endpoint API support with intelligent retry
- 🛠️ Integration Tools: Access to all existing debug and validation tools
- 🎨 Beautiful UI: Color-coded, intuitive interface for technical and non-technical users
📋 Main Menu Options
🔍 Discover & View Workflows - Scan and display all available workflows
✅ Validate Workflow - Check workflow syntax and configuration
🔐 Manage Credentials - Scan and manage credential requirements
📤 Import Workflow to n8n - Deploy workflows to your n8n instance
🔧 Test n8n Connection - Verify API connectivity
🛠️ Run Integration Tools - Access existing debug and validation tools
❓ Help & Usage - Show detailed help information
🚪 Exit - Exit the CLI
🎯 Perfect for Both Technical & Non-Technical Users
For Developers:
- JSON validation with detailed error reporting
- Node connection analysis and optimization suggestions
- API endpoint testing across multiple n8n versions
- Integration with existing debug tools
For Business Users:
- Clean, intuitive menu navigation
- Clear status indicators and progress feedback
- Plain-language error messages and solutions
- Guided credential setup process
📊 Workflow Discovery Example
📋 Available Workflows:
1. ✓ 🌐 🔐 Stock Analysis Assistant
└─ AI-powered stock analysis using RSI and MACD indicators
└─ 25 nodes, 20.1KB, modified 12/15/2024
2. ✓ 🌐 Video Generation Workflow
└─ Enhanced video compilation with AI analysis
└─ 15 nodes, 29.3KB, modified 12/14/2024
3. ✗ Insurance Claims Workflow
└─ Invalid JSON - Parse Error
└─ 18 nodes, 11.2KB, modified 12/10/2024
Legend: ✓=Valid ✗=Invalid 🌐=Webhook 🔐=Credentials
🔧 Environment Setup
# Required for import/deployment
export N8N_BASE_URL="http://localhost:5678"
export N8N_API_KEY="your_n8n_api_key_here"
# Optional for advanced workflows
export YOUTUBE_API_KEY="your_youtube_api_key_here"
🛡️ Enterprise-Grade Features
- Error Recovery: Graceful handling of all failure scenarios
- Multi-API Support: Works with different n8n versions and configurations
- Security Validation: Detects hardcoded credentials and security issues
- Comprehensive Logging: Detailed operation logs for troubleshooting
- Integration Ready: Seamlessly works with existing project tools
📖 Detailed Documentation
See docs/workflow-manager-guide.md for:
- Complete feature documentation
- Step-by-step tutorials
- Troubleshooting guide
- Advanced usage examples
- Integration instructions
🏆 Ready to Transform Your Workflows?
Whether you're automating insurance claims or creating AI-powered video compilations, this project demonstrates how n8n workflows combined with AI agents can revolutionize business processes.
Your insurance friends will be amazed at how quickly and accurately this processes claims that would take their team hours of manual work!
Start Your Demo
./start-demo.sh
Need help? Check the detailed guides in setup-guide.md and local-setup-guide.md
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。