# PubNio MCP for Facebook Pages

Human page: https://pubnio.com/facebook-mcp
API reference page: https://pubnio.com/platforms/facebook.md
Hosted MCP URL: https://pubnio.com/mcp

## Summary

Connect your AI agent to https://pubnio.com/mcp over OAuth to publish Facebook Page Feed posts, Reels, and Stories without managing Meta Graph tokens directly. Agents draft, preflight-validate, schedule, and verify confirmed delivery outcomes across unlimited Pages at $0 per account.

PubNio operates this third-party MCP service. Availability depends on platform approval and account permissions.

## Quick setup

```sh
claude mcp add --transport http pubnio https://pubnio.com/mcp
codex mcp add pubnio --url https://pubnio.com/mcp && codex mcp login pubnio
```

## Example agent prompts

- "Draft a Facebook Page feed announcement from docs/changelog.md, validate it with PubNio, and schedule it into our next weekly queue slot."
- "Import https://cdn.example.com/demo.mp4 into PubNio and publish it as a Facebook Page Reel with a concise launch caption."
- "Check the delivery status and 7-day analytics for our last Facebook Page post."

## Expected Code Mode flow

```text
search   -> find account and post operations
execute  -> list ready Facebook accounts => { accounts: [{ id: "acc_fb_01", readiness: "ready" }] }
execute  -> create Reel post { text } => { postId: "pst_01j9..." }
execute  -> read post until settled => { status: "published" }
```

## FAQs

### How do I connect a Facebook Page to Claude Code or Codex?

Connect your Facebook Page once in the PubNio workspace, then add https://pubnio.com/mcp to Claude Code, Codex, Cursor, or OpenCode and sign in via browser OAuth.

### Can an agent post to Facebook and Instagram at the same time?

Yes. A single PubNio draft can target both your Facebook Page and Instagram account, with independent per-target status tracking.
