# Facebook MCP Server <img src="https://badge.mcpx.dev?type=server" title="MCP Server"/> ## Overview A Model Context Protocol (MCP) server
Everything the assistant can do here goes through one of these:
post_to_facebook — **Input — message (string): The message to postreply_to_comment — **get_page_posts — **get_post_comments — **filter_negative_comments — **delete_post — **delete_comment — **Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
You will need 4 environment variables: FACEBOOK_PAGE_ACCESS_TOKEN, YOUR_PAGE_ACCESS_TOKEN, FACEBOOK_PAGE_ID, YOUR_PAGE_ID. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the file and storage access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Facebook's toolset — post_to_facebook, Input, reply_to_comment and 5 more — is a fair guide to whether it matches your workflow. It is maintained by tiroshanm; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| post_to_facebook | ** |
| Input | message (string): The message to post. |
| reply_to_comment | ** |
| get_page_posts | ** |
| get_post_comments | ** |
| filter_negative_comments | ** |
| delete_post | ** |
| delete_comment | ** |
{
"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.
| Variable | Description | Required |
|---|---|---|
| FACEBOOK_PAGE_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| YOUR_PAGE_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| FACEBOOK_PAGE_ID | Configuration value read at startup. | Optional |
| YOUR_PAGE_ID | Configuration value read at startup. | Optional |
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.