Connect OpenCode to SocialBu

  1. Run opencode mcp add socialbu with the URL as shown below. Add --global if the connection should be available across projects. You can also use the remote JSON entry.
  2. Run opencode mcp list to inspect the connection. If it needs authentication, run /mcps in OpenCode, select SocialBu and sign in, or use opencode mcp auth socialbu.
  3. After consent, ask for your connected accounts in an OpenCode session. Select the destination for the current repository’s announcement.
OpenCode configuration
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "socialbu": {
        "type": "remote",
        "url": "https://socialbu.com/mcp"
      }
    }
  }
}
OpenCode CLI
opencode mcp add socialbu --url "https://socialbu.com/mcp"
opencode mcp list
opencode mcp auth socialbu

Official setup docs · SocialBu MCP server

Requirements

OpenCode with remote OAuth support and browser sign-in.

Use a SocialBu plan with MCP access and connect the social accounts you want to use.

Decide which projects should see the connector

OpenCode supports project and global MCP registration. A project setup keeps the integration with the work that needs it, while the global command makes SocialBu available across projects. In the JSON example the server is remote, and remote entries use OAuth by default. Merge it into the existing configuration and keep any other servers. The file contains the endpoint and server type. The OAuth flow grants access through SocialBu browser consent.

Use opencode mcp list to distinguish whether OpenCode knows about the server from whether the server needs authentication. If you used the wrong SocialBu identity, opencode mcp logout socialbu ends the current sign-in. Authorize again and check the returned accounts. When switching repositories, still choose the exact destination for each task. A global server setup does not associate a repository name with a SocialBu account.

Use the repository context to make a specific release draft

Ask OpenCode to start from a small set of files or notes you identify. For example, take a version summary and public documentation and ask for a post about the change most users will notice. If the release depends on a migration, ask for the relevant upgrade link and a clear sentence about who needs to act. Review the copy against those sources before you let it save the draft.

Ask OpenCode to show the account and post type when preparing the call. Have it return the draft ID after the write. If you continue in another session, use that ID to read the exact saved version rather than drafting it again. Before scheduling, check for launch-day posts already on the chosen account and agree on the timezone. Ask OpenCode to read back the resulting status.

Use project scope to keep launch handoffs clear

If you maintain several repositories for the same business, write down which release note belongs to which product and list the SocialBu destinations you expect to see. OpenCode can use a global connector for all of them, so the name of a checkout by itself is a poor substitute for the account ID. In a project-specific session, attach the public change summary and request an account lookup before the draft. For a late fix, supply the draft ID and the single change you want. Use the before and after text in the session to check that the fix did not alter the rest of the announcement.

What you can ask OpenCode

Use list_accounts to find the organization Page connected for this project’s release.

Use list_posts to check that Page for launch-week posts and explain where the new release might fit.

Use create_post with post type draft for a LinkedIn announcement based on this version summary. Return its ID.

Use get_post to compare the saved draft to the public migration notes and flag mismatched links.

Use get_post_options for the second destination before suggesting a post format for the demo.

Use update_post on this draft ID to replace the old version number. Keep it a draft and read back the revised first line.

Permissions and safety

Make your first OpenCode request an account lookup or a schedule check. When the text is ready, grant the specific draft action you intend and request post_type: draft. A global connection makes the tool available in more contexts, so confirm the account separately each time. SocialBu checks the signed-in user’s permissions. If your team reviews launches, ask for an awaiting-approval post for the selected account and have a teammate with approval permission check it in SocialBu.

Troubleshooting

If SocialBu is missing, use opencode mcp list and check whether you added it to the current project or globally. If the server is present and needs authentication, choose it in /mcps or run the auth command. If tools work but the account list is wrong, sign out through the logout command, then sign back in using the intended SocialBu identity. If a draft already exists and your last operation timed out, read it by ID or inspect the draft list before creating another.

OpenCode integration FAQ

When should I add SocialBu globally?

Use --global when multiple projects need access to the same integration from OpenCode.

How do I see whether OAuth is required?

Use opencode mcp list and look for the state of the SocialBu server.

Can I sign in interactively?

Yes. Run /mcps in OpenCode, select SocialBu, then follow sign-in.

How do I change the SocialBu user?

Run opencode mcp logout socialbu, then authorize again and verify the visible accounts.

How can I verify the draft outside the terminal?

Keep the post ID from the create call and use it to look up the saved item in SocialBu.

More integrations

Try SocialBu with OpenCode

Cancel anytime. Free for 7 days.