Meta social mcp server

From NaveedTechLab/skills-library · View interactive version

Meta social mcp server is an AI agent skill from the GitHub repository NaveedTechLab/skills-library. Integrate with Facebook and Instagram APIs via MCP to create, schedule, and manage social posts with human-in-the-loop approval workflows. Use when automating Meta platform social media management.

How to use this skill

Skill file

Meta Social MCP Server

Description

The Meta Social MCP Server provides Model Context Protocol integration with Facebook and Instagram APIs (Graph API v21), enabling Claude Code to create, schedule, and manage social media posts with HITL (Human-in-the-Loop) approval workflows.

Purpose

This skill enables Claude Code to manage Facebook Pages and Instagram Business accounts while maintaining strict content approval workflows. All posting operations require human approval before publication.

Key Features

Facebook Operations

Instagram Operations

Human-in-the-Loop Controls

| Operation | HITL Required |

|-----------|---------------|

| List pages/accounts | No |

| Get insights | No |

| Create post | Yes |

| Schedule post | Yes |

| Create Reel | Yes |

Content Approval

Configuration

Environment Variables

META_APP_ID=your_app_id
META_APP_SECRET=your_app_secret
META_ACCESS_TOKEN=your_long_lived_token
META_PAGE_ID=your_page_id
META_INSTAGRAM_ACCOUNT_ID=your_ig_account_id

Default Configuration

{
  "meta": {
    "app_id": "",
    "app_secret": "",
    "access_token": "",
    "page_id": "",
    "instagram_account_id": "",
    "api_version": "v21.0",
    "timeout_seconds": 30
  },
  "approval": {
    "require_approval_for_posts": true,
    "require_approval_for_reels": true,
    "approval_timeout_hours": 48,
    "allowed_post_times": ["09:00-21:00"]
  },
  "content": {
    "max_text_length": 63206,
    "max_hashtags": 30,
    "max_images_carousel": 10,
    "supported_image_formats": ["jpg", "jpeg", "png", "gif"],
    "max_video_size_mb": 1024
  }
}

MCP Tools

facebook_list_pages

List all Facebook pages the user manages.

HITL: Not required

facebook_create_post

Create a post on a Facebook page.

Parameters:

HITL: Required

facebook_schedule_post

Schedule a post for future publication.

Parameters:

HITL: Required

facebook_get_insights

Get engagement metrics for a page or post.

Parameters:

HITL: Not required

instagram_create_post

Create a post on Instagram.

Parameters:

HITL: Required

instagram_create_reel

Create an Instagram Reel.

Parameters:

HITL: Required

instagram_get_insights

Get Instagram account or media insights.

Parameters:

HITL: Not required

Usage Scenarios

Create Facebook Post

# Create post with approval
result = await facebook_create_post(
    page_id="123456789",
    message="Check out our latest product launch!",
    media_urls=["https://example.com/image.jpg"]
)

# Result will include approval_request_id
# Human must approve before posting

Schedule Instagram Post

# Schedule post for tomorrow
result = await instagram_create_post(
    account_id="987654321",
    caption="Morning motivation! #inspired #goodvibes",
    media_url="https://example.com/photo.jpg",
    scheduled_time="2024-01-16T09:00:00Z"
)

Integration Points

With Vault System

With Audit Logger

All operations logged with:

With Safety Enforcer

Database Schema

Reuses LinkedIn pattern:

Rate Limits

Security Considerations

Dependencies

When NOT to Use This Skill

Common Mistakes

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.