facebook-mcp
io.github.IvanBBaev/facebook-mcp
Serveur MCP Non testé
Facebook Pages MCP server for the Meta Graph API — publishing, insights, moderation, messaging
Fiche technique
- Auteur
- IvanBBaev (espace de noms du registre)
- Dépôt
- github.com/IvanBBaev/facebook-mcp
- Site
- ivanbbaev.github.io/facebook-mcp
- Version
- 0.8.0
- Transport
- stdio
- Authentification
- Aucune (déclarée au registre)
- Paquets
- @ivanbaev/facebook-mcp 0.8.0 npm stdio
- Outils
- —
- Catégories
- —
- Dernière mise à jour
- 28 oct. 2026
- Publication
- 28 oct. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».
[](https://latlas.dev/mcp/io.github.IvanBBaev/facebook-mcp)<a href="https://latlas.dev/mcp/io.github.IvanBBaev/facebook-mcp"><img src="https://latlas.dev/badge/fiche/io.github.IvanBBaev/facebook-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport non listé | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Lancement local du paquet @ivanbaev/facebook-mcp (npm). Formats repris de la documentation de chaque client.
claude mcp add-json facebook-mcp '{"command":"npx","args":["-y","@ivanbaev/[email protected]"]}'{
"mcpServers": {
"facebook-mcp": {
"command": "npx",
"args": ["-y","@ivanbaev/[email protected]"]
}
}
}{
"mcpServers": {
"facebook-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y","@ivanbaev/[email protected]"]
}
}
}{
"mcpServers": {
"facebook-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y","@ivanbaev/[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"facebook-mcp": {
"command": "npx",
"args": ["-y","@ivanbaev/[email protected]"]
}
}
}{
"mcpServers": {
"facebook-mcp": {
"command": "npx",
"args": ["-y","@ivanbaev/[email protected]"]
}
}
}[mcp_servers.facebook-mcp]
command = "npx"
args = ["-y","@ivanbaev/[email protected]"]Variables d’environnement déclarées
| Nom | Requise | Description |
|---|---|---|
| FB_SYSTEM_TOKEN | non (secret) | System-user access token (Business Manager). Takes precedence over FB_ACCESS_TOKEN and FB_PAGE_TOKEN when several are set. |
| FB_ACCESS_TOKEN | non (secret) | Primary user access token. At least one of FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN or FB_PAGE_TOKEN must be set. |
| FB_PAGE_TOKEN | non (secret) | Long-lived Page access token used as a fallback credential when no user or system-user token is configured. It belongs to exactly one Page, so set FB_PAGE_ID to that Page ID alongside it (the doctor… |
| FB_APP_ID | non | Meta app ID; combined with FB_APP_SECRET it forms the app access token used to authorize /debug_token inspection. |
| FB_APP_SECRET | non (secret) | 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 | non | Default Facebook Page ID, used when a tool call omits an explicit profile argument. Required when FB_PAGE_TOKEN is the only credential: it names the Page that token belongs to. |
| FB_API_VERSION | non | 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_ADS_API_VERSION | non | Marketing API version the ads tools target (ad accounts, campaigns, ad sets, ads, insights, async reports). The Marketing API retires versions on its own, shorter schedule, so it is pinned separately… |
| FB_REQUEST_TIMEOUT_MS | non | Per-request timeout in milliseconds; integer in [1, 600000]. |
| FB_HOST_CONCURRENCY | non | Maximum number of in-flight requests per Graph host; integer in [1, 64]. |
| FB_MAX_RESULT_CHARS | non | Character budget applied by the result shaper before a tool result is truncated; integer in [500, 10000000]. |
| FB_WRITE_MODE | non | 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 | non (secret) | 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… |
| FB_MEDIA_DIR | non | Directory permitted for local media uploads. Unset means URL-only uploads and no local file access at all. |
| FB_JOURNAL_PATH | non | 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_ACTIVITY_STATE_PATH | non | Path to the small JSON file where facebook_get_activity_since keeps, per Page, the horizon of the last complete read. Defaults to the XDG/%APPDATA% state path next to the journal; the file holds Page… |
| FB_EXPORT_DIR | non | Directory where the insights tools write a CSV or JSON file when called with `output`. Defaults to `exports/` under the XDG/%APPDATA% state path. Files are written atomically and owner-only (0600) an… |
| FB_TOOL_PACKAGES | non | 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 | non | Comma-separated packages OR profiles to exclude even when FB_TOOL_PACKAGES enables them; deny wins over allow. Profile names expand here exactly as they do in FB_TOOL_PACKAGES, and a profile beats a… |
| FB_PACKAGES_READONLY | non | Comma-separated packages OR profiles whose write tools are not registered at all; the read tools of those packages stay available. Profile names expand as they do in FB_TOOL_PACKAGES, so FB_PACKAGES_… |
| FB_TRANSPORT | non | 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 | non (secret) | Bearer token guarding the HTTP transport; required when FB_TRANSPORT=http (the server refuses to start without it). At least 16 characters — a shorter value is refused (under stdio it is dropped with… |
| FB_HTTP_PORT | non | Port for the HTTP transport (loopback only); used when FB_TRANSPORT=http. Integer in [1, 65535]. |
| FB_AD_ACCOUNT_ID | non | Default ad account ID (act_… or the bare numeric id) for the opt-in ads package. |
| FB_ADS_BUDGET_CEILING | non | Hard ceiling for any ads budget write, in minor units of the ad account's own currency (e.g. cents for USD). Non-negative integer; a write above it is refused. No currency conversion: size it for the… |
| FB_ADS_CAMPAIGN_SPEND_CAP_MAX | non | Largest campaign spend_cap (the lifetime total a campaign may spend) that an ads write may set, in minor units of the ad account's own currency. Non-negative integer; a cap above it is refused, never… |
| FB_LOG_LEVEL | non | Stderr log verbosity: debug, info, warn or error. Logs never go to stdout — that is the stdio protocol channel. |
Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
[facebook-mcp — L’Atlas](https://latlas.dev/mcp/io.github.IvanBBaev/facebook-mcp)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.