Facebook MCP Server
@tiroshanm
About Facebook MCP Server
No overview available yet
Basic information
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"
]
}
}
}Tools
7Posts 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
FAQ from Facebook MCP Server
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.
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.
What runtime or dependencies are needed?
The server runs via uv. No other runtime dependencies are mentioned in the README.
Where does my data live?
All data is managed through Facebook’s API. No local database or storage is used by this server.
What transport or authentication does it use?
Authentication is via an access token stored in the environment. The server uses MCP default transport (stdio).
More Other MCP servers
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Comments