MCP.so
Sign In

Facebook MCP Server

@HagaiHen

About Facebook MCP Server

Facebook MCP server for automating posts, comment moderation, insights, and sentiment filtering.

Basic information

Category

Other

License

MIT

Runtime

python

Transports

stdio

Publisher

HagaiHen

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "facebook-mcp-server": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "requirements.txt"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Facebook MCP Server?

Facebook MCP Server is an MCP server that automates and manages interactions on a Facebook Page via the Facebook Graph API. It exposes AI-callable tools for creating posts, moderating comments, fetching insights, and filtering negative feedback, designed for social media managers and LLM‑based agents like Claude.

How to use Facebook MCP Server?

Clone the repository, install dependencies with uv pip install -r requirements.txt, create a .env file with your FACEBOOK_ACCESS_TOKEN and FACEBOOK_PAGE_ID, then configure it in Claude Desktop by adding a JSON entry pointing to server.py using uv run.

Key features of Facebook MCP Server

  • Create and schedule Facebook posts with text or images
  • Reply to, hide, unhide, or delete comments on posts
  • Filter comments by negative sentiment keywords
  • Retrieve post impressions, clicks, reactions, and engaged users
  • Manage multiple comments in bulk (delete, hide, unhide)
  • Send direct messages to users and get page information

Use cases of Facebook MCP Server

  • Automate daily content posting and scheduling on a Facebook Page
  • Moderate comment sections by hiding or deleting harmful comments
  • Analyze post performance with engagement and impression metrics
  • Identify and respond to top commenters automatically
  • Send personalized direct messages from the Page

FAQ from Facebook MCP Server

What dependencies does Facebook MCP Server require?

It requires Python, the uv package manager, the requests library, and the mcp[cli] package.

How do I get Facebook credentials to use the server?

Obtain your Facebook Page access token and Page ID from the Facebook Graph API Explorer at developers.facebook.com/tools/explorer.

How do I configure Facebook MCP Server in Claude Desktop?

In Claude’s config file (Settings → Developer → Edit Config), add a JSON entry with command uv and arguments including run, --with mcp[cli], --with requests, mcp run, and the path to server.py.

Comments

More Other MCP servers