facebook-mcp
Provides tools for organic Facebook Page analytics via the Meta Graph API, including page insights, posts, comments, audience, follower growth, and optional publishing capabilities.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@facebook-mcpshow me my Facebook page insights for this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
facebook-mcp
MCP server for organic Facebook Page analytics via the Meta Graph API
(no Ads API). The Instagram tools live in the separate instagram-mcp server.
Connects every Facebook Page you manage; tools default to your first Page and
accept page_id to target another.
Quick start
# Windows: double-click start.bat · macOS/Linux: ./start.sh · or:
python launcher.pyInstalls deps, logs in with Facebook (saving tokens), and registers facebook
in your Claude Desktop config. You need a Meta App ID + Secret (one-time app with
Facebook Login and redirect URI http://localhost:8765/callback).
Related MCP server: facebook-mcp-video-reels
Tools
list_connected_accounts,fb_get_all_pages_posts,fb_get_all_pages_summaryfb_get_page_posts,fb_get_post_insights,fb_get_page_insightsfb_get_page_profile,fb_get_page_videos,fb_get_page_audiencefb_get_post_comments,fb_get_top_postsfb_get_follower_growth,fb_get_engagement_rate,fb_compare_page_insightsaccount_health_report,list_available_metricsResource
facebook://pagesPublishing (opt-in):
fb_publish_post,fb_reply_comment,fb_hide_comment,fb_delete_comment
All tools take response_format (markdown default / json). Insight tools accept
date_preset (last_7d, last_30d, this_month, …).
Auth & credentials
Login is shared with instagram-mcp — both read the same
~/.config/meta-social-mcp/credentials.json, so logging in from either server
sets up both. Read permissions: pages_show_list, pages_read_engagement,
read_insights, business_management.
python server.py login --app-id YOUR_APP_ID --app-secret YOUR_APP_SECRET
python server.py whoamiPublishing requires --with-publishing at login (adds pages_manage_posts,
pages_manage_engagement; needs Meta App Review) and META_ENABLE_PUBLISHING=1.
Env knobs
META_GRAPH_VERSION (default v19.0), META_CACHE_TTL, META_ENABLE_PUBLISHING,
META_PAGE_ACCESS_TOKEN, FB_PAGE_ID, META_SOCIAL_CREDENTIALS.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and manage Meta Ads campaigns, ad sets, ads, audiences, pages and Business Manager. You provide
Facebook data for AI agents: pages, posts, groups. Brand, market + competitor research JSON.
Public Facebook pages and profiles with likes, followers, contact details and posts, as JSON.
Meta Ads MCP (Facebook + Instagram) - analyze performance, manage budgets, pause campaigns.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to automate Facebook Page management including posting, commenting, and analytics via the Facebook Graph API.MIT
- AlicenseNot gradedqualityCmaintenanceEnables authentication with Facebook and provides tools to list pages, post text/images, upload videos, and create Reels on Facebook Pages.3 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables managing Facebook Pages via the Graph API, including posting, comment moderation, and post insights through natural language.MIT
- AlicenseNot gradedqualityDmaintenanceEnables automating and managing Facebook Page interactions through the Graph API, including posting, comment moderation, engagement analytics, scheduling, and direct messaging from natural language.MIT