Facebook
A Facebook MCP server for your Page's posts, Reels and comments
Publit.Si's MCP server lets Claude Code, Codex, Cursor or OpenCode plan your Facebook Page from your own computer: drafts in four formats, link cards and first comments, the Page's numbers and the comments under its posts. You approve each draft before your own computer posts it.
What your agent does for Facebook
- Drafts posts for your Facebook Page in four formats:
post(text, a link or up to 10 photos),reel(one portrait video, 3–90 s),video(up to 20 minutes) andstory. - Fills Facebook's own fields:
linkfor the preview card under a text post,titlefor a video, andfirstCommentfor posts, Reels and videos. - Sends one backlog video to your Page and to Instagram in one
create_draft, each account with its own text and format. - Reads the numbers of your Page's posts and its growth per day. Facebook Stories have no numbers.
- Reads the comments under your Page's posts, unanswered first.[3]
The tools for Facebook
| Tool | What it does for Facebook |
|---|---|
list_backlog | Folders still missing on your Page (missingOn=FACEBOOK), oldest first. |
get_platform_rules | Formats post, reel, video and story, the text rules (63,206 characters; about 120 show before ‘See more’) and the fields link, title and firstComment. |
list_accounts | Your Facebook Pages with their ids. |
get_posting_slots | Free posting times per Page for the coming days. |
create_draft | A Page draft; the same call can add Instagram and Threads accounts, each with its own text, format and fields. |
list_blog_posts | Your blog's posts with their live address, for a link post that shares a new article. |
get_post_performance | Numbers per Page post with score and rating against the Page's median, and the best times. |
get_account_growth | New followers, views, likes and comments per day for the Page. |
list_comments | Comments under your Page's posts with the post and any replies, unanswered first. |
Set it up
- Connect your Facebook Page under Accounts in Publit.Si. It uses the Meta app you set up for Instagram, with the Pages permissions added.[2]
- Connect Publit.Si's MCP server once in your agent with the lines below. Publit.Si → Settings → MCP for Claude Code, Codex, Cursor & OpenCode shows them with your real path.
- Cursor: Publit.Si → Settings → MCP for Claude Code, Codex, Cursor & OpenCode shows the block for ~/.cursor/mcp.json with your real path. Paste it there.
- Ask your agent “List my Publit.Si projects”. It calls
list_projectsand names your projects.
claude mcp add --scope user publitsi -- pnpm --silent --dir "$(pwd)" mcpclaude mcp add --scope user publitsi -- cmd /c pnpm --silent --dir "$PWD" mcp[mcp_servers.publitsi]
command = "pnpm"
args = ["--silent", "--dir", "/path/to/publitsi", "mcp"]{
"mcp": {
"publitsi": { "type": "local", "command": ["pnpm", "--silent", "--dir", "/path/to/publitsi", "mcp"], "enabled": true }
}
}Example prompts
- “Draft this week's backlog videos for my Facebook Page as Reels, with a link in the first comment.” →
list_backlogwithmissingOn=FACEBOOK,get_platform_rulesfor FACEBOOK, then onecreate_draftper folder withformat: "reel",fields.firstCommentandbacklogItem. - “Share my newest blog article on my Page with a preview card.” →
list_blog_postsfor the article's live address, thencreate_draftwithformat: "post"andfields.link. - “What did people ask under my Page posts this week?” →
list_commentswith the Page'saccountId, then a list of the questions with the post each one belongs to.
Limits
- It never publishes.
create_draftandupdate_draftonly make drafts, and you approve each one under Queue › Review. The MCP server your coding agent connects to has no tool that schedules or publishes.[1] - Publit.Si posts to Facebook Pages, not to personal profiles.[2]
- Meta's Reels API publishes at most 30 Reels per Page in 24 hours, and a Reel must be 3 to 90 seconds long.[4][5]
- Reading comments needs
pages_read_user_content, replyingpages_manage_engagement. You answer in Publit.Si's Comments inbox.[3]
Questions
Can the agent post to Facebook on its own?
No. It creates drafts, and you approve each one under Queue › Review. Then your own computer posts it to your Page through Meta's API.
Does it work with a personal Facebook profile?
No. Publit.Si posts to Facebook Pages, not to personal profiles.
Can one draft go to Facebook and Instagram?
Yes. create_draft takes several accounts, and each gets its own text, format and fields.
Related
Sources
- [1] Publit.Si docs: MCP tools: publit.si/docs/guide/mcp
- [2] Publit.Si docs: Connect Facebook: publit.si/docs/platforms/facebook
- [3] Publit.Si docs: Comments inbox: publit.si/docs/guide/comments
- [4] Meta: Reels Publishing API: https://developers.facebook.com/docs/video-api/guides/reels-publishing, checked November 17, 2026
„Reels API is limited to 30 API-published posts within a 24-hour moving period.“
- [5] Meta: Reels Publishing API: https://developers.facebook.com/docs/video-api/guides/reels-publishing, checked November 17, 2026
„Reels duration must be between 3 and 90 seconds.“