facebook-pages-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FB_PAGE_ID | Yes | Default Facebook Page ID (numeric) | |
| FB_PAGE_ACCESS_TOKEN | Yes | Long-lived Page Access Token |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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