How to connect Facebook to Claude Cowork

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Facebook logo
Claude Cowork logo
divider

Introduction

Cowork is Anthropic's AI agent for knowledge work. Think of it as Claude Code for everything else. It works autonomously with your computer, local files, and applications to accomplish complex tasks.

This guide walks you through the easiest and most secure way to connect your Facebook account to Cowork via Composio Connect, enabling it to post new product launch on our page, upload latest event photos to album, reply to comments on latest post, and more such actions on your behalf without compromising your account security.

Also integrate Facebook with

Connecting Facebook to Claude Cowork

1. Open Customize

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

2. Add the Composio MCP server

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

3. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Cowork

4. Connect your Facebook account

Back in Cowork, ask the agent to connect to Facebook or give it any Facebook-related task.

For example, ask Cowork to:

  • "Post new product launch on our page"
  • "Upload latest event photos to album"
  • "Reply to comments on latest post"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Cowork, and your Facebook account is ready to use.

What is Claude Cowork?

Claude Cowork is Anthropic's agent for general knowledge work. It can use your computer, files, and connected applications to complete longer-running tasks across your work tools.

With Composio Connect, Cowork can securely access apps like Facebook through MCP without you sharing account credentials directly with the agent.

What is the Facebook MCP server, and what's possible with it?

The Facebook MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Facebook Page account. It provides structured and secure access to your Facebook Pages, so your agent can perform actions like publishing posts, managing comments, uploading media, and handling page roles on your behalf.

  • Automated content publishing: Have your agent create new posts, photo posts, or video posts directly to your Facebook Page, keeping your audience engaged without manual effort.
  • Media management: Effortlessly upload photos to existing albums or create new albums for organized visual storytelling on your Page.
  • Interactive engagement: Let your agent add reactions, post comments, or reply to comments, fostering genuine interaction with your followers.
  • Page moderation and cleanup: Ask your agent to delete unwanted comments or posts, helping you keep your Facebook Page professional and on-brand.
  • Page team management: Assign tasks or roles to users for your Facebook Page, streamlining collaboration and access control.

Supported Tools & Triggers

Tools
Assign Page TaskAssigns tasks/roles to a business-scoped user or system user for a specific Facebook Page.
Create CommentCreates a comment on a Facebook post or replies to an existing comment.
Create Photo AlbumCreates a new photo album on a Facebook Page.
Create Photo PostCreates a photo post on a Facebook Page.
Create PostCreates a new text or link post on a Facebook Page.
Create Video PostCreates a video post on a Facebook Page.
Delete CommentDeletes a Facebook comment.
Delete PostPermanently deletes a Facebook Page post.
Get CommentRetrieves details of a specific Facebook comment.
Get CommentsRetrieves comments from a Facebook post or comment (for replies).
Get Conversation MessagesRetrieves messages from a specific conversation.
Get Current UserValidates the access token and retrieves the authenticated user's own profile via /me.
Get Message DetailsRetrieves details of a specific message sent or received by the Page.
Get Page ConversationsRetrieves a list of conversations between users and the Page.
Get Page DetailsFetches details about a specific Facebook Page.
Get Page InsightsRetrieves analytics and insights for a Facebook Page.
Get Page PhotosRetrieves photos from a Facebook Page.
Get Page PostsRetrieves posts from a Facebook Page.
Get Page RolesRetrieves a list of people and their tasks/roles on a Facebook Page.
Get Page Tagged PostsRetrieves posts where a Facebook Page is tagged or mentioned.
Get Page VideosRetrieves videos from a Facebook Page.
Get PostRetrieves details of a specific Facebook post.
Get Post InsightsRetrieves analytics and insights for a specific Facebook post.
Get Post ReactionsRetrieves reactions (like, love, wow, etc.
Get Scheduled PostsRetrieves scheduled and unpublished posts for a Facebook Page.
Add ReactionAdds a LIKE reaction to a Facebook post or comment.
List Managed PagesRetrieves a list of Facebook Pages that the user manages (not personal profiles), including page details, access tokens, and tasks.
Mark Message SeenMarks a user's message as seen by the Page, visibly updating the read status in the user's conversation.
Publish Scheduled PostPublishes a previously scheduled or unpublished Facebook post immediately.
Remove Page TaskRemoves a user's tasks/access from a specific Facebook Page.
Reschedule PostChanges the scheduled publish time of an unpublished Facebook post.
Send Media MessageSends a media message (image, video, audio, or file) from the Page to a user.
Send MessageSends a text message from a Facebook Page (not personal profiles) to a user via Messenger.
Toggle Typing IndicatorShows or hides the typing indicator for a user in Messenger.
Unlike Post or CommentRemoves a like from a Facebook post or comment.
Update CommentUpdates an existing Facebook comment.
Update Page SettingsUpdates settings for a specific Facebook Page.
Update PostUpdates an existing Facebook Page post.
Upload Photos BatchUploads multiple photo files in batch to a Facebook Page or Album.

How to build Facebook MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Facebook MCP?

With a standalone Facebook MCP server, the agents and LLMs can only access a fixed set of Facebook tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Facebook and many other apps based on the task at hand, all through a single MCP endpoint.

Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Facebook tools.

Can I manage the permissions and scopes for Facebook while using Tool Router?

Yes, absolutely. You can configure which Facebook scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Facebook data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.