MCP.Market

Facebook Pages MCP server

by lanternrow·io.github.lanternrow/facebook-pages-mcp·v1.0.3

Facebook Pages organic analytics, post management, and insights via Meta Graph API v25.0.

B75/100grade B
What users say
No reviews yet
Be the first
Safety scan
B75/100

full report

Adoption
New

0 stars61 downloads/wk

Reviews

Write one

Nobody has reviewed Facebook Pages yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Facebook Pages tools (9, 3 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • create_postwrite action

    Create a new post on the Facebook Page. Supports text posts, link posts, and photo posts. Returns the new post ID.

  • get_page_feed

    Retrieve the full page feed including visitor posts (unlike published_posts which only returns page-authored posts).

  • get_page_info

    Retrieve Facebook Page metadata: name, category, follower count, contact info, location, hours, and cover photo.

  • get_page_insights

    Retrieve page-level analytics (page_views_total, page_fans, page_fan_adds, page_fan_removes, page_actions_post_reactions_total). Supports day/week/days_28 periods and date ranges. NOTE: Legacy metrics page_impressions and page_reach are deprecated as of June 2026.

  • get_post_commentswrite action

    Retrieve paginated comments on a specific post, including author, timestamp, like count, and reply count.

  • get_post_insightswrite action

    Retrieve engagement metrics for a specific post: impressions, engaged users, clicks, reactions by type, and activity by action type.

  • get_published_posts

    Retrieve a paginated list of posts published by the page, including message, image, permalink, shares, and type.

  • get_video_insights

    Retrieve performance metrics for a specific video: views, impressions, average watch time, total watch time, and reactions by type.

  • refresh_token_info

    Inspect the current access token to check validity, expiration date, and granted scopes. Useful for diagnosing auth issues.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan15 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 90 days ago12/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 75/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Facebook Pages compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
75/100
higher than 45% of 48,243 servers
Tools
9
the typical server has 7
Tools that change things
33%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
61
more than 48% of 12,306 servers with a package

What its tools let an agent do: 6 read · 1 create · 2 change

Install Facebook Pages in Claude Code, Cursor or VS Code

Runs npx -y facebook-pages-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add facebook-pages-mcp -- npx -y facebook-pages-mcp
Add to Cursor

What the publisher says

From the Facebook Pages repository's README, as published. We do not edit it. Read it on GitHub

facebook-pages-mcp

MCP server for Facebook Pages organic analytics and management, powered by Meta Graph API v25.0.

Built for Claude Code and any MCP-compatible AI tool. Gives your AI assistant direct access to your Facebook Page data — posts, insights, comments, and more.

Part of The SEO Engine toolkit by Rex Jones — AI-powered SEO and social media tooling for agencies and businesses.

Why this exists

  • No good Facebook Pages MCP server existed. Instagram has several. Facebook Pages had none that worked on a current API version.
  • Meta deprecated legacy metrics on June 15, 2026. pageimpressions, pagereach, and pageimpressionsunique no longer return data. This server uses the replacement metrics from day one.
  • Business Manager support. Most businesses manage Pages through Meta Business Manager, not personal accounts. This server works with both.

Quick start

Option 1: npx (no install)

{
  "mcpServers": {
    "facebook-pages": {
      "command": "npx",
      "args": ["-y", "facebook-pages-mcp"],
      "env": {
        "FB_PAGE_ACCESS_TOKEN": "your_page_access_token",
        "FB_PAGE_ID": "your_page_id"
      }
    }
  }
}

Option 2: Clone and build

git clone https://github.com/lanternrow/facebook-pages-mcp.git
cd facebook-pages-mcp
npm install
npm run build

Then add to your Claude Code MCP settings:

{
  "mcpServers": {
    "facebook-pages": {
      "command": "node",
      "args": ["/path/to/facebook-pages-mcp/dist/index.js"],
      "env": {
        "FB_PAGE_ACCESS_TOKEN": "your_page_access_token",
        "FB_PAGE_ID": "your_page_id"
      }
    }
  }
}

Getting your Page Access Token

Step 1: Create a Meta App

  1. Go to Meta for Developers and click Create App
  2. Name your app and choose the "Manage everything on your Page" use case
  3. Connect it to your Business Portfolio

Step 2: Generate a token in the Graph API Explorer

  1. Open the Graph API Explorer
  2. Select your app from the Meta App dropdown
  3. Add permissions: pagesshowlist, pagesreadengagement, business_management
  4. Click Generate Access Token and complete the OAuth flow
  5. When asked about Pages, select "Opt in to all current and future Pages"

Step 3: Get your Page Access Token

If your Pages are managed through Business Manager (most businesses):

# First, find your business ID
GET /me/businesses?fields=id,name

# Then get Page tokens for that business
GET /{business-id}/owned_pages?fields=id,name,access_token

If your Pages are on your personal account:

GET /me/accounts?fields=id,name,access_token

Copy the access_token and id for the Page you want.

Step 4: Exchange for a long-lived token (recommended)

Short-lived tokens expire in ~1 hour. Exchange for a long-lived token (~60 days):

GET /oauth/access_token
  ?grant_type=fb_exchange_token
  &client_id={your-app-id}
  &client_secret={your-app-secret}
  &fb_exchange_token={short-lived-token}

Tip: For Pages you admin, Page tokens derived from a long-lived User Token never expire.

Tools

Read tools

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Facebook Pages: common questions

Is Facebook Pages MCP server safe?
Mostly: it is graded B (75/100). Read the Facebook Pages safety report
How do I install Facebook Pages?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Facebook Pages need an API key?
Yes. The registry entry asks for FB_PAGE_ACCESS_TOKEN.
Is Facebook Pages maintained?
The last commit was 130 days ago (2026-06-29). The latest release is v1.0.3.
How does Facebook Pages compare with other MCP servers?
safety score 75/100 (higher than 45% of 48,243 servers); tools 9 (the typical server has 7); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from lanternrow →