Enterprise DNA
M MCP Servers Developer low

HagaiHen/facebook-mcp-server

by Various

Facebook MCP server for automating posts, comment moderation, insights, and sentiment filtering.

H

MCP

HagaiHen/facebook-mcp-server

Added 1 June 2026

Overview

An MCP server that connects AI assistants to Facebook's Graph API for content management and moderation. It automates tasks like posting, retrieving insights, and filtering comments by sentiment. Built in Python, it provides a standardized interface for AI agents to control Facebook pages and groups programmatically.

Best for

Best for
Developers building AI agents that need to manage Facebook pages programmatically.

Use cases

  • Automating scheduled posts on Facebook pages
  • Moderating comments with sentiment-based filtering
  • Fetching page insights and engagement metrics

How to use

Install

uv pip install -r requirements.txt

Tools exposed

  • post_to_facebook
  • reply_to_comment
  • get_page_posts
  • get_post_comments
  • delete_post
  • delete_comment
  • hide_comment
  • unhide_comment
  • delete_comment_from_post
  • filter_negative_comments
  • get_number_of_comments
  • get_number_of_likes
  • get_post_impressions
  • get_post_impressions_unique
  • get_post_impressions_paid
  • get_post_impressions_organic
  • get_post_engaged_users
  • get_post_clicks
  • get_post_reactions_like_total
  • get_post_top_commenters

Tested with

Claude Desktop

Notes

An MCP server that connects AI assistants to Facebook’s Graph API for content management and moderation. It automates tasks like posting, retrieving insights, and filtering comments by sentiment. Built in Python, it provides a standardized interface for AI agents to control Facebook pages and groups programmatically.

164 stars on GitHub. Last updated 2026-04-23. Licensed MIT.

Use cases

  • Automating scheduled posts on Facebook pages
  • Moderating comments with sentiment-based filtering
  • Fetching page insights and engagement metrics

Pros

  • Open-source Python implementation with 164 stars and active community
  • Standardizes Facebook API interactions through the MCP protocol for AI agent integration
  • Handles common tasks like posting and comment moderation out of the box

Cons

  • Requires a Meta developer account and app setup with proper permissions
  • Limited to the features exposed by the Facebook Graph API; may not cover all page actions
  • Potential rate limits and token management overhead for production use

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Open-source Python implementation with 164 stars and active community
  • Standardizes Facebook API interactions through the MCP protocol for AI agent integration
  • Handles common tasks like posting and comment moderation out of the box

Cons

  • Requires a Meta developer account and app setup with proper permissions
  • Limited to the features exposed by the Facebook Graph API; may not cover all page actions
  • Potential rate limits and token management overhead for production use
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks