io.github.IvanBBaev/facebook-mcp
Facebook Pages MCP server for the Meta Graph API — publishing, insights, moderation, messaging
- Repository
- github.com/IvanBBaev/facebook-mcp
- Website
- ivanbbaev.github.io/facebook-mcp/
- Version
- 0.8.0
- Author
- IvanBBaev (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 28, 2026)
How to install it
Variables to fill in: FB_SYSTEM_TOKEN, FB_ACCESS_TOKEN, FB_PAGE_TOKEN, FB_APP_ID, FB_APP_SECRET, FB_PAGE_ID, FB_API_VERSION, FB_ADS_API_VERSION, FB_REQUEST_TIMEOUT_MS, FB_HOST_CONCURRENCY, FB_MAX_RESULT_CHARS, FB_WRITE_MODE, FB_CONFIRM_TOKEN, FB_MEDIA_DIR, FB_JOURNAL_PATH, FB_ACTIVITY_STATE_PATH, FB_EXPORT_DIR, FB_TOOL_PACKAGES, FB_PACKAGES_DENY, FB_PACKAGES_READONLY.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add facebook-mcp -e FB_SYSTEM_TOKEN=YOUR_FB_SYSTEM_TOKEN -e FB_ACCESS_TOKEN=YOUR_FB_ACCESS_TOKEN -e FB_PAGE_TOKEN=YOUR_FB_PAGE_TOKEN -e FB_APP_ID=YOUR_FB_APP_ID -e FB_APP_SECRET=YOUR_FB_APP_SECRET -e FB_PAGE_ID=YOUR_FB_PAGE_ID -e FB_API_VERSION=YOUR_FB_API_VERSION -e FB_ADS_API_VERSION=YOUR_FB_ADS_API_VERSION -e FB_REQUEST_TIMEOUT_MS=YOUR_FB_REQUEST_TIMEOUT_MS -e FB_HOST_CONCURRENCY=YOUR_FB_HOST_CONCURRENCY -e FB_MAX_RESULT_CHARS=YOUR_FB_MAX_RESULT_CHARS -e FB_WRITE_MODE=YOUR_FB_WRITE_MODE -e FB_CONFIRM_TOKEN=YOUR_FB_CONFIRM_TOKEN -e FB_MEDIA_DIR=YOUR_FB_MEDIA_DIR -e FB_JOURNAL_PATH=YOUR_FB_JOURNAL_PATH -e FB_ACTIVITY_STATE_PATH=YOUR_FB_ACTIVITY_STATE_PATH -e FB_EXPORT_DIR=YOUR_FB_EXPORT_DIR -e FB_TOOL_PACKAGES=YOUR_FB_TOOL_PACKAGES -e FB_PACKAGES_DENY=YOUR_FB_PACKAGES_DENY -e FB_PACKAGES_READONLY=YOUR_FB_PACKAGES_READONLY -- npx -y @ivanbaev/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"facebook-mcp": {
"command": "npx",
"args": [
"-y",
"@ivanbaev/[email protected]"
],
"env": {
"FB_SYSTEM_TOKEN": "YOUR_FB_SYSTEM_TOKEN",
"FB_ACCESS_TOKEN": "YOUR_FB_ACCESS_TOKEN",
"FB_PAGE_TOKEN": "YOUR_FB_PAGE_TOKEN",
"FB_APP_ID": "YOUR_FB_APP_ID",
"FB_APP_SECRET": "YOUR_FB_APP_SECRET",
"FB_PAGE_ID": "YOUR_FB_PAGE_ID",
"FB_API_VERSION": "YOUR_FB_API_VERSION",
"FB_ADS_API_VERSION": "YOUR_FB_ADS_API_VERSION",
"FB_REQUEST_TIMEOUT_MS": "YOUR_FB_REQUEST_TIMEOUT_MS",
"FB_HOST_CONCURRENCY": "YOUR_FB_HOST_CONCURRENCY",
"FB_MAX_RESULT_CHARS": "YOUR_FB_MAX_RESULT_CHARS",
"FB_WRITE_MODE": "YOUR_FB_WRITE_MODE",
"FB_CONFIRM_TOKEN": "YOUR_FB_CONFIRM_TOKEN",
"FB_MEDIA_DIR": "YOUR_FB_MEDIA_DIR",
"FB_JOURNAL_PATH": "YOUR_FB_JOURNAL_PATH",
"FB_ACTIVITY_STATE_PATH": "YOUR_FB_ACTIVITY_STATE_PATH",
"FB_EXPORT_DIR": "YOUR_FB_EXPORT_DIR",
"FB_TOOL_PACKAGES": "YOUR_FB_TOOL_PACKAGES",
"FB_PACKAGES_DENY": "YOUR_FB_PACKAGES_DENY",
"FB_PACKAGES_READONLY": "YOUR_FB_PACKAGES_READONLY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"facebook-mcp": {
"command": "npx",
"args": [
"-y",
"@ivanbaev/[email protected]"
],
"env": {
"FB_SYSTEM_TOKEN": "YOUR_FB_SYSTEM_TOKEN",
"FB_ACCESS_TOKEN": "YOUR_FB_ACCESS_TOKEN",
"FB_PAGE_TOKEN": "YOUR_FB_PAGE_TOKEN",
"FB_APP_ID": "YOUR_FB_APP_ID",
"FB_APP_SECRET": "YOUR_FB_APP_SECRET",
"FB_PAGE_ID": "YOUR_FB_PAGE_ID",
"FB_API_VERSION": "YOUR_FB_API_VERSION",
"FB_ADS_API_VERSION": "YOUR_FB_ADS_API_VERSION",
"FB_REQUEST_TIMEOUT_MS": "YOUR_FB_REQUEST_TIMEOUT_MS",
"FB_HOST_CONCURRENCY": "YOUR_FB_HOST_CONCURRENCY",
"FB_MAX_RESULT_CHARS": "YOUR_FB_MAX_RESULT_CHARS",
"FB_WRITE_MODE": "YOUR_FB_WRITE_MODE",
"FB_CONFIRM_TOKEN": "YOUR_FB_CONFIRM_TOKEN",
"FB_MEDIA_DIR": "YOUR_FB_MEDIA_DIR",
"FB_JOURNAL_PATH": "YOUR_FB_JOURNAL_PATH",
"FB_ACTIVITY_STATE_PATH": "YOUR_FB_ACTIVITY_STATE_PATH",
"FB_EXPORT_DIR": "YOUR_FB_EXPORT_DIR",
"FB_TOOL_PACKAGES": "YOUR_FB_TOOL_PACKAGES",
"FB_PACKAGES_DENY": "YOUR_FB_PACKAGES_DENY",
"FB_PACKAGES_READONLY": "YOUR_FB_PACKAGES_READONLY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"facebook-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ivanbaev/[email protected]"
],
"env": {
"FB_SYSTEM_TOKEN": "YOUR_FB_SYSTEM_TOKEN",
"FB_ACCESS_TOKEN": "YOUR_FB_ACCESS_TOKEN",
"FB_PAGE_TOKEN": "YOUR_FB_PAGE_TOKEN",
"FB_APP_ID": "YOUR_FB_APP_ID",
"FB_APP_SECRET": "YOUR_FB_APP_SECRET",
"FB_PAGE_ID": "YOUR_FB_PAGE_ID",
"FB_API_VERSION": "YOUR_FB_API_VERSION",
"FB_ADS_API_VERSION": "YOUR_FB_ADS_API_VERSION",
"FB_REQUEST_TIMEOUT_MS": "YOUR_FB_REQUEST_TIMEOUT_MS",
"FB_HOST_CONCURRENCY": "YOUR_FB_HOST_CONCURRENCY",
"FB_MAX_RESULT_CHARS": "YOUR_FB_MAX_RESULT_CHARS",
"FB_WRITE_MODE": "YOUR_FB_WRITE_MODE",
"FB_CONFIRM_TOKEN": "YOUR_FB_CONFIRM_TOKEN",
"FB_MEDIA_DIR": "YOUR_FB_MEDIA_DIR",
"FB_JOURNAL_PATH": "YOUR_FB_JOURNAL_PATH",
"FB_ACTIVITY_STATE_PATH": "YOUR_FB_ACTIVITY_STATE_PATH",
"FB_EXPORT_DIR": "YOUR_FB_EXPORT_DIR",
"FB_TOOL_PACKAGES": "YOUR_FB_TOOL_PACKAGES",
"FB_PACKAGES_DENY": "YOUR_FB_PACKAGES_DENY",
"FB_PACKAGES_READONLY": "YOUR_FB_PACKAGES_READONLY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.IvanBBaev/facebook-mcp · L’Agora
[io.github.IvanBBaev/facebook-mcp — L’Agora](https://lagora.dev/en/entry/io.github.ivanbbaev/facebook-mcp)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.ivanbbaev/facebook-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.ivanbbaev/facebook-mcp"><img src="https://lagora.dev/badge/io.github.ivanbbaev/facebook-mcp.svg?lang=en" alt="io.github.IvanBBaev/facebook-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.IvanBBaev/servicenow-mcp-ai Not tested