HagaiHen/facebook-mcp-server
by Various
Facebook MCP server for automating posts, comment moderation, insights, and sentiment filtering.
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_facebookreply_to_commentget_page_postsget_post_commentsdelete_postdelete_commenthide_commentunhide_commentdelete_comment_from_postfilter_negative_commentsget_number_of_commentsget_number_of_likesget_post_impressionsget_post_impressions_uniqueget_post_impressions_paidget_post_impressions_organicget_post_engaged_usersget_post_clicksget_post_reactions_like_totalget_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
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
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.