Using sfeed with Codex

Use this page when you want Codex to call sfeed through MCP. The flow is short: install sfeed, connect your accounts, expose the MCP server, then let Codex use the tools.

1. Install and authenticate

curl -fsSL https://sfeed.dev/install.sh | sh
sfeed auth facebook

2. Add sfeed to Codex MCP config

{
  "mcpServers": {
    "sfeed": {
      "command": "sfeed",
      "args": ["mcp"]
    }
  }
}

3. First prompt to try

Check my sfeed status. If I have more than one connected page, list them. Then draft a Facebook post that says "Shipping v0.1.2 today." and ask me to confirm before posting.

4. Demo script you can record

1. Open Codex in a repo
2. Ask it to call sfeed_status
3. Ask it to call sfeed_pages if needed
4. Give it a short post request
5. Approve the draft
6. Let it call sfeed_post
7. Show the returned URL

Good Codex prompts

Use sfeed to post "Release notes are live" to Facebook on page_id "112233445566778".

Use sfeed to post the local image ./assets/launch-card.jpg to Instagram with the caption "Launch day. v0.1.2 is live."

Use sfeed to schedule "Standup starts in 30 minutes" for 2026-04-06T13:00:00Z on page_id "112233445566778".

Open the Cookbook

Back to Docs