meta-nexus
Provides tools for automating Facebook: scraping Saved Reels/videos, publishing Reels and posts, and auto-replying to comments/inbox messages through Playwright UI automation with human-like delays.
Provides tools for automating Instagram: scraping Saved posts/Reels, publishing Reels and posts, and auto-replying to comments/inbox messages through Playwright UI automation with human-like delays.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Social Nexus Agent — 9-Platform Social Media Agent
Supported Platforms (9 Channels)
Platform | Publish / Reply Transport | Bound Marketing Skill | Required Credential / Session |
YouTube | REST API ( |
|
|
Playwright Persistent Context ( |
|
| |
Playwright Persistent Context ( |
|
| |
Threads | 2-Step Meta Threads Graph API ( |
|
|
Meta WhatsApp Cloud API ( |
|
| |
X | X API v2 ( |
|
|
TikTok | TikTok Content Posting API ( |
|
|
LinkedIn Posts API ( |
|
| |
Reddit OAuth API ( |
|
|
Fail-Closed Publishing Guarantee: Live requests never fabricate fake post URLs. When an API token is absent and
dry_run=False, MultiPlatformDispatcher returnsstatus: "auth_required"with the exact missing credential instead of marking an Excel rowPublished.
Related MCP server: Social MCP
Core Capabilities
Multi-Platform Routing & Real REST Connectors (
python_workers/connectors/social_connectors.py): Dispatches live posts and comment replies across YouTube, X, TikTok, LinkedIn, Reddit, Threads, and WhatsApp while keeping Playwright automation for Instagram & Facebook.Progent Policy Gate & Two-Plane Security (
crates/policy-core/,python_workers/policy_bridge.py): Enforces CaMeL/FIDES origin checks, Tier-1/2/3 tool boundaries, HMAC-SHA256 Tier-3 approvals, FTC#adsponsorship disclosure, AI synthetic media disclosure, X URL cost traps, and quarantined inbound triage.Unified Inbox with Restate Windows (
POST /api/v2/inbox/reply): Tracks inbound timestamps across 24h IG/FB/WhatsApp customer-service windows, 7d IG private replies, 48h TikTok limits, US/DE/FR/GB bot disclosures, and US/EEA TikTok DM compliance blocks.Revenue, Sponsor Discovery & Buyer-Intent Engine (
python_workers/pipelines/revenue_and_outreach.py): Extracts sponsor domains/promo codes from transcripts, scores buyer leads0-3against an explicit ICP, drafts 80-word Story-Bank sponsor pitches, and validates cold-email deliverability hygiene (POST /api/v2/revenue/*).39 SHA-256 Verified Marketing Skills (
core/skills/marketing/): Ships 18 Corey Haines strategy/copywriting/ads skills, 12 Kostja platform/ads skills, and 9 localig-*Markdown skills pinned by LF-normalized SHA-256 digests (manifest.sha256.json) and grounded byvoice.md+ SQLiteMEMGUARDStory Bank receipts.YouTube Linters,
yt-dlp, FFmpeg Studio & Excel Sync: Runs 6 deterministic YouTube checks (title,thumb,20s hook,chapters,dead air,retention), 82-rule 4-pass humanizer scrubbing,cookies.txtexport foryt-dlp, FFmpeg audio mixing (20%orig /85%music) +1080x1920quote-card rendering, and bidirectionalsaved_videos_log.xlsxsync.
Comparison vs. Paid SaaS
Feature | Social Nexus Agent | Hootsuite / Buffer | Later | ManyChat |
Price | $0 / month (Open Source MIT) | $99 – $249 / mo | $25 – $80 / mo | $15 – $145 / mo |
9-Platform Coverage | YT, IG, FB, Threads, WhatsApp, X, TikTok, LinkedIn, Reddit | Multi-social | Visual social | IG / FB / WhatsApp |
REST APIs + Cookie Browser Automation | Yes ( | Cloud OAuth | Cloud OAuth | Cloud Webhooks |
Unified Inbox Window Engine + Compliance | Yes (Restate 24h / 48h / 7d + TikTok geo-blocks) | Basic inbox | Basic inbox | Static flows |
FFmpeg Mixing & Vertical Card Studio | Yes (20%/85% pre-mix, 1080x1920 cards, WhisperX 16kHz) | No | No | No |
Local Offline AI ( | Yes ( | Cloud only | Cloud only | Cloud only |
Rust Policy Core + | Yes (HMAC Tier-3 + 39 SHA-256 Skills) | No | No | No |
System Architecture
flowchart TD
subgraph Interfaces ["Operator Studio, CLI & Protocols"]
UI["9-Platform Web Studio (:8005)"]
CLI["Master CLI (main_agent.py)"]
MCP["MCP 2026-07-28 & A2A v1.0"]
Excel["Master Sheet (saved_videos_log.xlsx)"]
end
subgraph ControlPlane ["Rust & Python Policy Control Plane"]
Gate["Progent Tier-1/2/3 Gate + HMAC Tokens"]
IFC["CaMeL / FIDES Origin & Taint Checks"]
Windows["Restate 24h / 48h / 7d Inbox Clocks"]
Scrub["82-Rule 4-Pass Text Gate + MEMGUARD"]
end
subgraph ExecutionPlane ["Python Execution Plane"]
Rest["9-Platform REST Connectors & Playwright"]
Revenue["Sponsor Discovery, ICP Scorer & Cold Email Hygiene"]
Skills["39 SHA-256 Pinned Skills + voice.md"]
Media["yt-dlp + FFmpeg Studio + 6 YouTube Linters"]
end
Interfaces --> ControlPlane
ControlPlane --> ExecutionPlane
ExecutionPlane <--> ExcelRepository Structure
meta-agent/
├── crates/ # Rust workspace (policy-core, scrubber-pyo3, control-plane :8090)
├── python_workers/
│ ├── connectors/social_connectors.py # Live httpx REST connectors (YT, X, TikTok, LinkedIn, Reddit, Threads, WA)
│ ├── multi_platform.py # 9-platform router, skill bindings & ProgentPolicyGate integration
│ ├── pipelines/revenue_and_outreach.py # Sponsor extractor, 80-word pitch, buyer ICP (0-3), email hygiene
│ ├── linters/youtube_linters.py # Hook, title/thumb, chapters, dead-air, retention & outlier linters
│ ├── media/media_factory.py # WhisperX 16kHz WAV + safe 9:16 3-mode FFmpeg factory
│ ├── bandits/linucb_router.py # Contextual bandit model/hook routing
│ ├── policy_bridge.py # Python/PyO3 Progent, CaMeL/FIDES, Restate & 82-Rule scrubber bridge
│ ├── quarantined_llm.py # Tool-less inbound DM/comment injection classifier
│ └── skills_registry.py # Fail-closed SHA-256 marketing skill loader + voice.md precedence
├── core/
│ ├── skills/marketing/ # 39 pinned Markdown skills (18 corey/*, 12 kostja/*, 9 ig-*)
│ ├── browser/meta_browser.py # Persistent Chrome context, 9-platform cookies & Netscape cookies.txt
│ ├── ytdlp/extractor.py # 9-platform URL detection & yt-dlp downloader
│ ├── mixer/media_mixer.py # FFmpeg Scenario A/B/C studio
│ ├── rules/humanizer.py # 82-rule anti-slop audit & Flesch checks
│ ├── seo/github_seo.py # Repository SEO auditor & launch copy generator
│ └── mcp/server.py # Stateless MCP 2026-07-28 + legacy stdio server
├── api/app.py # FastAPI Studio API (:8005), Inbox v2, Revenue v2 & A2A v1.0
├── static/ # 9-Platform Web Studio UI (Hub, Inbox, Revenue, Skills, Publisher)
├── config/ # Bifrost LLM gateway & OTel Collector pipelines
├── sql/ # PostgreSQL schema (Memory Tax archive, MEMGUARD Story Bank, CRM)
├── 01_login_setup.py .. 05_fb_publisher_commenter.py
├── main_agent.py # Unified 9-platform orchestrator & CLI
├── run.py # Web Studio server launcher (:8005)
├── run_mcp.py # MCP server entrypoint
└── docker-compose.yml # Postgres 17, NATS JetStream, Restate, Bifrost, Nango & OTelQuick Start
Option A: Python Studio Server
git clone https://github.com/muhdfaisalwork-gif/meta-agent.git
cd meta-agent
pip install -r requirements.txt
playwright install chromium
python run.pyOpen http://localhost:8005 to access the 9-Platform Operations Hub, Unified Inbox, Revenue & Outreach, Skills Library, YouTube Linter, FFmpeg Studio, and Multi-Platform Publisher.
Option B: Windows 1-Click Launch
launch.batOption C: Install Node.js SDK / CLI via GitHub Packages (npm)
Configure .npmrc:
@muhdfaisalwork-gif:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_PATInstall @muhdfaisalwork-gif/meta-agent:
npm install @muhdfaisalwork-gif/meta-agentCLI & API Reference
# Check status across auth, LLM provider, music library & rate limits
python main_agent.py --status
# Launch persistent Chrome login across requested platforms & export Netscape cookies.txt
python 01_login_setup.py
# Dry-run or publish to any of the 9 platforms (YouTube, Instagram, Facebook, Threads, WhatsApp, X, TikTok, LinkedIn, Reddit)
python main_agent.py --platform X --publish --dry-run
python main_agent.py --platform LinkedIn --reply "How do you validate receipts locally?"
# Run multi-platform extraction, FFmpeg mix, and publish/reply cycle
python main_agent.py --auto --dry-run --platforms YouTube,X,LinkedInKey Studio API Endpoints (:8005)
GET /api/v2/platforms— Live matrix of all 9 platforms, bound marketing skills, capabilities, and auth state.POST /api/publish/POST /api/comments/run— Progent-gated publishing and quarantined reply automation across all 9 platforms.POST /api/v2/inbox/reply— Restate durable thread replies enforcing 24h/48h/7d windows and TikTok US/EEA DM blocks.POST /api/v2/revenue/{extract-sponsors,sponsor-pitch,score-buyer,cold-email-check}— Sponsor extraction, grounded 80-word pitches, 0-3 buyer ICP scoring, and deliverability hygiene.GET /api/v2/skills&POST /api/v2/skills/verify— Fail-closed SHA-256 verification and skill retrieval across all 39 Markdown skills.POST /api/v2/lint/youtube&POST /api/v2/scrubber/check— YouTube package linters and 82-rule 4-pass text gate.
MCP 2026-07-28 & A2A v1.0 Integration
Register the local MCP server for Claude Desktop or Cursor:
python scripts/install_mcp.pyOr add to claude_desktop_config.json (replace /path/to/meta-agent with your local clone path):
{
"mcpServers": {
"social-nexus": {
"command": "python",
"args": ["/path/to/meta-agent/run_mcp.py"]
}
}
}Exposed HTTP & Agent endpoints: POST /mcp/2026-07-28, POST /mcp, GET /.well-known/agent.json, POST /a2a/v1/tasks, and tools list_social_platforms, publish_social_post, reply_social_comment, lint_youtube_package, triage_untrusted_inbound, list_marketing_skills, load_marketing_skill.
Tests
python -m pytest -v
npm test
cargo test --workspace --exclude scrubber-pyo3Contributing & Security
See CONTRIBUTING.md and SECURITY.md.
License
Distributed under the MIT License. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, schedule and publish Instagram and Facebook posts from Claude or ChatGPT.
Run Instagram automation on your own real phones from Claude, Cursor or any AI agent.
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Post and schedule to X, LinkedIn, Instagram, TikTok, YouTube and more from Claude, ChatGPT, Cursor.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceLets you control Meta apps (Facebook, Instagram, Threads) using your Chrome login session without API tokens, enabling actions like posting, messaging, and reading inbox locally.3-
- AlicenseAqualityBmaintenanceEnables AI agents to publish, edit, delete, comment on, and analyze posts across LinkedIn, Facebook Pages, and Instagram professional accounts, including cross-posting and local scheduling. Runs locally with user-supplied credentials and no third-party token routing.411MIT
- AlicenseAqualityCmaintenanceEnables Claude to manage an Instagram professional account through Meta's official Graph API, including analytics, comment moderation, and publishing, while running locally with confirmation-preview safeguards for write actions.13MIT
- AlicenseAqualityCmaintenanceEnables running and growing an Instagram professional account from Claude, Cursor, Codex or any other MCP client through Meta's official API: publishing and scheduling reels, carousels, photos and stories, A/B testing trial reels, replying to comments and DMs, reading insights, and researching hashtags and competitors. It runs locally with tokens stored in the OS keychain and installs with a single setup command.6522 npm2MIT