MCP.so
Sign In

Facebook MCP Server

@tiroshanm

Basic information

Category

Other

Transports

stdio

Author

tiroshanm

About Facebook MCP Server

No overview available yet

#facebook-mcp-server#mcp-server#facebook-integration

Facebook MCP Server config

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

{
  "mcpServers": {
    "facebook": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/facebook-mcp-server",
        "run",
        "facebook-mcp-server"
      ]
    }
  }
}

Facebook MCP Server tools

7

Posts a message to the Facebook Page.

Replies to a comment on a specific post.

Retrieves posts published on the Facebook Page.

Retrieves comments for a specific post.

Filters negative comments from a post based on keywords.

Deletes a post from the Facebook Page.

Deletes a comment from a post.

Overview

What is Facebook MCP Server?

A Model Context Protocol server that enables Facebook Page interaction and management through MCP tools. It supports automated posting, comment moderation, and content retrieval. Designed for developers building AI-driven social media workflows.

How to use Facebook MCP Server?

Set up a .env file with your FACEBOOK_PAGE_ACCESS_TOKEN and FACEBOOK_PAGE_ID. Configure your MCP client (e.g., Claude Desktop) using the provided uv command. The server exposes tools such as post_to_facebook, reply_to_comment, get_page_posts, and others for direct use.

Key features of Facebook MCP Server

  • Post messages to a Facebook Page (post_to_facebook)
  • Reply to comments on posts (reply_to_comment)
  • Retrieve posts and comments from a Page
  • Filter negative comments by keywords (filter_negative_comments)
  • Delete posts or comments from a Page
  • Simple MCP integration with AI assistants
  • MIT licensed

Use cases of Facebook MCP Server

  • Automate scheduled page posts via AI agents
  • Moderate comments by replying or deleting unwanted content
  • Analyze and filter negative sentiment on page posts
  • Retrieve and monitor recent page activity programmatically
  • Build AI assistants that manage Facebook Pages

Frequently asked questions

1

What credentials are required?

You need a Facebook Page access token (`FACEBOOK_PAGE_ACCESS_TOKEN`) and your Page ID (`FACEBOOK_PAGE_ID`). Store them in a `.env` file.

2

How do I configure the server with an MCP client?

Use the example configuration for Claude Desktop with the `uv` command, pointing to the server directory and running `facebook-mcp-server`.

3

What runtime or dependencies are needed?

The server runs via `uv`. No other runtime dependencies are mentioned in the README.

4

Where does my data live?

All data is managed through Facebook’s API. No local database or storage is used by this server.

5

What transport or authentication does it use?

Authentication is via an access token stored in the environment. The server uses MCP default transport (stdio).

Comments

More Other MCP servers