facebook-mcp
io.github.IvanBBaev/facebook-mcp
About facebook-mcp
facebook-mcp is an MCP server published by the GitHub account IvanBBaev. Facebook Pages MCP server for the Meta Graph API — publishing, insights, moderation, messaging
It runs on your own machine: your AI client starts it from the npm package @ivanbaev/facebook-mcp at version 0.7.0.
It asks for 6 secrets: FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN, FB_PAGE_TOKEN, FB_APP_SECRET, FB_CONFIRM_TOKEN and FB_HTTP_TOKEN. Give it a key with the least access that still works.
Version 0.7.0 was published on 27 August 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
FB_SYSTEM_TOKEN | No | Yes | System-user access token (Business Manager). Takes precedence over FB_ACCESS_TOKEN and FB_PAGE_TOKEN when several are set. |
FB_ACCESS_TOKEN | No | Yes | Primary user access token. At least one of FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN or FB_PAGE_TOKEN must be set. |
FB_PAGE_TOKEN | No | Yes | Long-lived Page access token used as a fallback credential when no user or system-user token is configured. |
FB_APP_ID | No | No | Meta app ID; combined with FB_APP_SECRET it forms the app access token used to authorize /debug_token inspection. |
FB_APP_SECRET | No | Yes | Meta app secret. When set, appsecret_proof is attached to every call so a stolen bare token cannot be used on its own. |
FB_PAGE_ID | No | No | Default Facebook Page ID, used when a tool call omits an explicit profile argument. |
FB_API_VERSION | No | No | Graph API version to target. Defaults to the tested pinned version; other values are accepted verbatim as an escape hatch but are not tested. |
FB_REQUEST_TIMEOUT_MS | No | No | Per-request timeout in milliseconds; integer in [1, 600000]. |
FB_HOST_CONCURRENCY | No | No | Maximum number of in-flight requests per Graph host; integer in [1, 64]. |
FB_MAX_RESULT_CHARS | No | No | Character budget applied by the result shaper before a tool result is truncated; integer in [500, 10000000]. |
FB_WRITE_MODE | No | No | Write gating mode: plan (validating dry-run preview, the default) or apply. It never covers the irreversible and spend tiers, which always need a per-call apply plus a plan_id. |
FB_CONFIRM_TOKEN | No | Yes | Operator confirmation token for out-of-band approval of irreversible or spend actions. The server prompts through MCP elicitation where the client supports it; otherwise the caller passes this value as the confirm_token tool argument. |
FB_MEDIA_DIR | No | No | Directory permitted for local media uploads. Unset means URL-only uploads and no local file access at all. |
FB_JOURNAL_PATH | No | No | Path to the append-only write journal. Defaults to the XDG/%APPDATA% state path; the file is created owner-only (0600) and rotates by size. |
FB_TOOL_PACKAGES | No | No | Comma-separated tool packages or profiles to expose (e.g. core,posts,reader, or the profiles core|all|reader|publisher|moderator|ads). Omit for the default profile, which excludes ads. |
FB_PACKAGES_DENY | No | No | Comma-separated packages to exclude even when FB_TOOL_PACKAGES enables them. Deny wins over allow. |
FB_PACKAGES_READONLY | No | No | Comma-separated packages whose write tools are not registered at all; the read tools of those packages stay available. |
FB_TRANSPORT | No | No | Transport protocol: stdio (default) or http. The http transport binds 127.0.0.1 only and fails closed without FB_HTTP_TOKEN. |
FB_HTTP_TOKEN | No | Yes | Bearer token guarding the HTTP transport; required when FB_TRANSPORT=http (the server refuses to start without it). |
FB_HTTP_PORT | No | No | Port for the HTTP transport (loopback only); used when FB_TRANSPORT=http. Integer in [1, 65535]. |
FB_AD_ACCOUNT_ID | No | No | Default ad account ID (act_… or the bare numeric id) for the opt-in ads package. |
FB_ADS_BUDGET_CEILING | No | No | Hard ceiling for any ads budget write, in minor currency units (e.g. cents). Non-negative integer; a write above it is refused. |
FB_LOG_LEVEL | No | No | Stderr log verbosity: debug, info, warn or error. Logs never go to stdout — that is the stdio protocol channel. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/IvanBBaev/facebook-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Warn | Asks for 6 secrets: FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN, FB_PAGE_TOKEN, FB_APP_SECRET, FB_CONFIRM_TOKEN, FB_HTTP_TOKEN |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account IvanBBaev |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @ivanbaev/facebook-mcp@0.7.0 runs nothing at install |
| Code red flags | Pass | Read 93 files in @ivanbaev/facebook-mcp@0.7.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 93 files, including comments and the README |
Popularity & health: 66 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
2 forks, 1 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.IvanBBaev/facebook-mcp |
|---|---|
| Publisher | GitHub account IvanBBaev |
| How the name is verified | Name verified via GitHub account IvanBBaev. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @ivanbaev/facebook-mcp 0.7.0 (stdio) |
| Version | 0.7.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/IvanBBaev/facebook-mcp |
| Website | https://ivanbbaev.github.io/facebook-mcp/ |
| Category | Email & messaging (assigned by keyword rule, not by hand) |
Related servers in Email & messaging
- WhatsApp Messaging API7/7Send WhatsApp messages from Claude. No Meta Business approval or…
- GhostPaw Telegram6/7Telegram message mirror, search, sending, and moderation tools.
- omnicord7/7Discord server management MCP for AI agents: chat, moderation,…
- Discord7/7Discord for LLM agents: 168 tools for messages, moderation,…
- WSENDER3/3Manage WhatsApp, Telegram and MAX mailings: audiences, drafts,…
- AwrAIter — Telegram channels3/3Telegram channels you administer: analytics, content plans,…