Skip to main content
Glama
navidmoazzez

Facebook MCP

by navidmoazzez

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FACEBOOK_APP_IDNoYour Meta app ID. Used during login to exchange the short-lived token for permanent Page tokens. Found under Settings > Basic in your Meta developer app.
FACEBOOK_AUDIT_LOGNoFile path for an audit log. Every write attempt is appended to this file, and the MCP server cannot read or edit it.
FACEBOOK_APP_SECRETNoYour Meta app secret. Used together with FACEBOOK_APP_ID during login to make Page tokens never expire.
FACEBOOK_ALLOW_WRITENoSet to 'true' to enable posting, editing, replying, and other write operations. Without this the server is read-only and refuses any write attempt.false
FACEBOOK_ALLOW_DELETENoSet to 'true' to enable destructive delete operations. Requires FACEBOOK_ALLOW_WRITE=true as well.false
FACEBOOK_PREFERRED_PAGESNoComma-separated list of Page names to set the default order when multiple Pages are administered. Exact name matches beat prefix matches.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_pagesA

List every Facebook Page this server can act as, with its id and name. Call this first when you have more than one, so you can name the right Page on later calls.

get_pageA

Profile details for a Page: name, category, follower count, about text, website and whether it is published.

create_postA

Publish a text post, optionally with a link. Leave publish_at empty and draft false to post immediately. Set draft to keep it unpublished, or publish_at to schedule it.

create_photo_postA

Publish a photo from a public URL, with an optional caption. Same scheduling and draft options as a text post.

list_postsA

Published posts on a Page, newest first, with their reaction, comment and share counts.

list_scheduled_postsB

Posts that have not gone out yet: both scheduled ones and saved drafts, with the time each is due.

publish_draftA

Take a draft or scheduled post and publish it immediately.

update_postA

Change the text of a published post. Facebook shows an edit history to viewers.

delete_postA

Permanently delete a post. This cannot be undone, and is refused unless deletion is explicitly enabled.

list_commentsA

Comments on a post, with who wrote each one and when. Use this before replying or moderating.

reply_to_commentA

Post a public reply under a comment, as the Page.

hide_commentA

Hide a comment from everyone except its author and their friends. Reversible, and the usual answer for spam or abuse. Prefer this to deleting.

delete_commentA

Permanently delete a comment. Cannot be undone, and refused unless deletion is explicitly enabled. Hiding is usually the better answer.

get_page_insightsA

How the Page itself is doing over a date range: impressions, reach, engaged users and follower change.

get_post_insightsA

How one post did: impressions, reach, clicks and reactions. Post metrics are named differently from Page metrics, which is why this is a separate tool.

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/navidmoazzez/facebook-mcp'

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