protogrid

Search / io.github.IvanBBaev/facebook-mcp

facebook-mcp

L0· runs locally

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

v0.7.0 · active · repository · website · descriptor JSON · versions

Runs on your machine: something must execute the package.Only local packages are published (npm, PyPI, OCI, …). The registry never executes them, so tools are unknown until you run it.
Quality–not scored
Trust91of 100
Packages1
Tools seen0

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "facebook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ivanbaev/[email protected]"
      ],
      "env": {
        "FB_SYSTEM_TOKEN": "${FB_SYSTEM_TOKEN}",
        "FB_ACCESS_TOKEN": "${FB_ACCESS_TOKEN}",
        "FB_PAGE_TOKEN": "${FB_PAGE_TOKEN}",
        "FB_APP_SECRET": "${FB_APP_SECRET}",
        "FB_API_VERSION": "v23.0",
        "FB_REQUEST_TIMEOUT_MS": "60000",
        "FB_HOST_CONCURRENCY": "4",
        "FB_MAX_RESULT_CHARS": "25000",
        "FB_WRITE_MODE": "plan",
        "FB_CONFIRM_TOKEN": "${FB_CONFIRM_TOKEN}",
        "FB_TRANSPORT": "stdio",
        "FB_HTTP_TOKEN": "${FB_HTTP_TOKEN}",
        "FB_HTTP_PORT": "3000",
        "FB_LOG_LEVEL": "info"
      }
    }
  }
}
claude mcp add facebook-mcp -e "FB_SYSTEM_TOKEN=${FB_SYSTEM_TOKEN}" -e "FB_ACCESS_TOKEN=${FB_ACCESS_TOKEN}" -e "FB_PAGE_TOKEN=${FB_PAGE_TOKEN}" -e "FB_APP_SECRET=${FB_APP_SECRET}" -e "FB_API_VERSION=v23.0" -e "FB_REQUEST_TIMEOUT_MS=60000" -e "FB_HOST_CONCURRENCY=4" -e "FB_MAX_RESULT_CHARS=25000" -e "FB_WRITE_MODE=plan" -e "FB_CONFIRM_TOKEN=${FB_CONFIRM_TOKEN}" -e "FB_TRANSPORT=stdio" -e "FB_HTTP_TOKEN=${FB_HTTP_TOKEN}" -e "FB_HTTP_PORT=3000" -e "FB_LOG_LEVEL=info" -- npx -y @ivanbaev/[email protected]
[mcp_servers.facebook-mcp]
command = "npx"
args = ["-y", "@ivanbaev/[email protected]"]
env = { "FB_SYSTEM_TOKEN" = "${FB_SYSTEM_TOKEN}", "FB_ACCESS_TOKEN" = "${FB_ACCESS_TOKEN}", "FB_PAGE_TOKEN" = "${FB_PAGE_TOKEN}", "FB_APP_SECRET" = "${FB_APP_SECRET}", "FB_API_VERSION" = "v23.0", "FB_REQUEST_TIMEOUT_MS" = "60000", "FB_HOST_CONCURRENCY" = "4", "FB_MAX_RESULT_CHARS" = "25000", "FB_WRITE_MODE" = "plan", "FB_CONFIRM_TOKEN" = "${FB_CONFIRM_TOKEN}", "FB_TRANSPORT" = "stdio", "FB_HTTP_TOKEN" = "${FB_HTTP_TOKEN}", "FB_HTTP_PORT" = "3000", "FB_LOG_LEVEL" = "info" }
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "facebook-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@ivanbaev/[email protected]"
      ],
      "enabled": true,
      "environment": {
        "FB_SYSTEM_TOKEN": "{env:FB_SYSTEM_TOKEN}",
        "FB_ACCESS_TOKEN": "{env:FB_ACCESS_TOKEN}",
        "FB_PAGE_TOKEN": "{env:FB_PAGE_TOKEN}",
        "FB_APP_SECRET": "{env:FB_APP_SECRET}",
        "FB_API_VERSION": "v23.0",
        "FB_REQUEST_TIMEOUT_MS": "60000",
        "FB_HOST_CONCURRENCY": "4",
        "FB_MAX_RESULT_CHARS": "25000",
        "FB_WRITE_MODE": "plan",
        "FB_CONFIRM_TOKEN": "{env:FB_CONFIRM_TOKEN}",
        "FB_TRANSPORT": "stdio",
        "FB_HTTP_TOKEN": "{env:FB_HTTP_TOKEN}",
        "FB_HTTP_PORT": "3000",
        "FB_LOG_LEVEL": "info"
      }
    }
  }
}
{
  "mcpServers": {
    "facebook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ivanbaev/[email protected]"
      ],
      "env": {
        "FB_SYSTEM_TOKEN": "${FB_SYSTEM_TOKEN}",
        "FB_ACCESS_TOKEN": "${FB_ACCESS_TOKEN}",
        "FB_PAGE_TOKEN": "${FB_PAGE_TOKEN}",
        "FB_APP_SECRET": "${FB_APP_SECRET}",
        "FB_API_VERSION": "v23.0",
        "FB_REQUEST_TIMEOUT_MS": "60000",
        "FB_HOST_CONCURRENCY": "4",
        "FB_MAX_RESULT_CHARS": "25000",
        "FB_WRITE_MODE": "plan",
        "FB_CONFIRM_TOKEN": "${FB_CONFIRM_TOKEN}",
        "FB_TRANSPORT": "stdio",
        "FB_HTTP_TOKEN": "${FB_HTTP_TOKEN}",
        "FB_HTTP_PORT": "3000",
        "FB_LOG_LEVEL": "info"
      }
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=facebook-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBpdmFuYmFldi9mYWNlYm9vay1tY3BAMC43LjAiXSwiZW52Ijp7IkZCX1NZU1RFTV9UT0tFTiI6IiR7RkJfU1lTVEVNX1RPS0VOfSIsIkZCX0FDQ0VTU19UT0tFTiI6IiR7RkJfQUNDRVNTX1RPS0VOfSIsIkZCX1BBR0VfVE9LRU4iOiIke0ZCX1BBR0VfVE9LRU59IiwiRkJfQVBQX1NFQ1JFVCI6IiR7RkJfQVBQX1NFQ1JFVH0iLCJGQl9BUElfVkVSU0lPTiI6InYyMy4wIiwiRkJfUkVRVUVTVF9USU1FT1VUX01TIjoiNjAwMDAiLCJGQl9IT1NUX0NPTkNVUlJFTkNZIjoiNCIsIkZCX01BWF9SRVNVTFRfQ0hBUlMiOiIyNTAwMCIsIkZCX1dSSVRFX01PREUiOiJwbGFuIiwiRkJfQ09ORklSTV9UT0tFTiI6IiR7RkJfQ09ORklSTV9UT0tFTn0iLCJGQl9UUkFOU1BPUlQiOiJzdGRpbyIsIkZCX0hUVFBfVE9LRU4iOiIke0ZCX0hUVFBfVE9LRU59IiwiRkJfSFRUUF9QT1JUIjoiMzAwMCIsIkZCX0xPR19MRVZFTCI6ImluZm8ifX0%3D"
}
{
  "servers": {
    "facebook-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ivanbaev/[email protected]"
      ],
      "env": {
        "FB_SYSTEM_TOKEN": "${FB_SYSTEM_TOKEN}",
        "FB_ACCESS_TOKEN": "${FB_ACCESS_TOKEN}",
        "FB_PAGE_TOKEN": "${FB_PAGE_TOKEN}",
        "FB_APP_SECRET": "${FB_APP_SECRET}",
        "FB_API_VERSION": "v23.0",
        "FB_REQUEST_TIMEOUT_MS": "60000",
        "FB_HOST_CONCURRENCY": "4",
        "FB_MAX_RESULT_CHARS": "25000",
        "FB_WRITE_MODE": "plan",
        "FB_CONFIRM_TOKEN": "${FB_CONFIRM_TOKEN}",
        "FB_TRANSPORT": "stdio",
        "FB_HTTP_TOKEN": "${FB_HTTP_TOKEN}",
        "FB_HTTP_PORT": "3000",
        "FB_LOG_LEVEL": "info"
      }
    }
  }
}
{
  "mcpServers": {
    "facebook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ivanbaev/[email protected]"
      ],
      "env": {
        "FB_SYSTEM_TOKEN": "${FB_SYSTEM_TOKEN}",
        "FB_ACCESS_TOKEN": "${FB_ACCESS_TOKEN}",
        "FB_PAGE_TOKEN": "${FB_PAGE_TOKEN}",
        "FB_APP_SECRET": "${FB_APP_SECRET}",
        "FB_API_VERSION": "v23.0",
        "FB_REQUEST_TIMEOUT_MS": "60000",
        "FB_HOST_CONCURRENCY": "4",
        "FB_MAX_RESULT_CHARS": "25000",
        "FB_WRITE_MODE": "plan",
        "FB_CONFIRM_TOKEN": "${FB_CONFIRM_TOKEN}",
        "FB_TRANSPORT": "stdio",
        "FB_HTTP_TOKEN": "${FB_HTTP_TOKEN}",
        "FB_HTTP_PORT": "3000",
        "FB_LOG_LEVEL": "info"
      }
    }
  }
}
extensions:
  "facebook-mcp":
    enabled: true
    name: "facebook-mcp"
    type: stdio
    cmd: "npx"
    args:
      - "-y"
      - "@ivanbaev/[email protected]"
    envs:
      "FB_SYSTEM_TOKEN": "${FB_SYSTEM_TOKEN}"
      "FB_ACCESS_TOKEN": "${FB_ACCESS_TOKEN}"
      "FB_PAGE_TOKEN": "${FB_PAGE_TOKEN}"
      "FB_APP_SECRET": "${FB_APP_SECRET}"
      "FB_API_VERSION": "v23.0"
      "FB_REQUEST_TIMEOUT_MS": "60000"
      "FB_HOST_CONCURRENCY": "4"
      "FB_MAX_RESULT_CHARS": "25000"
      "FB_WRITE_MODE": "plan"
      "FB_CONFIRM_TOKEN": "${FB_CONFIRM_TOKEN}"
      "FB_TRANSPORT": "stdio"
      "FB_HTTP_TOKEN": "${FB_HTTP_TOKEN}"
      "FB_HTTP_PORT": "3000"
      "FB_LOG_LEVEL": "info"
    timeout: 300

Placeholders to fill from your own secret store: ${FB_SYSTEM_TOKEN}, ${FB_ACCESS_TOKEN}, ${FB_PAGE_TOKEN}, ${FB_APP_SECRET}, ${FB_CONFIRM_TOKEN}, ${FB_HTTP_TOKEN}. The registry never accepts secret values.

This is a local package: the command runs on your machine.

Quality – / 100not scored

Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.

protocoln/a · weight 25
  • n/a
    protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygienen/a · weight 30
  • n/a
    tools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pulltool list unknown
dependencies67 · weight 15
  • pass
    deps.known_vulnsno known advisory in 99 resolved packages
  • fail
    deps.mcp_sdk_version@modelcontextprotocol/sdk 1.30.1 has 1 known advisory (GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.31.0 or later
  • pass
    deps.resolvable@ivanbaev/[email protected] resolved: 99 packages

Tool list unknown · checked 2026-10-20 08:58 UTC

Tool changes

No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 91 / 100

provenance90
livenessn/a
freshness85
hygiene100

+repository +namespace-matches-repo +website ~liveness-unmeasured ~updated-54d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Dependencies

@ivanbaev/[email protected] npm98 dependencies, resolved · MCP SDK @modelcontextprotocol/sdk 1.30.1 · advisories checked 2026-10-19

advisoryseveritypackagefixed in
GHSA-6qxp-vccf-f47hMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverhigh@modelcontextprotocol/[email protected]MCP SDK, directfixed in 1.31.0

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.

Endpoints

packageregistryversionruntimesecrets
@ivanbaev/facebook-mcpnpm0.7.0–FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN, FB_PAGE_TOKEN, FB_APP_SECRET, FB_CONFIRM_TOKEN, FB_HTTP_TOKEN

Tools (0)

No tools observed. Local packages are never executed by the registry.

Schemas: list_tools.

Similar MCP servers

More from io.github.IvanBBaev

Official server.json
{
  "name": "io.github.IvanBBaev/facebook-mcp",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "version": "0.7.0",
  "packages": [
    {
      "version": "0.7.0",
      "transport": {
        "type": "stdio"
      },
      "identifier": "@ivanbaev/facebook-mcp",
      "registryType": "npm",
      "environmentVariables": [
        {
          "name": "FB_SYSTEM_TOKEN",
          "format": "string",
          "isSecret": true,
          "description": "System-user access token (Business Manager). Takes precedence over FB_ACCESS_TOKEN and FB_PAGE_TOKEN when several are set."
        },
        {
          "name": "FB_ACCESS_TOKEN",
          "format": "string",
          "isSecret": true,
          "description": "Primary user access token. At least one of FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN or FB_PAGE_TOKEN must be set."
        },
        {
          "name": "FB_PAGE_TOKEN",
          "format": "string",
          "isSecret": true,
          "description": "Long-lived Page access token used as a fallback credential when no user or system-user token is configured."
        },
        {
          "name": "FB_APP_ID",
          "format": "string",
          "description": "Meta app ID; combined with FB_APP_SECRET it forms the app access token used to authorize /debug_token inspection."
        },
        {
          "name": "FB_APP_SECRET",
          "format": "string",
          "isSecret": true,
          "description": "Meta app secret. When set, appsecret_proof is attached to every call so a stolen bare token cannot be used on its own."
        },
        {
          "name": "FB_PAGE_ID",
          "format": "string",
          "description": "Default Facebook Page ID, used when a tool call omits an explicit profile argument."
        },
        {
          "name": "FB_API_VERSION",
          "format": "string",
          "default": "v23.0",
          "description": "Graph API version to target. Defaults to the tested pinned version; other values are accepted verbatim as an escape hatch but are not tested."
        },
        {
          "name": "FB_REQUEST_TIMEOUT_MS",
          "format": "number",
          "default": "60000",
          "description": "Per-request timeout in milliseconds; integer in [1, 600000]."
        },
        {
          "name": "FB_HOST_CONCURRENCY",
          "format": "number",
          "default": "4",
          "description": "Maximum number of in-flight requests per Graph host; integer in [1, 64]."
        },
        {
          "name": "FB_MAX_RESULT_CHARS",
          "format": "number",
          "default": "25000",
          "description": "Character budget applied by the result shaper before a tool result is truncated; integer in [500, 10000000]."
        },
        {
          "name": "FB_WRITE_MODE",
          "format": "string",
          "choices": [
            "plan",
            "apply"
          ],
          "default": "plan",
          "description": "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."
        },
        {
          "name": "FB_CONFIRM_TOKEN",
          "format": "string",
          "isSecret": true,
          "description": "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."
        },
        {
          "name": "FB_MEDIA_DIR",
          "format": "filepath",
          "description": "Directory permitted for local media uploads. Unset means URL-only uploads and no local file access at all."
        },
        {
          "name": "FB_JOURNAL_PATH",
          "format": "filepath",
          "description": "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."
        },
        {
          "name": "FB_TOOL_PACKAGES",
          "format": "string",
          "description": "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."
        },
        {
          "name": "FB_PACKAGES_DENY",
          "format": "string",
          "description": "Comma-separated packages to exclude even when FB_TOOL_PACKAGES enables them. Deny wins over allow."
        },
        {
          "name": "FB_PACKAGES_READONLY",
          "format": "string",
          "description": "Comma-separated packages whose write tools are not registered at all; the read tools of those packages stay available."
        },
        {
          "name": "FB_TRANSPORT",
          "format": "string",
          "choices": [
            "stdio",
            "http"
          ],
          "default": "stdio",
          "description": "Transport protocol: stdio (default) or http. The http transport binds 127.0.0.1 only and fails closed without FB_HTTP_TOKEN."
        },
        {
          "name": "FB_HTTP_TOKEN",
          "format": "string",
          "isSecret": true,
          "description": "Bearer token guarding the HTTP transport; required when FB_TRANSPORT=http (the server refuses to start without it)."
        },
        {
          "name": "FB_HTTP_PORT",
          "format": "number",
          "default": "3000",
          "description": "Port for the HTTP transport (loopback only); used when FB_TRANSPORT=http. Integer in [1, 65535]."
        },
        {
          "name": "FB_AD_ACCOUNT_ID",
          "format": "string",
          "description": "Default ad account ID (act_… or the bare numeric id) for the opt-in ads package."
        },
        {
          "name": "FB_ADS_BUDGET_CEILING",
          "format": "number",
          "description": "Hard ceiling for any ads budget write, in minor currency units (e.g. cents). Non-negative integer; a write above it is refused."
        },
        {
          "name": "FB_LOG_LEVEL",
          "format": "string",
          "choices": [
            "debug",
            "info",
            "warn",
            "error"
          ],
          "default": "info",
          "description": "Stderr log verbosity: debug, info, warn or error. Logs never go to stdout — that is the stdio protocol channel."
        }
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/IvanBBaev/facebook-mcp",
    "source": "github"
  },
  "websiteUrl": "https://ivanbbaev.github.io/facebook-mcp/",
  "description": "Facebook Pages MCP server for the Meta Graph API — publishing, insights, moderation, messaging"
}