Facebook MCP Server
Provides browser-based read-only auditing of Facebook Pages, including profile/cover assets, latest posts, screenshots, and page search, plus official Graph API publishing/scheduling to Pages.
Uses the official Meta Graph API with META_ACCESS_TOKEN to list managed Facebook Pages, fetch Page metadata, Insights, and recent posts, and preview/publish/schedule text, photo, or link posts.
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 MCP Server audit facebook.com/nike and grab its logo, cover, and a desktop screenshot"
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 Server (facebook-mcp)
Model Context Protocol (MCP) server for Facebook Page Auditing, Brand Asset Harvesting, Screenshots, and Official Meta Graph API Publishing for Claude Code and Claude Desktop.
Account Safety First: Browser inspection tools are strictly read-only and never bypass CAPTCHAs or security checkpoints. Publishing and scheduling use the Official Meta Graph API (
fb_api_*) withdry_run=Trueenabled by default.
Tools (11)
Tool | Mode | What it does |
| Browser | Opens Facebook once in a dedicated local Chrome profile ( |
| Browser | Full read-only Page audit: name, followers, bio, links, logo/cover URLs, About tab & desktop screenshot. |
| Browser | Extracts latest posts (copy, permalinks, image URLs) for brand voice & competitive research. |
| Browser | Downloads profile logo, cover banner, and recent post assets locally. |
| Browser | Captures desktop (1440×900) or mobile (430×932) screenshots and returns them inline. |
| Browser | Read-only search for Facebook Pages by brand/keyword. |
| Graph API | Lists managed Facebook Pages via |
| Graph API | Fetches official Page metadata, recent posts, and Insights metrics. |
| Graph API | Previews ( |
| Local | Shows the most recently saved screenshot or asset. |
| Browser | Diagnostic login/checkpoint check + screenshot. |
Related MCP server: webcap
Install
Claude Code
claude mcp add facebook -- uvx --from git+https://github.com/bostudioserv-alt/facebook-mcp facebook-mcpClaude Desktop
{
"mcpServers": {
"facebook": {
"command": "uvx",
"args": ["--from", "git+https://github.com/bostudioserv-alt/facebook-mcp", "facebook-mcp"]
}
}
}License
MIT
Available Tools
11 toolsfb_api_get_page_insightsB
Fetch official Page metadata, recent posts, and Insights metrics via Meta Graph API (requires META_ACCESS_TOKEN).
Args: page_id: Numeric Facebook Page ID. period: Insights period ('day', 'week', 'days_28'). Default 'days_28'.
Inputs: page_id (required), period. Returns: result
fb_api_list_my_pagesA
List Facebook Pages you manage via the Official Meta Graph API (requires META_ACCESS_TOKEN).
Inputs: no named parameters. Returns: result
fb_api_publish_postA
Preview (dry_run=True default) or publish/schedule a post to a Facebook Page you manage via Official Meta Graph API.
Args: page_id: Numeric Facebook Page ID. message: Post caption / text. image_path: Optional local path to a photo to publish with the post. link: Optional URL to attach (text/link posts only). scheduled_publish_time: Optional UNIX timestamp (at least 10 minutes in the future) to schedule the post. dry_run: Safety default True previews without publishing; pass False after user confirmation to publish.
Inputs: message (required), page_id (required), link, dry_run, +2 more. Returns: result
fb_browser_loginA
Open Facebook (https://www.facebook.com) in a visible Chrome window so you can sign in once.
Saves your session in ~/.facebook-mcp/chrome-profile (completely isolated from your main Chrome).
Args: wait_seconds: Seconds to wait for sign-in completion (default 120, max 140).
Inputs: wait_seconds. Returns: result
fb_capture_screenshotB
Capture a crisp desktop (1440x900) or mobile (430x932) screenshot of any Facebook Page or post and return it inline.
Args: url: Facebook Page or post URL. full_page: Capture full scrollable page height (default False). mobile_viewport: Use mobile 430x932 viewport when True (default False). output_path: Optional output PNG path.
Inputs: url (required), full_page, output_path, mobile_viewport.
fb_download_page_assetsA
Download a Facebook Page's profile photo (logo), cover banner, and recent post images locally into ~/Downloads/facebook-mcp/<page>/.
Args: page_url: Full Facebook Page URL or handle. max_post_images: Max recent post images to save (0-20, default 6). output_dir: Optional custom folder to save the downloaded images.
Inputs: page_url (required), output_dir, max_post_images. Returns: result
fb_get_page_postsA
Read the latest posts from a Facebook Page (post copy, permalinks, and image URLs) for content & brand voice audit.
Args: page_url: Full Facebook Page URL or handle. max_posts: Maximum number of posts to extract (1-25, default 10). scroll_rounds: Number of polite scroll passes (1-10, default 4).
Inputs: page_url (required), max_posts, scroll_rounds. Returns: result
fb_inspect_pageA
Audit a Facebook Page and extract real business/brand data (name, followers, bio, phones, email, website, logo/cover URLs, About tab, and screenshot).
Ideal for client discovery, marketing proposals, and competitor audits.
Args: page_url: Full Facebook Page URL or handle (e.g. 'https://www.facebook.com/SomeBrand' or 'SomeBrand'). capture_screenshots: Capture and return a desktop screenshot of the Page (default True). include_about: Also visit the Page's About tab to gather phones, addresses, and services (default True).
Inputs: page_url (required), include_about, capture_screenshots.
fb_inspect_uiB
Diagnostic tool: checks Facebook login/checkpoint status and saves a screenshot.
Args: url: Facebook URL to inspect. show_browser: Show Chrome visibly while inspecting (default False).
Inputs: url, show_browser. Returns: result
fb_search_pagesA
Search Facebook Pages by brand name or keyword (read-only discovery).
Args: query: Brand name, business name, or category keyword. max_results: Maximum results to return (1-20, default 10).
Inputs: query (required), max_results. Returns: result
fb_show_latestB
Show the most recently saved Facebook screenshot or downloaded asset from ~/Downloads/facebook-mcp.
Inputs: media_type.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
The set splits cleanly into an official Graph API family (fb_api_*) and a browser-scraping family (fb_*), which helps, but several tools overlap: fb_api_get_page_insights, fb_inspect_page, and fb_get_page_posts all return page metadata and/or recent posts, and fb_capture_screenshot, fb_inspect_ui, and fb_inspect_page all produce screenshots. Descriptions hint at intent (owned pages via API vs. competitor audits via scraping), but an agent can easily misselect between them.
Nearly all tools follow a consistent fb_ prefix plus verb_noun (inspect_page, get_page_posts, download_page_assets, capture_screenshot, search_pages). The fb_api_* prefix is a deliberate, readable grouping rather than an inconsistency. Minor deviation: fb_show_latest has no object noun, making it the least predictable name.
Eleven tools is a well-scoped size for a page-management/auditing server. There is mild redundancy (two screenshot paths, two post-reading paths), but each tool contributes a distinct capability (login, search, publish, assets, diagnostics).
Core read/audit workflows and a publish path are covered, but the surface has notable gaps: no edit/delete of published posts, no comment or message handling, no way to list scheduled posts, and no video/reel support. The scraping side also dead-ends at fb_show_latest for reviewing previously downloaded assets.
Maintenance
Related MCP Connectors
Read posts, pages and metrics; create post drafts, comments and media in Planable.
Schedule and publish social posts with OAuth, drafts, media, workspaces, and brand memory.
Publish and schedule social posts, upload media, and review analytics through OAuth.
Read and change Meta (Facebook, Instagram) ads, budgets and audiences, with approval cards.
Related MCP Servers
- FlicenseAqualityCmaintenanceEnables fetching, crawling, and analyzing web pages with 29 tools for SEO audits, content extraction, and more.29-
- AlicenseNot gradedqualityBmaintenanceEnables screenshotting any URL, extracting structured page data, and setting up page monitoring alerts via pay-per-call MCP tools.MIT
- AlicenseAqualityBmaintenanceIt enables compatible AI agents to audit public web pages, crawl bounded same-host site samples, collect and compare AI answers, and read a user's own Google Search Console data locally.9164 npm2Apache 2.0
- AlicenseAqualityCmaintenanceEnables users to fetch a page's raw HTML as a real browser would, render it view-source style with line numbers and highlighted matches, and capture proof screenshots. Also returns matched line numbers and text so findings can be cited without taking a shot.2MIT