Facebook Messenger MCP server

Connect Facebook Messenger to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Facebook Messenger MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the get user profile tool in Facebook Messenger
  • Use the manage messenger profile tool in Facebook Messenger
  • Use the manage thread handover tool in Facebook Messenger
  • Use the send message tool in Facebook Messenger
  • Use the send template tool in Facebook Messenger
  • Use the send sender action tool in Facebook Messenger

Supported Tools

get_user_profile

Get User Profile

Retrieve profile information for a Messenger user who has interacted with your Page. Returns the name and profile picture by default; locale, timezone, and gender can be requested when the Page has the matching permissions.

manage_messenger_profile

Manage Messenger Profile

Configure the Messenger experience for your Page. Set or update the **Get Started** button, **greeting text**, **persistent menu**, **ice breakers**, and **whitelisted domains**. Provide only the fields you want to update — unspecified fields remain unchanged. Use the **delete** action to remove specific profile settings.

manage_thread_handover

Manage Thread Handover

Control and inspect which app owns a Messenger conversation (Conversation Routing). **Pass** thread control to another app, **take** thread control, **request** control from the current owner, **release** control back to idle, **extend** the control period, get the current thread owner, or list secondary receiver apps.

send_message

Send Message

Send a text message or media attachment to a Messenger user. Supports plain text with optional quick reply buttons, media attachments (images, videos, audio, files) via URL or reusable attachment ID, multiple images, and replies to a specific earlier message. Use **messagingType** and **tag** to send a human agent reply outside the 24-hour messaging window.

send_template

Send Template

Send a structured message template to a Messenger user. Supports **Generic** (carousel), **Button**, **Media**, and **Receipt** templates. Choose the appropriate templateType and provide the corresponding fields.

send_sender_action

Send Sender Action

Display a typing indicator, mark a conversation as read, or react to a message in a Messenger conversation. Use **typing_on** to show a typing bubble, **typing_off** to hide it, **mark_seen** to show a read receipt, **react** to add or change the Page's emoji reaction on a message, and **unreact** to remove it.

get_page

Get Connected Page

Get the Facebook Page this Messenger connection sends as: its Page ID, name, link, and picture.

list_conversations

List Conversations

List the Page's Messenger conversations with each participant's Page-scoped ID (PSID). Optionally find the conversation with one person by their PSID.

list_conversation_messages

List Conversation Messages

List messages in a Messenger conversation, newest first, with sender, recipients, text, reply target, and attachment details.

upload_attachment

Upload Attachment

Upload an image, video, audio file, or file URL to Messenger and receive a reusable attachment ID for later Send API calls.

Connect Facebook Messenger to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Facebook Messenger in Metorial. In your Metorial portal, enable the Facebook Messenger MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Facebook Messenger tools.

Run Facebook Messenger through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Facebook Messenger and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Facebook Messenger tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Facebook Messenger

Slack

Slack: connect with bot OAuth or user OAuth to work with messages, conversations, search, files, Canvases, Lists, profiles, reactions, reminders, and workspace productivity settings.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Apolloio

Search and prospect B2B contacts and companies from a database of over 275 million people and 70 million organizations. Enrich people and company data with emails, phone numbers, and firmographic details. Create and manage contacts, accounts, deals, and tasks. Add contacts to email sequences and manage sequence statuses. Log and search call records. Perform bulk operations for contact creation, account creation, task creation, and data enrichment.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Hubspot

Create, read, update, and delete CRM objects including contacts, companies, deals, tickets, and custom objects. Manage associations between CRM records. Track engagements such as calls, emails, meetings, notes, and tasks. Send transactional and marketing emails, manage campaigns, and handle subscription preferences. Build and manage marketing workflows, sequences, and automation actions. Manage CMS content including blog posts, landing pages, and HubDB tables. Handle commerce data including products, orders, invoices, quotes, and payments. Create and manage contact lists for segmentation. Configure deal, ticket, and order pipelines with custom stages. Search and filter CRM records. Bulk import and export CRM data. Manage users, teams, and account settings.

Technical notes for Facebook Messenger

Send and receive messages between Facebook Pages and users through Messenger. List conversations and read recent messages. Create rich message templates including carousels, buttons, receipts, and media. Upload reusable media attachments for later sends. Manage Messenger profile settings such as greeting text, persistent menus, get started buttons, account linking, and ice breakers. Retrieve user profile information. Display typing indicators, read receipts, and reactions. Handle and inspect conversation handover between bots and live agents. Supports the 24-hour standard messaging window and the human agent tag for later replies.

Frequently asked questions

Common questions about connecting Facebook Messenger to AI agents with Metorial.

  1. How many tools does the Facebook Messenger MCP server have?
    The Facebook Messenger MCP server exposes 10 tools, including Get User Profile, Manage Messenger Profile, Manage Thread Handover. Each one is governed and traced through Metorial.
  2. Facebook Messenger exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Facebook Messenger MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Facebook Messenger and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Facebook Messenger MCP server yourself or use the hosted gateway.

Connect Facebook Messenger to production AI agents

See how Metorial gives your team governed access to Facebook Messenger, with tracing and security controls built in.