Facebook MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| META_ACCESS_TOKEN | No | Meta Graph API access token used by the fb_api_* tools to list managed Pages, fetch Page insights, and publish/schedule posts. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Facebook Page Audit, Brand Discovery, Asset Harvesting & Publishing MCP Server. Uses a dedicated persistent Chrome profile (~/.facebook-mcp/chrome-profile) for Page audits, post reading, logo/cover/media downloads, and screenshots (call fb_browser_login once to sign in), plus optional Official Meta Graph API tools (fb_api_*) for managed Page insights and publishing.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fb_browser_loginA | Open Facebook ( Saves your session in Args: wait_seconds: Seconds to wait for sign-in completion (default 120, max 140). |
| 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). |
| 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). |
| fb_download_page_assetsA | Download a Facebook Page's profile photo (logo), cover banner, and recent post images locally into 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. |
| 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. |
| 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). |
| fb_api_list_my_pagesA | List Facebook Pages you manage via the Official Meta Graph API (requires META_ACCESS_TOKEN). |
| fb_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'. |
| fb_api_publish_postA | Preview ( 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. |
| fb_show_latestB | Show the most recently saved Facebook screenshot or downloaded asset from |
| 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). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.