OmniSocialsOmniSocials
DocumentationAPI reference
Help centerSupport
  • Documentation
  • API reference
Developers
  • Quickstart
  • API reference
  • SDKs
  • MCP server
  • CLI
For AI agents
  • Docs for AI agents
  • llms.txt
  • OpenAPI spec
  • Postman collection
Product
  • OmniSocials
  • Pricing
  • Changelog
  • Help center
Company
  • Support
  • Privacy policy
  • Terms of service

© 2026 OmniSocials

OmniSocials on GitHubOmniSocials on XOmniSocials on LinkedIn
Overview
Get started
SDKs
CLI
MCPDocs for AI agentsWebhooks
Guides
Platforms
Integrations
    OverviewClaudeChatGPTGrokMuseNotionOpenClawn8nMakeZapierAgent frameworksAgent Skills
Connect
Migrate
Plans and billing
GlossaryChangelogAPI reference
Integrations

Post to social media from OpenClaw

OpenClaw is a personal AI assistant with native MCP support. Connect OmniSocials to the remote MCP server with an API key or with OAuth, or run the npm package locally.

OmniSocials' remote server speaks Streamable HTTP only. OpenClaw uses SSE when a server has no transport, so always set "transport": "streamable-http".

Option 1: Remote server with an API key (recommended)

  1. Create an API key in OmniSocials (Settings → API).
  2. Put the key in OpenClaw's env file, so it never sits in the config:
TerminalTerminal
echo 'OMNISOCIALS_API_KEY=omsk_live_<YOUR_KEY>' >> ~/.openclaw/.env
  1. Stop the Gateway (the CLI edits saved servers only while it is stopped), add the server, probe it and start again:
TerminalTerminal
openclaw gateway stop openclaw mcp set omnisocials '{"url":"https://mcp.omnisocials.com","transport":"streamable-http","headers":{"Authorization":"Bearer ${OMNISOCIALS_API_KEY}"}}' openclaw mcp doctor omnisocials --probe openclaw gateway start

The same server in ~/.openclaw/openclaw.json, under mcp.servers:

JSON
{ mcp: { servers: { omnisocials: { url: "https://mcp.omnisocials.com", transport: "streamable-http", headers: { Authorization: "Bearer ${OMNISOCIALS_API_KEY}" }, }, }, }, }

You can also add it in the Control UI: Settings → MCP → Add server, Streamable HTTP, the URL above.

Option 2: Remote server with OAuth

TerminalTerminal
openclaw gateway stop openclaw mcp add omnisocials --url https://mcp.omnisocials.com --transport streamable-http --auth oauth openclaw mcp login omnisocials openclaw gateway start

The login opens OmniSocials in your browser: pick the workspaces OpenClaw may use and click Allow access.

Option 3: npm package (local)

Runs the MCP server as a subprocess. The npm package has fewer tools than the remote server.

JSON
{ mcp: { servers: { omnisocials: { command: "npx", args: ["-y", "@omnisocials/mcp-server"], env: { OMNISOCIALS_API_KEY: "omsk_live_<YOUR_KEY>" }, }, }, }, }

Verifying

Ask OpenClaw:

List my connected social accounts on OmniSocials

If OpenClaw responds with your accounts, the integration is working. If it errors, check the OpenClaw gateway logs. The error usually points at a missing config field or an invalid API key.

Answer your DMs on a schedule

OpenClaw can answer your Instagram and Facebook DMs for you, in your voice, every hour, with an automation (OpenClaw's built-in scheduler).

  1. Save the instructions below in a file, for example ~/.openclaw/answer-dms.txt, and describe your voice.
  2. Create the automation:
TerminalTerminal
openclaw automations create "every 1h" "$(cat ~/.openclaw/answer-dms.txt)" --name "Answer DMs" --session isolated
  1. Keep the Gateway running: automations run inside it.
  2. Check that the first run sent replies. A scheduled run has nobody present to approve: if OpenClaw asks for an approval during the run, allow it for this automation (Always allow), or the run waits.
Text
Use OmniSocials to answer my unanswered Instagram and Facebook DMs. Take the next DM that needs an answer and read the whole conversation. Write a reply in my voice and send it. Then go to the next DM. Keep going until no DM is waiting. My voice: [describe it, for example: warm, short, friendly, I sign off with my first name]. Write like my earlier replies in the conversation. If someone asks for something you do not know (a price, an address, a time to meet), do not guess. Skip that DM and list it at the end. If OmniSocials says the 24-hour reply window has closed, skip that DM. At the end, give me a short list of who you answered and what you said.

Meta lets you reply to a DM only within 24 hours of the person's last message, so an hourly run answers in time.

Good to know:

  • OpenClaw takes one DM at a time with get_next_unanswered and answers it with reply_to_inbox. A DM you already answered in the Instagram or Facebook app counts as answered, so nobody gets two replies.
  • A DM that OpenClaw skips stays unread, so the next run lists it again until you answer it.
  • OpenClaw takes the DMs that are unread in OmniSocials. A DM you opened in the OmniSocials inbox and did not answer counts as read. To answer those too, add "Also answer DMs I have read but not answered."
  • For the first days, read the list at the end of each run. Where a reply does not sound like you, add that to the voice line.
  • To answer comments too, write "DMs and comments" in the first line.
Last modified on December 1, 2026
Notionn8n
On this page
  • Option 1: Remote server with an API key (recommended)
  • Option 2: Remote server with OAuth
  • Option 3: npm package (local)
  • Verifying
  • Answer your DMs on a schedule