F

Facebook Mcp

MCP server · by IvanBBaev

Developer Tools npm v0.7.0

Facebook Pages MCP server for the Meta Graph API — publishing, insights, moderation, messaging

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.7.0

npm
npx -y @ivanbaev/facebook-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "facebook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ivanbaev/facebook-mcp"
      ],
      "env": {
        "FB_SYSTEM_TOKEN": "<YOUR_FB_SYSTEM_TOKEN>",
        "FB_ACCESS_TOKEN": "<YOUR_FB_ACCESS_TOKEN>",
        "FB_PAGE_TOKEN": "<YOUR_FB_PAGE_TOKEN>",
        "FB_APP_SECRET": "<YOUR_FB_APP_SECRET>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • FB_SYSTEM_TOKEN secret — System-user access token (Business Manager). Takes precedence over FB_ACCESS_TOKEN and FB_PAGE_TOKEN when several are set.
  • FB_ACCESS_TOKEN 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 secret — Long-lived Page access token used as a fallback credential when no user or system-user token is configured.
  • FB_APP_ID — Meta app ID; combined with FB_APP_SECRET it forms the app access token used to authorize /debug_token inspection.
  • FB_APP_SECRET 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 — Default Facebook Page ID, used when a tool call omits an explicit profile argument.
  • FB_API_VERSION — 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 — Per-request timeout in milliseconds; integer in [1, 600000].

GitHub

⭐ 2 stars · 最近更新于 16 天前 · MIT license

About this server

facebook mcp — Facebook Pages MCP Server : : : : : : : : : : 📖 Documentation site → A local first TypeScript Model Context Protocol (MCP) server for the Meta Graph API , focused on Facebook Pages — publishing, reading & insights, and comment/message moderation — driven from an MCP client (Claude, V…

Summary from the project README — github.com/IvanBBaev/facebook-mcp

Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the Facebook Mcp MCP server do?

facebook mcp — Facebook Pages MCP Server : : : : : : : : : : 📖 Documentation site → A local first TypeScript Model Context Protocol (MCP) server for the Meta Graph API , focused on Facebook Pages — publishing, reading & insights, and comment/message moderation — driven from an MCP client (Claude, V

How do I install Facebook Mcp?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Facebook Mcp free to use?

The MCP server itself is free to install. The source is public on https://github.com/IvanBBaev/facebook-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Facebook Mcp?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/facebook-mcp.svg)](https://mcpnav.net/server/facebook-mcp/)

HTML

<a href="https://mcpnav.net/server/facebook-mcp/"><img src="https://mcpnav.net/badge/facebook-mcp.svg" alt="Listed on MCPNav" height="20"></a>