Skip to main content
Glama
lanternrow

facebook-pages-mcp

by lanternrow

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FB_PAGE_IDYesDefault Facebook Page ID (numeric)
FB_PAGE_ACCESS_TOKENYesLong-lived Page Access Token

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_page_infoA

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

get_page_insightsB

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_published_postsB

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

get_post_insightsA

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

get_post_commentsA

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

get_video_insightsB

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

get_page_feedA

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

create_postA

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

refresh_token_infoA

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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lanternrow/facebook-pages-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server