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

VariableRequiredSecretDescription
FB_SYSTEM_TOKENNoYesSystem-user access token (Business Manager). Takes precedence over FB_ACCESS_TOKEN and FB_PAGE_TOKEN when several are set.
FB_ACCESS_TOKENNoYesPrimary user access token. At least one of FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN or FB_PAGE_TOKEN must be set.
FB_PAGE_TOKENNoYesLong-lived Page access token used as a fallback credential when no user or system-user token is configured.
FB_APP_IDNoNoMeta app ID; combined with FB_APP_SECRET it forms the app access token used to authorize /debug_token inspection.
FB_APP_SECRETNoYesMeta app secret. When set, appsecret_proof is attached to every call so a stolen bare token cannot be used on its own.
FB_PAGE_IDNoNoDefault Facebook Page ID, used when a tool call omits an explicit profile argument.
FB_API_VERSIONNoNoGraph 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_MSNoNoPer-request timeout in milliseconds; integer in [1, 600000].
FB_HOST_CONCURRENCYNoNoMaximum number of in-flight requests per Graph host; integer in [1, 64].
FB_MAX_RESULT_CHARSNoNoCharacter budget applied by the result shaper before a tool result is truncated; integer in [500, 10000000].
FB_WRITE_MODENoNoWrite 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_TOKENNoYesOperator 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_DIRNoNoDirectory permitted for local media uploads. Unset means URL-only uploads and no local file access at all.
FB_JOURNAL_PATHNoNoPath 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_PACKAGESNoNoComma-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_DENYNoNoComma-separated packages to exclude even when FB_TOOL_PACKAGES enables them. Deny wins over allow.
FB_PACKAGES_READONLYNoNoComma-separated packages whose write tools are not registered at all; the read tools of those packages stay available.
FB_TRANSPORTNoNoTransport protocol: stdio (default) or http. The http transport binds 127.0.0.1 only and fails closed without FB_HTTP_TOKEN.
FB_HTTP_TOKENNoYesBearer token guarding the HTTP transport; required when FB_TRANSPORT=http (the server refuses to start without it).
FB_HTTP_PORTNoNoPort for the HTTP transport (loopback only); used when FB_TRANSPORT=http. Integer in [1, 65535].
FB_AD_ACCOUNT_IDNoNoDefault ad account ID (act_… or the bare numeric id) for the opt-in ads package.
FB_ADS_BUDGET_CEILINGNoNoHard ceiling for any ads budget write, in minor currency units (e.g. cents). Non-negative integer; a write above it is refused.
FB_LOG_LEVELNoNoStderr log verbosity: debug, info, warn or error. Logs never go to stdout — that is the stdio protocol channel.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/IvanBBaev/facebook-mcp
Version pinnedPassEvery package has an explicit version
Secrets requestedWarnAsks for 6 secrets: FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN, FB_PAGE_TOKEN, FB_APP_SECRET, FB_CONFIRM_TOKEN, FB_HTTP_TOKEN
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account IvanBBaev
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPass@ivanbaev/facebook-mcp@0.7.0 runs nothing at install
Code red flagsPassRead 93 files in @ivanbaev/facebook-mcp@0.7.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo 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.

Popularity12 / 40

2 GitHub stars, 326 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity25 / 25

Last push 2026-10-28, last release 2026-10-28, 115 commits in 90 days.

Issue health13 / 15

22 closed of 25 issues.

Our checks16 / 20

1 warning, each costing a fifth.

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 nameio.github.IvanBBaev/facebook-mcp
PublisherGitHub account IvanBBaev
How the name is verifiedName verified via GitHub account IvanBBaev. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm @ivanbaev/facebook-mcp 0.7.0 (stdio)
Version0.7.0
Published
Last updated
Source repositoryhttps://github.com/IvanBBaev/facebook-mcp
Websitehttps://ivanbbaev.github.io/facebook-mcp/
CategoryEmail & messaging (assigned by keyword rule, not by hand)

Related servers in Email & messaging