Connect OpenClaw to SocialBu
-
In the Gateway Control UI, open Settings → MCP → Configured servers → Add server. Choose a unique name such as socialbu, select Streamable HTTP, paste the URL, and select Add server.
-
Set
auth: "oauth"on the entry in the scoped config editor. With the Gateway running, have an administrator select Sign in on the server row in Settings → MCP, or use the login command below. -
Complete sign-in as the SocialBu user whose accounts should be available. Run the doctor probe, then ask the agent to list the connected accounts before requesting a draft.
{
"mcp": {
"servers": {
"socialbu": {
"url": "https://socialbu.com/mcp",
"transport": "streamable-http",
"auth": "oauth"
}
}
}
}
openclaw mcp login socialbu
openclaw mcp doctor socialbu --probe
Requirements
Running OpenClaw Gateway and admin access for shared sign-in.
Use a SocialBu plan with MCP access and connect the social accounts you want to use.
Sign in from the Gateway or a direct chat
The Gateway receives the OAuth callback at <gateway.publicOrigin>/oauth/mcp/callback or at its loopback address. SocialBu accepts an HTTPS redirect or an HTTP loopback redirect. The login command needs a running Gateway because the receiving address belongs to that Gateway. If the browser is on another computer, its loopback address points back to that computer. Use the Gateway’s configured public origin when the callback needs to reach a remote Gateway.
You can also ask the agent to connect in a direct chat. It returns a sign-in link there, and shared sign-in links stay out of group chats. If a shared connection needs authorization again, repeat Sign in on the row or the CLI login while the Gateway is running. Treat the identity behind that sign-in as part of Gateway setup, especially if the agent serves several chat channels.
Turn a chat request into a reviewable draft
A useful chat brief contains the exact destination, the material to adapt, and the action to take. For a new opening-hours announcement, include the location, effective date, and exception for the holiday. Ask the agent to list matching accounts first, then save the copy as a draft. Have it return the draft ID and account name in the chat so the person reviewing it can find the right item without reconstructing the conversation.
When several people request drafts, use oauth.identity set to per-requester if each sender should use their own SocialBu account. It requires gateway.publicOrigin. Try an account lookup from two direct chats and verify that each sender sees the expected destinations. For an agency, that check is useful when two clients have similarly named Pages. For a business with multiple locations, include the branch name in each request.
Use a direct chat to resolve ambiguous requests
If a group request says “post this to our main account,” have the requester clarify the company and destination in a direct chat before saving anything. Ask the agent to echo the exact account name and the updated wording. When a requester returns to the group with a draft ID, other people can review the proposal in the chat while a person with access opens the corresponding SocialBu item. For a weekend campaign, give the agent the date as well as the weekday so it can check the intended weekend. An account lookup before the campaign and a read of the saved post after creation give you two checkpoints without relying on conversational memory.
What you can ask OpenClaw
Use list_accounts and show the account names for the two locations in this brief. Wait for me to pick one.
Check get_post_options for the selected Instagram account before I decide how to use the campaign photo.
Save these holiday hours as a Facebook Page draft with create_post. Return the draft ID and page name.
Use list_posts to find scheduled announcements for the selected location next week. Leave the schedule alone.
Read the draft back with get_post and show the text and account so I can confirm the handoff.
Use update_post on the draft ID I gave you to correct the holiday date. Keep it a draft and show me the saved wording.
Permissions and safety
Choose the OAuth identity before deciding who can use the Gateway’s social workflow. The account list is scoped to the authenticated SocialBu user, including destinations shared through teams. In any chat where other people can give the agent instructions, confirm the intended identity and account before allowing a write. Ask for post_type set to draft explicitly. If team review applies, use an awaiting-approval post and have someone with SocialBu approval permission review it. Keep the post ID in the handoff so the reviewer can check the saved copy and destination.
Troubleshooting
If the Gateway reports a transport error, reopen the server configuration and check transport and auth. The transport is streamable-http. SocialBu rejects the legacy SSE stream. If the sign-in screen opens but the login fails to finish, check the callback origin and whether the browser can reach the running Gateway. If a group request yields no sign-in card, move connection setup into a direct chat or use the administrator flow.
If the doctor probe works and the agent lists the wrong accounts, diagnose identity before editing the server URL. Confirm who signed in and whether per-requester identity is configured. Then ask for list_accounts again from the chat where the workflow will run. If the account appears but a publishing option is missing, ask for get_post_options for that exact destination and adjust the brief to the available options.
Supported social networks
OpenClaw integration FAQ
Can everyone in a group chat sign in from the same link?
Shared sign-in links stay out of group chats. Start the connection from a direct chat or use the Gateway’s administrator sign-in flow.
What does per-requester identity change?
It gives each sender their own OAuth identity for the server and requires a configured gateway.publicOrigin.
Does the login command start the Gateway?
Run it while the Gateway is already running so it can receive the OAuth callback.
How can I see if a draft is already live?
Ask for get_post by ID and look for published status. A queued request is still in progress.
Can I use an account that someone on my team shared?
list_accounts includes team-shared destinations accessible to the SocialBu identity that authorized OpenClaw.
More integrations
Try SocialBu with OpenClaw
Cancel anytime. Free for 7 days.