Skip to main content
Glama

News Instagram MCP Server

by zegh6389
README.mdโ€ข2.75 kB
# GitHub Actions Deployment Guide ## ๐Ÿš€ Quick Setup Steps ### 1. Push to GitHub ```bash git init git add . git commit -m "Add GitHub Actions automation" git remote add origin https://github.com/YOUR_USERNAME/news-instagram-mcp.git git push -u origin main ``` ### 2. Set GitHub Repository Secrets Go to: **Repository โ†’ Settings โ†’ Secrets and variables โ†’ Actions** Add these secrets: - `INSTAGRAM_USERNAME` = your_instagram_username - `INSTAGRAM_PASSWORD` = your_instagram_password - `GEMINI_API_KEY` = your_gemini_api_key (optional) - `DATABASE_URL` = sqlite:///tmp/news_instagram.db ### 3. Enable GitHub Actions - Go to **Actions** tab in your repository - Enable workflows if prompted - Your automation will start running daily at 6:00 AM UTC ## ๐Ÿ“… Automation Features ### Daily Automation (Automatic) - **Runs**: Every day at 6:00 AM UTC - **Does**: Scrapes news โ†’ Generates 3 posts โ†’ Publishes 1 immediately - **Logs**: Available in Actions tab for 30 days ### Manual Automation (On-Demand) - **Trigger**: Actions โ†’ Manual News Automation โ†’ Run workflow - **Options**: Choose post count, template type, immediate publish - **Use Case**: Test or create content outside daily schedule ## ๐ŸŽฏ What Happens Daily 1. **6:00 AM UTC**: GitHub Actions triggers 2. **Scrape News**: Gets latest articles from CBC & Global News 3. **Analyze Content**: Categorizes and processes articles 4. **Generate Posts**: Creates 3 Instagram posts with different templates 5. **Publish**: Posts 1 immediately with daily news caption 6. **Logs**: Detailed results saved and viewable in GitHub ## ๐Ÿ“Š Monitoring ### View Results - **GitHub Actions Tab**: See all runs and logs - **Artifacts**: Download detailed logs for each run - **Commit Comments**: Quick status updates on repository ### Success Metrics - Articles scraped per day - Posts generated successfully - Publishing success rate - Error tracking and alerts ## ๐Ÿ”ง Customization ### Change Schedule Edit `.github/workflows/daily-automation.yml`: ```yaml schedule: - cron: '0 14 * * *' # 2 PM UTC instead ``` ### Adjust Post Count Edit `deploy/github_automation.py`: ```python templates = ['breaking', 'analysis', 'feature', 'general'] # Add more ``` ### Timezone Considerations - GitHub Actions uses UTC time - 6:00 AM UTC = 2:00 AM ET / 11:00 PM PT (previous day) - Adjust cron schedule based on your target audience ## ๐ŸŽ‰ You're All Set! Once you push to GitHub and add the secrets, your news automation will: - โœ… Run automatically every day - โœ… Handle errors gracefully - โœ… Provide detailed logging - โœ… Cost $0 (within GitHub free tier) - โœ… Require zero maintenance Your Instagram account will start getting fresh news content daily! ๐Ÿš€

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/zegh6389/news-instagram-mcp'

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