Skip to main content
Glama
Insightful-Pipe

Facebook Pages MCP Server

README.md
# Facebook Pages MCP Server by Insightful Pipe

[![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue)](https://insightfulpipe.com/mcp-servers/facebook-pages)
[![Insightful Pipe](https://img.shields.io/badge/Insightful_Pipe-MCP_Servers-purple)](https://insightfulpipe.com/mcp-servers)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)

> **Connect Facebook Pages to AI assistants for organic social media analytics and content management.**

Part of the [Insightful Pipe MCP Server Collection](https://insightfulpipe.com/mcp-servers) — The Facebook Pages MCP server enables Claude, ChatGPT, Cursor, and other AI assistants to analyze your Facebook Page performance. Track engagement, publish content, moderate comments, and get AI-powered content recommendations.

[![Explore All MCP Servers](https://img.shields.io/badge/Explore_All-MCP_Servers-blue?style=for-the-badge)](https://insightfulpipe.com/mcp-servers)

![Facebook Pages MCP Server](https://insightfulpipe.com/images/meta-icon.svg)

## MCP Server URL

```
https://facebook-pages.insightfulmcp.com/
```

## What is Facebook Pages MCP?

Facebook Pages MCP is a **remote Model Context Protocol server** that connects your Facebook Business Page to AI assistants. This social media integration allows you to:

- Query page performance using natural language
- Analyze post engagement and reach
- Publish posts, photos, and videos
- Moderate comments and interact with your audience
- Track audience demographics and growth

## Installation

### Claude

1. Copy the MCP Server URL: `https://facebook-pages.insightfulmcp.com/`
2. Open [Claude Connectors Settings](https://claude.ai/settings/connectors)
3. Scroll to the bottom and click **Add custom connector**
4. Paste the URL and click **Add**
5. Click **Connect** and sign in to InsightfulPipe if asked. Claude then lists the connector as connected.

### ChatGPT

Custom MCP servers are added through ChatGPT's **Developer mode**. Availability depends on your ChatGPT plan, and workspace admins may need to allow it.

1. Turn on **Developer mode** in ChatGPT settings
2. Create a new app for a remote MCP server and paste the URL: `https://facebook-pages.insightfulmcp.com/`
3. Sign in to InsightfulPipe if asked. The connection finishes as soon as you are signed in.

See OpenAI's guide: [Developer mode and MCP apps in ChatGPT](https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt)

### Claude Code

```bash
claude mcp add --transport http facebook-pages https://facebook-pages.insightfulmcp.com/
```

### Cursor

Add the server to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project):

```json
{
  "mcpServers": {
    "facebook-pages": {
      "url": "https://facebook-pages.insightfulmcp.com/"
    }
  }
}
```

When Cursor shows **Needs authentication**, click **Connect** and sign in to InsightfulPipe if asked.

## Available Actions

28 actions: 9 read, 19 write.

### Read Actions (9)

| Action | Description |
|--------|-------------|
| `get_comments` | Retrieves comments for a specific post with automatic pagination |
| `get_page_info` | Retrieves information about a Facebook Page |
| `get_page_insights` | Retrieves page-level insights and metrics |
| `get_post_details` | Retrieves detailed information about a specific post including aggregated metrics |
| `get_post_insights` | Retrieves insights and metrics for a specific post |
| `get_posts` | Retrieves posts from a Facebook Page with automatic pagination |
| `get_reels` | Fetch reels from a Facebook Page |
| `get_stories` | Fetch stories from a Facebook Page (requires story archive to be enabled) |
| `get_videos` | Fetch videos from a Facebook Page with automatic pagination |

### Write Actions (19)

| Action | Description |
|--------|-------------|
| `bulk_delete_comments` | Delete multiple comments by their IDs in a single request |
| `bulk_hide_comments` | Hide multiple comments by their IDs in a single request |
| `create_attached_media_post` | Publish one feed post from 2-10 ordered unpublished photo IDs |
| `create_comment` | Create a top-level first comment on a published Page post |
| `create_image_post` | Post an image with an optional caption to the Facebook Page |
| `create_multi_image_post` | Create a feed post with multiple uploaded images attached |
| `create_post` | Create a text and/or native link-card post on the Facebook Page |
| `create_slideshow` | Create a slideshow video from 3-7 images |
| `create_unpublished_photo` | Upload one unpublished photo for a checkpointed multi-image post |
| `delete_comment` | Delete a comment from a post |
| `delete_post` | Delete a post from the Facebook Page |
| `hide_comment` | Hide a comment from public view (only visible to author and page admins) |
| `publish_photo_story` | Publish a photo story |
| `publish_reel` | Publish a reel to a Facebook Page |
| `publish_video` | Publish a video to a Facebook Page from a URL |
| `publish_video_story` | Publish a video story |
| `reply_to_comment` | Reply to a specific comment on a post |
| `unhide_comment` | Unhide a previously hidden comment, making it visible to everyone again |
| `update_post` | Update an existing post's message content |

## Control What Your AI Can Do

You decide what AI agents can do with each connected account:

- **Turn individual actions on or off** for every connected account, so agents only see the actions you allow.
- **Connect as Read-only or Read & Write.** A read-only connection can only enable read actions.
- **Destructive actions stay off by default.** Actions such as deletes are disabled until an admin enables them.
- **Team access per account.** Restricted team members only use the accounts they are granted, with the read actions enabled on them.

## Usage Examples

### Page Performance

```
"How is my Facebook Page performing this month?"
```

### Post Analysis

```
"Which posts had the highest engagement this week?"
```

### Create Post

```
"Create a new post announcing our summer sale"
```

### Comment Moderation

```
"Show me recent comments and help me respond to them"
```

### Publish Video

```
"Publish this video to my Facebook Page with the caption 'Behind the scenes'"
```

## Supported Metrics

| Metric | Description |
|--------|-------------|
| Page Followers | Total page followers |
| Page Likes | Total page likes |
| Post Reach | People who saw posts |
| Post Engagement | Total interactions |
| Engagement Rate | Engagement / reach |
| Video Views | Video content views |
| Link Clicks | Clicks to website |
| Page Views | Profile page visits |

## Why Facebook Pages MCP?

### For Social Media Managers
- **Content control** - Create and edit posts
- **Comment moderation** - Manage engagement efficiently
- **Performance tracking** - Monitor page health

### For Brands
- **Community insights** - Understand your audience
- **Content automation** - AI-assisted content creation
- **Multi-format support** - Posts, photos, videos, and slideshows

### For Agencies
- **Multi-page management** - Handle client pages
- **Automated reporting** - Generate client reports

## Security & Privacy

- **Meta Official API** - Facebook Graph API
- **OAuth 2.0** - Secure authentication
- **Granular permissions** - Control read vs write access
- **Page admin required** - Proper permissions

## Pricing

The Facebook Pages MCP server is included in every InsightfulPipe plan, together with all other MCP servers and the CLI. Plans start at $29.99/month, and you can try it for 7 days. See [insightfulpipe.com/pricing](https://insightfulpipe.com/pricing) for current plans.

## Ready-Made Skills and Prompts

- [Facebook Page Performance Dashboard](https://insightfulpipe.com/marketing-prompts-library/facebook-pages-facebook-page-performance-dashboard)
- [Facebook Content Engagement Analysis](https://insightfulpipe.com/marketing-prompts-library/facebook-pages-facebook-content-engagement-analysis)
- [Facebook Video Reels Performance Analysis](https://insightfulpipe.com/marketing-prompts-library/facebook-pages-facebook-video-reels-performance-analysis)

## Explore More MCP Servers by Insightful Pipe

Visit **[insightfulpipe.com/mcp-servers](https://insightfulpipe.com/mcp-servers)** to discover our full collection of MCP servers for marketing and analytics.

### Meta MCP Servers
- [Facebook Ads MCP](https://insightfulpipe.com/mcp-servers/facebook-ads) - Facebook advertising
- [Instagram MCP](https://insightfulpipe.com/mcp-servers/instagram) - Instagram analytics

### Analytics MCP Servers
- [Google Analytics MCP](https://insightfulpipe.com/mcp-servers/google-analytics) - Website analytics
- [YouTube MCP](https://insightfulpipe.com/mcp-servers/youtube) - YouTube analytics

**[View All MCP Servers →](https://insightfulpipe.com/mcp-servers)**

## Resources

- [Documentation](https://insightfulpipe.com/docs/connectors-facebook-pages)
- [Video Tutorial](https://www.youtube.com/playlist?list=PLJNzvjxzI5Xwe__BJJLAelSF0ewO3mEFk)
- [InsightfulPipe Blog](https://insightfulpipe.com/blog)

## Support

- **Documentation**: [insightfulpipe.com/docs](https://insightfulpipe.com/docs)
- **All MCP Servers**: [insightfulpipe.com/mcp-servers](https://insightfulpipe.com/mcp-servers)
- **Email**: support@insightfulpipe.com

---

**[Insightful Pipe](https://insightfulpipe.com)** — AI-powered marketing analytics through MCP servers. [Explore all integrations →](https://insightfulpipe.com/mcp-servers)

## License

MIT License - see [LICENSE](LICENSE) for details.