Facebook MCP Server

# Facebook MCP Server <img src="https://badge.mcpx.dev?type=server" title="MCP Server"/> ## Overview A Model Context Protocol (MCP) server

Local serverstdio

What is the Facebook MCP Server?

Facebook MCP Server Overview A Model Context Protocol (MCP) server implementation that

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
post_to_facebook**
reply_to_comment**
get_page_posts**
get_post_comments**
filter_negative_comments**
delete_post**
delete_comment**

How to install the Facebook MCP Server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
FACEBOOK_PAGE_ACCESS_TOKENCredential the server authenticates with.Yes
FACEBOOK_PAGE_IDConfiguration value read at startup.Optional

Example prompts to try

  • “Use Facebook to post to facebook.”
  • “Use Facebook to Input.”
  • “Use Facebook to reply to comment.”

Frequently asked questions

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